@abgov/react-components 4.0.0-alpha.32 → 4.0.0-alpha.35

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.
@@ -1509,7 +1509,7 @@
1509
1509
  }
1510
1510
 
1511
1511
  };
1512
- } // (41:2) {#if showIcon}
1512
+ } // (40:2) {#if showIcon}
1513
1513
 
1514
1514
 
1515
1515
  function create_if_block_1$b(ctx) {
@@ -1542,7 +1542,7 @@
1542
1542
  }
1543
1543
 
1544
1544
  };
1545
- } // (46:2) {#if content}
1545
+ } // (45:2) {#if content}
1546
1546
 
1547
1547
 
1548
1548
  function create_if_block$i(ctx) {
@@ -1730,10 +1730,9 @@
1730
1730
  1) {
1731
1731
  $$invalidate(4, iconType = {
1732
1732
  success: "checkmark-circle",
1733
- warning: "alert-circle",
1733
+ important: "alert-circle",
1734
1734
  information: "information-circle",
1735
1735
  emergency: "warning",
1736
- inactive: "information-circle",
1737
1736
  dark: "information-circle",
1738
1737
  midtone: "information-circle",
1739
1738
  light: "information-circle"
@@ -1747,7 +1746,7 @@
1747
1746
  class Badge extends SvelteElement {
1748
1747
  constructor(options) {
1749
1748
  super();
1750
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
1749
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
1751
1750
  init(this, {
1752
1751
  target: this.shadowRoot,
1753
1752
  props: attribute_to_object(this.attributes),
@@ -2172,7 +2171,7 @@
2172
2171
  let isButtonDark;
2173
2172
  const BUTTON_TYPES = ["primary", "secondary", "tertiary", "start"];
2174
2173
  const SIZES = ["", "compact"];
2175
- const VARIANTS = ["", "danger"]; // type check functions
2174
+ const VARIANTS = ["", "destructive"]; // type check functions
2176
2175
 
2177
2176
  function isButtonType(value) {
2178
2177
  return BUTTON_TYPES.includes(value);
@@ -2256,7 +2255,7 @@
2256
2255
  constructor(options) {
2257
2256
  super();
2258
2257
  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,
2259
- border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`;
2258
+ border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.destructive{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.destructive:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.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>`;
2260
2259
  init(this, {
2261
2260
  target: this.shadowRoot,
2262
2261
  props: attribute_to_object(this.attributes),
@@ -4013,7 +4012,7 @@
4013
4012
  ctx[1]);
4014
4013
  attr(div2, "class", "content");
4015
4014
  attr(div3, "class", div3_class_value = `
4016
- goa-container
4015
+ goa-container
4017
4016
  goa-container--${
4018
4017
  /*variant*/
4019
4018
  ctx[0]}
@@ -4048,7 +4047,7 @@
4048
4047
  if (dirty &
4049
4048
  /*variant, padding*/
4050
4049
  5 && div3_class_value !== (div3_class_value = `
4051
- goa-container
4050
+ goa-container
4052
4051
  goa-container--${
4053
4052
  /*variant*/
4054
4053
  ctx[0]}
@@ -4082,7 +4081,7 @@
4082
4081
  let _colored;
4083
4082
 
4084
4083
  let {
4085
- variant = 'default'
4084
+ variant = 'non-interactive'
4086
4085
  } = $$props;
4087
4086
  let {
4088
4087
  colored = "false"
@@ -4115,7 +4114,7 @@
4115
4114
  class Container extends SvelteElement {
4116
4115
  constructor(options) {
4117
4116
  super();
4118
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--warning.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>`;
4117
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--non-interactive.colored .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.colored .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.colored .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.colored .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.colored .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title>*,.actions>*{line-height:3rem}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>`;
4119
4118
  init(this, {
4120
4119
  target: this.shadowRoot,
4121
4120
  props: attribute_to_object(this.attributes),
@@ -4291,10 +4290,10 @@
4291
4290
 
4292
4291
  function get_each_context$4(ctx, list, i) {
4293
4292
  const child_ctx = ctx.slice();
4294
- child_ctx[35] = list[i];
4295
- child_ctx[37] = i;
4293
+ child_ctx[36] = list[i];
4294
+ child_ctx[38] = i;
4296
4295
  return child_ctx;
4297
- } // (179:2) {#if isMenuVisible}
4296
+ } // (180:2) {#if isMenuVisible}
4298
4297
 
4299
4298
 
4300
4299
  function create_if_block$d(ctx) {
@@ -4317,7 +4316,7 @@
4317
4316
  if (!mounted) {
4318
4317
  dispose = listen(div, "click",
4319
4318
  /*closeMenu*/
4320
- ctx[17]);
4319
+ ctx[18]);
4321
4320
  mounted = true;
4322
4321
  }
4323
4322
  },
@@ -4339,16 +4338,17 @@
4339
4338
  }
4340
4339
 
4341
4340
  };
4342
- } // (215:4) {#each options as option, index (option.value)}
4341
+ } // (216:4) {#each options as option, index (option.value)}
4343
4342
 
4344
4343
 
4345
4344
  function create_each_block$4(key_1, ctx) {
4346
4345
  let li;
4347
4346
  let t0_value =
4348
4347
  /*option*/
4349
- ctx[35].label + "";
4348
+ ctx[36].label + "";
4350
4349
  let t0;
4351
4350
  let t1;
4351
+ let li_aria_label_value;
4352
4352
  let li_data_testid_value;
4353
4353
  let li_data_index_value;
4354
4354
  let li_style_value;
@@ -4358,9 +4358,9 @@
4358
4358
  function click_handler() {
4359
4359
  return (
4360
4360
  /*click_handler*/
4361
- ctx[21](
4361
+ ctx[22](
4362
4362
  /*option*/
4363
- ctx[35])
4363
+ ctx[36])
4364
4364
  );
4365
4365
  }
4366
4366
 
@@ -4372,25 +4372,30 @@
4372
4372
  li = element("li");
4373
4373
  t0 = text(t0_value);
4374
4374
  t1 = space();
4375
+ attr(li, "aria-label", li_aria_label_value =
4376
+ /*option*/
4377
+ ctx[36].label ||
4378
+ /*option*/
4379
+ ctx[36].value);
4375
4380
  attr(li, "data-testid", li_data_testid_value = `${
4376
4381
  /*option*/
4377
- ctx[35].value}-dropdown-item`);
4382
+ ctx[36].value}-dropdown-item`);
4378
4383
  attr(li, "data-index", li_data_index_value =
4379
4384
  /*index*/
4380
- ctx[37]);
4385
+ ctx[38]);
4381
4386
  attr(li, "class", "goa-dropdown-option");
4382
4387
  attr(li, "style", li_style_value = `display: ${"block"}`);
4383
4388
  toggle_class(li, "goa-dropdown-option--disabled", false);
4384
4389
  toggle_class(li, "goa-dropdown-option--tabbed",
4385
4390
  /*index*/
4386
- ctx[37] ===
4391
+ ctx[38] ===
4387
4392
  /*highlightedIndex*/
4388
- ctx[12]);
4393
+ ctx[13]);
4389
4394
  toggle_class(li, "goa-dropdown-option--selected",
4390
4395
  /*_values*/
4391
- ctx[8].includes(
4396
+ ctx[9].includes(
4392
4397
  /*option*/
4393
- ctx[35].value));
4398
+ ctx[36].value));
4394
4399
  this.first = li;
4395
4400
  },
4396
4401
 
@@ -4409,44 +4414,54 @@
4409
4414
  ctx = new_ctx;
4410
4415
  if (dirty[0] &
4411
4416
  /*options*/
4412
- 512 && t0_value !== (t0_value =
4417
+ 1024 && t0_value !== (t0_value =
4413
4418
  /*option*/
4414
- ctx[35].label + "")) set_data(t0, t0_value);
4419
+ ctx[36].label + "")) set_data(t0, t0_value);
4415
4420
 
4416
4421
  if (dirty[0] &
4417
4422
  /*options*/
4418
- 512 && li_data_testid_value !== (li_data_testid_value = `${
4423
+ 1024 && li_aria_label_value !== (li_aria_label_value =
4424
+ /*option*/
4425
+ ctx[36].label ||
4426
+ /*option*/
4427
+ ctx[36].value)) {
4428
+ attr(li, "aria-label", li_aria_label_value);
4429
+ }
4430
+
4431
+ if (dirty[0] &
4432
+ /*options*/
4433
+ 1024 && li_data_testid_value !== (li_data_testid_value = `${
4419
4434
  /*option*/
4420
- ctx[35].value}-dropdown-item`)) {
4435
+ ctx[36].value}-dropdown-item`)) {
4421
4436
  attr(li, "data-testid", li_data_testid_value);
4422
4437
  }
4423
4438
 
4424
4439
  if (dirty[0] &
4425
4440
  /*options*/
4426
- 512 && li_data_index_value !== (li_data_index_value =
4441
+ 1024 && li_data_index_value !== (li_data_index_value =
4427
4442
  /*index*/
4428
- ctx[37])) {
4443
+ ctx[38])) {
4429
4444
  attr(li, "data-index", li_data_index_value);
4430
4445
  }
4431
4446
 
4432
4447
  if (dirty[0] &
4433
4448
  /*options, highlightedIndex*/
4434
- 4608) {
4449
+ 9216) {
4435
4450
  toggle_class(li, "goa-dropdown-option--tabbed",
4436
4451
  /*index*/
4437
- ctx[37] ===
4452
+ ctx[38] ===
4438
4453
  /*highlightedIndex*/
4439
- ctx[12]);
4454
+ ctx[13]);
4440
4455
  }
4441
4456
 
4442
4457
  if (dirty[0] &
4443
4458
  /*_values, options*/
4444
- 768) {
4459
+ 1536) {
4445
4460
  toggle_class(li, "goa-dropdown-option--selected",
4446
4461
  /*_values*/
4447
- ctx[8].includes(
4462
+ ctx[9].includes(
4448
4463
  /*option*/
4449
- ctx[35].value));
4464
+ ctx[36].value));
4450
4465
  }
4451
4466
  },
4452
4467
 
@@ -4465,6 +4480,7 @@
4465
4480
  let div0;
4466
4481
  let goa_input;
4467
4482
  let goa_input_id_value;
4483
+ let goa_input_aria_label_value;
4468
4484
  let div0_data_testid_value;
4469
4485
  let t1;
4470
4486
  let ul;
@@ -4478,14 +4494,14 @@
4478
4494
  let dispose;
4479
4495
  let if_block =
4480
4496
  /*isMenuVisible*/
4481
- ctx[11] && create_if_block$d(ctx);
4497
+ ctx[12] && create_if_block$d(ctx);
4482
4498
  let each_value =
4483
4499
  /*options*/
4484
- ctx[9];
4500
+ ctx[10];
4485
4501
 
4486
4502
  const get_key = ctx =>
4487
4503
  /*option*/
4488
- ctx[35].value;
4504
+ ctx[36].value;
4489
4505
 
4490
4506
  for (let i = 0; i < each_value.length; i += 1) {
4491
4507
  let child_ctx = get_each_context$4(ctx, each_value, i);
@@ -4512,27 +4528,31 @@
4512
4528
  this.c = noop;
4513
4529
  set_custom_element_data(goa_input, "error",
4514
4530
  /*error*/
4515
- ctx[7]);
4531
+ ctx[8]);
4516
4532
  set_custom_element_data(goa_input, "disabled",
4517
4533
  /*disabled*/
4518
- ctx[6]);
4534
+ ctx[7]);
4519
4535
  set_custom_element_data(goa_input, "leadingicon",
4520
4536
  /*leadingicon*/
4521
- ctx[1]);
4537
+ ctx[2]);
4522
4538
  set_custom_element_data(goa_input, "placeholder",
4523
4539
  /*placeholder*/
4524
- ctx[3]);
4540
+ ctx[4]);
4525
4541
  set_custom_element_data(goa_input, "width", "100%");
4526
4542
  set_custom_element_data(goa_input, "id", goa_input_id_value = `${
4527
4543
  /*name*/
4528
4544
  ctx[0]}-dropdown-input`);
4529
- set_custom_element_data(goa_input, "name", "search");
4545
+ set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value =
4546
+ /*arialabel*/
4547
+ ctx[1] ||
4548
+ /*name*/
4549
+ ctx[0]);
4530
4550
  set_custom_element_data(goa_input, "readonly", "");
4531
4551
  set_custom_element_data(goa_input, "trailingicon", "chevron-down");
4532
4552
  set_custom_element_data(goa_input, "type", "text");
4533
4553
  set_custom_element_data(goa_input, "value",
4534
4554
  /*selectedLabel*/
4535
- ctx[10]);
4555
+ ctx[11]);
4536
4556
  attr(div0, "data-testid", div0_data_testid_value = `${
4537
4557
  /*name*/
4538
4558
  ctx[0]}-dropdown`);
@@ -4541,19 +4561,19 @@
4541
4561
  attr(ul, "class", "goa-dropdown-list");
4542
4562
  attr(ul, "style", ul_style_value = `overflow-y: auto; max-height: ${
4543
4563
  /*maxheight*/
4544
- ctx[2]}`);
4564
+ ctx[3]}`);
4545
4565
  toggle_class(ul, "dropdown-active",
4546
4566
  /*isMenuVisible*/
4547
- ctx[11]);
4567
+ ctx[12]);
4548
4568
  attr(div1, "data-testid",
4549
4569
  /*testid*/
4550
- ctx[4]);
4570
+ ctx[5]);
4551
4571
  attr(div1, "class", "goa-dropdown-box");
4552
4572
  attr(div1, "style", div1_style_value = `--width: ${
4553
4573
  /*width*/
4554
- ctx[5] ||
4574
+ ctx[6] ||
4555
4575
  /*computedWidth*/
4556
- ctx[13]}`);
4576
+ ctx[14]}`);
4557
4577
  },
4558
4578
 
4559
4579
  m(target, anchor) {
@@ -4573,15 +4593,15 @@
4573
4593
  /*ul_binding*/
4574
4594
 
4575
4595
 
4576
- ctx[22](ul);
4596
+ ctx[23](ul);
4577
4597
  /*div1_binding*/
4578
4598
 
4579
- ctx[23](div1);
4599
+ ctx[24](div1);
4580
4600
 
4581
4601
  if (!mounted) {
4582
4602
  dispose = listen(goa_input, "click",
4583
4603
  /*showMenu*/
4584
- ctx[16]);
4604
+ ctx[17]);
4585
4605
  mounted = true;
4586
4606
  }
4587
4607
  },
@@ -4589,7 +4609,7 @@
4589
4609
  p(ctx, dirty) {
4590
4610
  if (
4591
4611
  /*isMenuVisible*/
4592
- ctx[11]) {
4612
+ ctx[12]) {
4593
4613
  if (if_block) {
4594
4614
  if_block.p(ctx, dirty);
4595
4615
  } else {
@@ -4604,34 +4624,34 @@
4604
4624
 
4605
4625
  if (dirty[0] &
4606
4626
  /*error*/
4607
- 128) {
4627
+ 256) {
4608
4628
  set_custom_element_data(goa_input, "error",
4609
4629
  /*error*/
4610
- ctx[7]);
4630
+ ctx[8]);
4611
4631
  }
4612
4632
 
4613
4633
  if (dirty[0] &
4614
4634
  /*disabled*/
4615
- 64) {
4635
+ 128) {
4616
4636
  set_custom_element_data(goa_input, "disabled",
4617
4637
  /*disabled*/
4618
- ctx[6]);
4638
+ ctx[7]);
4619
4639
  }
4620
4640
 
4621
4641
  if (dirty[0] &
4622
4642
  /*leadingicon*/
4623
- 2) {
4643
+ 4) {
4624
4644
  set_custom_element_data(goa_input, "leadingicon",
4625
4645
  /*leadingicon*/
4626
- ctx[1]);
4646
+ ctx[2]);
4627
4647
  }
4628
4648
 
4629
4649
  if (dirty[0] &
4630
4650
  /*placeholder*/
4631
- 8) {
4651
+ 16) {
4632
4652
  set_custom_element_data(goa_input, "placeholder",
4633
4653
  /*placeholder*/
4634
- ctx[3]);
4654
+ ctx[4]);
4635
4655
  }
4636
4656
 
4637
4657
  if (dirty[0] &
@@ -4642,12 +4662,22 @@
4642
4662
  set_custom_element_data(goa_input, "id", goa_input_id_value);
4643
4663
  }
4644
4664
 
4665
+ if (dirty[0] &
4666
+ /*arialabel, name*/
4667
+ 3 && goa_input_aria_label_value !== (goa_input_aria_label_value =
4668
+ /*arialabel*/
4669
+ ctx[1] ||
4670
+ /*name*/
4671
+ ctx[0])) {
4672
+ set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value);
4673
+ }
4674
+
4645
4675
  if (dirty[0] &
4646
4676
  /*selectedLabel*/
4647
- 1024) {
4677
+ 2048) {
4648
4678
  set_custom_element_data(goa_input, "value",
4649
4679
  /*selectedLabel*/
4650
- ctx[10]);
4680
+ ctx[11]);
4651
4681
  }
4652
4682
 
4653
4683
  if (dirty[0] &
@@ -4660,44 +4690,44 @@
4660
4690
 
4661
4691
  if (dirty[0] &
4662
4692
  /*options, highlightedIndex, _values, onSelect*/
4663
- 267008) {
4693
+ 534016) {
4664
4694
  each_value =
4665
4695
  /*options*/
4666
- ctx[9];
4696
+ ctx[10];
4667
4697
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, ul, destroy_block, create_each_block$4, null, get_each_context$4);
4668
4698
  }
4669
4699
 
4670
4700
  if (dirty[0] &
4671
4701
  /*maxheight*/
4672
- 4 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
4702
+ 8 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
4673
4703
  /*maxheight*/
4674
- ctx[2]}`)) {
4704
+ ctx[3]}`)) {
4675
4705
  attr(ul, "style", ul_style_value);
4676
4706
  }
4677
4707
 
4678
4708
  if (dirty[0] &
4679
4709
  /*isMenuVisible*/
4680
- 2048) {
4710
+ 4096) {
4681
4711
  toggle_class(ul, "dropdown-active",
4682
4712
  /*isMenuVisible*/
4683
- ctx[11]);
4713
+ ctx[12]);
4684
4714
  }
4685
4715
 
4686
4716
  if (dirty[0] &
4687
4717
  /*testid*/
4688
- 16) {
4718
+ 32) {
4689
4719
  attr(div1, "data-testid",
4690
4720
  /*testid*/
4691
- ctx[4]);
4721
+ ctx[5]);
4692
4722
  }
4693
4723
 
4694
4724
  if (dirty[0] &
4695
4725
  /*width, computedWidth*/
4696
- 8224 && div1_style_value !== (div1_style_value = `--width: ${
4726
+ 16448 && div1_style_value !== (div1_style_value = `--width: ${
4697
4727
  /*width*/
4698
- ctx[5] ||
4728
+ ctx[6] ||
4699
4729
  /*computedWidth*/
4700
- ctx[13]}`)) {
4730
+ ctx[14]}`)) {
4701
4731
  attr(div1, "style", div1_style_value);
4702
4732
  }
4703
4733
  },
@@ -4715,10 +4745,10 @@
4715
4745
  /*ul_binding*/
4716
4746
 
4717
4747
 
4718
- ctx[22](null);
4748
+ ctx[23](null);
4719
4749
  /*div1_binding*/
4720
4750
 
4721
- ctx[23](null);
4751
+ ctx[24](null);
4722
4752
  mounted = false;
4723
4753
  dispose();
4724
4754
  }
@@ -4734,7 +4764,7 @@
4734
4764
  return;
4735
4765
  }
4736
4766
 
4737
- $$invalidate(11, isMenuVisible = true);
4767
+ $$invalidate(12, isMenuVisible = true);
4738
4768
  return _call(tick, function () {
4739
4769
  // hide menu on blur
4740
4770
  menuEl.addEventListener("blur", closeMenu);
@@ -4752,6 +4782,9 @@
4752
4782
  let {
4753
4783
  name
4754
4784
  } = $$props;
4785
+ let {
4786
+ arialabel = ""
4787
+ } = $$props;
4755
4788
  let {
4756
4789
  value = ""
4757
4790
  } = $$props;
@@ -4810,7 +4843,7 @@
4810
4843
 
4811
4844
  const rawValues = typeof rawValue === "object" ? rawValue : [rawValue]; // convert all values to strings to avoid later type comparison issues
4812
4845
 
4813
- $$invalidate(8, _values = rawValues.map(val => `${val}`));
4846
+ $$invalidate(9, _values = rawValues.map(val => `${val}`));
4814
4847
  bindContext();
4815
4848
  return _await();
4816
4849
  }));
@@ -4830,17 +4863,17 @@
4830
4863
 
4831
4864
  const selected = _values.includes(_data.value);
4832
4865
 
4833
- $$invalidate(9, options = [...options, Object.assign(Object.assign({}, _data), {
4866
+ $$invalidate(10, options = [...options, Object.assign(Object.assign({}, _data), {
4834
4867
  selected
4835
4868
  })]);
4836
4869
 
4837
4870
  if (selected) {
4838
- $$invalidate(10, selectedLabel = _data.label);
4871
+ $$invalidate(11, selectedLabel = _data.label);
4839
4872
  }
4840
4873
 
4841
4874
  if (!width && maxLetterCount < _data.label.length) {
4842
4875
  maxLetterCount = _data.label.length;
4843
- $$invalidate(13, computedWidth = `${Math.max(20, maxLetterCount + 12)}ch`);
4876
+ $$invalidate(14, computedWidth = `${Math.max(20, maxLetterCount + 12)}ch`);
4844
4877
  }
4845
4878
 
4846
4879
  setHighlightedIndexToSelected();
@@ -4855,17 +4888,17 @@
4855
4888
  menuEl.removeEventListener("keydown", onMenuKeyDown);
4856
4889
  menuEl.removeEventListener("mouseover", onHighlight);
4857
4890
  setHighlightedIndexToSelected();
4858
- $$invalidate(11, isMenuVisible = false);
4891
+ $$invalidate(12, isMenuVisible = false);
4859
4892
  }
4860
4893
 
4861
4894
  function setHighlightedIndexToSelected() {
4862
- $$invalidate(12, highlightedIndex = options.findIndex(option => _values.includes(option.value)));
4895
+ $$invalidate(13, highlightedIndex = options.findIndex(option => _values.includes(option.value)));
4863
4896
  } // Event handlers
4864
4897
 
4865
4898
 
4866
4899
  function onSelect(val, label) {
4867
4900
  if (_disabled) return;
4868
- $$invalidate(10, selectedLabel = label);
4901
+ $$invalidate(11, selectedLabel = label);
4869
4902
 
4870
4903
  if (_multiselect) {
4871
4904
  _values.push(val);
@@ -4878,7 +4911,7 @@
4878
4911
  }
4879
4912
  }));
4880
4913
  } else {
4881
- $$invalidate(8, _values = [val]);
4914
+ $$invalidate(9, _values = [val]);
4882
4915
  el.dispatchEvent(new CustomEvent("_change", {
4883
4916
  composed: true,
4884
4917
  detail: {
@@ -4914,16 +4947,16 @@
4914
4947
  switch (e.key) {
4915
4948
  case "ArrowUp":
4916
4949
  if (highlightedIndex === 0) {
4917
- $$invalidate(12, highlightedIndex = options.length - 1);
4950
+ $$invalidate(13, highlightedIndex = options.length - 1);
4918
4951
  } else {
4919
- $$invalidate(12, highlightedIndex--, highlightedIndex);
4952
+ $$invalidate(13, highlightedIndex--, highlightedIndex);
4920
4953
  }
4921
4954
 
4922
4955
  e.preventDefault();
4923
4956
  break;
4924
4957
 
4925
4958
  case "ArrowDown":
4926
- $$invalidate(12, highlightedIndex = (highlightedIndex + 1) % options.length);
4959
+ $$invalidate(13, highlightedIndex = (highlightedIndex + 1) % options.length);
4927
4960
  e.preventDefault();
4928
4961
  break;
4929
4962
 
@@ -4941,7 +4974,7 @@
4941
4974
  }
4942
4975
 
4943
4976
  function onHighlight(e) {
4944
- $$invalidate(12, highlightedIndex = Number(e.target.dataset.index));
4977
+ $$invalidate(13, highlightedIndex = Number(e.target.dataset.index));
4945
4978
  }
4946
4979
 
4947
4980
  const click_handler = option => onSelect(option.value, option.label);
@@ -4949,45 +4982,46 @@
4949
4982
  function ul_binding($$value) {
4950
4983
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4951
4984
  menuEl = $$value;
4952
- $$invalidate(15, menuEl);
4985
+ $$invalidate(16, menuEl);
4953
4986
  });
4954
4987
  }
4955
4988
 
4956
4989
  function div1_binding($$value) {
4957
4990
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4958
4991
  el = $$value;
4959
- $$invalidate(14, el);
4992
+ $$invalidate(15, el);
4960
4993
  });
4961
4994
  }
4962
4995
 
4963
4996
  $$self.$$set = $$props => {
4964
4997
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
4965
- if ('value' in $$props) $$invalidate(19, value = $$props.value);
4966
- if ('leadingicon' in $$props) $$invalidate(1, leadingicon = $$props.leadingicon);
4967
- if ('maxheight' in $$props) $$invalidate(2, maxheight = $$props.maxheight);
4968
- if ('placeholder' in $$props) $$invalidate(3, placeholder = $$props.placeholder);
4969
- if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
4970
- if ('width' in $$props) $$invalidate(5, width = $$props.width);
4971
- if ('disabled' in $$props) $$invalidate(6, disabled = $$props.disabled);
4972
- if ('error' in $$props) $$invalidate(7, error = $$props.error);
4973
- if ('multiselect' in $$props) $$invalidate(20, multiselect = $$props.multiselect);
4998
+ if ('arialabel' in $$props) $$invalidate(1, arialabel = $$props.arialabel);
4999
+ if ('value' in $$props) $$invalidate(20, value = $$props.value);
5000
+ if ('leadingicon' in $$props) $$invalidate(2, leadingicon = $$props.leadingicon);
5001
+ if ('maxheight' in $$props) $$invalidate(3, maxheight = $$props.maxheight);
5002
+ if ('placeholder' in $$props) $$invalidate(4, placeholder = $$props.placeholder);
5003
+ if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
5004
+ if ('width' in $$props) $$invalidate(6, width = $$props.width);
5005
+ if ('disabled' in $$props) $$invalidate(7, disabled = $$props.disabled);
5006
+ if ('error' in $$props) $$invalidate(8, error = $$props.error);
5007
+ if ('multiselect' in $$props) $$invalidate(21, multiselect = $$props.multiselect);
4974
5008
  };
4975
5009
 
4976
5010
  $$self.$$.update = () => {
4977
5011
  if ($$self.$$.dirty[0] &
4978
5012
  /*disabled*/
4979
- 64) {
5013
+ 128) {
4980
5014
  _disabled = toBoolean(disabled);
4981
5015
  }
4982
5016
 
4983
5017
  if ($$self.$$.dirty[0] &
4984
5018
  /*multiselect*/
4985
- 1048576) {
5019
+ 2097152) {
4986
5020
  _multiselect = toBoolean(multiselect);
4987
5021
  }
4988
5022
  };
4989
5023
 
4990
- return [name, leadingicon, maxheight, placeholder, testid, width, disabled, error, _values, options, selectedLabel, isMenuVisible, highlightedIndex, computedWidth, el, menuEl, showMenu, closeMenu, onSelect, value, multiselect, click_handler, ul_binding, div1_binding];
5024
+ return [name, arialabel, leadingicon, maxheight, placeholder, testid, width, disabled, error, _values, options, selectedLabel, isMenuVisible, highlightedIndex, computedWidth, el, menuEl, showMenu, closeMenu, onSelect, value, multiselect, click_handler, ul_binding, div1_binding];
4991
5025
  }
4992
5026
 
4993
5027
  class Dropdown extends SvelteElement {
@@ -5000,15 +5034,16 @@
5000
5034
  customElement: true
5001
5035
  }, instance$o, create_fragment$q, safe_not_equal, {
5002
5036
  name: 0,
5003
- value: 19,
5004
- leadingicon: 1,
5005
- maxheight: 2,
5006
- placeholder: 3,
5007
- testid: 4,
5008
- width: 5,
5009
- disabled: 6,
5010
- error: 7,
5011
- multiselect: 20
5037
+ arialabel: 1,
5038
+ value: 20,
5039
+ leadingicon: 2,
5040
+ maxheight: 3,
5041
+ placeholder: 4,
5042
+ testid: 5,
5043
+ width: 6,
5044
+ disabled: 7,
5045
+ error: 8,
5046
+ multiselect: 21
5012
5047
  }, null, [-1, -1]);
5013
5048
 
5014
5049
  if (options) {
@@ -5024,7 +5059,7 @@
5024
5059
  }
5025
5060
 
5026
5061
  static get observedAttributes() {
5027
- return ["name", "value", "leadingicon", "maxheight", "placeholder", "testid", "width", "disabled", "error", "multiselect"];
5062
+ return ["name", "arialabel", "value", "leadingicon", "maxheight", "placeholder", "testid", "width", "disabled", "error", "multiselect"];
5028
5063
  }
5029
5064
 
5030
5065
  get name() {
@@ -5038,8 +5073,19 @@
5038
5073
  flush();
5039
5074
  }
5040
5075
 
5076
+ get arialabel() {
5077
+ return this.$$.ctx[1];
5078
+ }
5079
+
5080
+ set arialabel(arialabel) {
5081
+ this.$$set({
5082
+ arialabel
5083
+ });
5084
+ flush();
5085
+ }
5086
+
5041
5087
  get value() {
5042
- return this.$$.ctx[19];
5088
+ return this.$$.ctx[20];
5043
5089
  }
5044
5090
 
5045
5091
  set value(value) {
@@ -5050,7 +5096,7 @@
5050
5096
  }
5051
5097
 
5052
5098
  get leadingicon() {
5053
- return this.$$.ctx[1];
5099
+ return this.$$.ctx[2];
5054
5100
  }
5055
5101
 
5056
5102
  set leadingicon(leadingicon) {
@@ -5061,7 +5107,7 @@
5061
5107
  }
5062
5108
 
5063
5109
  get maxheight() {
5064
- return this.$$.ctx[2];
5110
+ return this.$$.ctx[3];
5065
5111
  }
5066
5112
 
5067
5113
  set maxheight(maxheight) {
@@ -5072,7 +5118,7 @@
5072
5118
  }
5073
5119
 
5074
5120
  get placeholder() {
5075
- return this.$$.ctx[3];
5121
+ return this.$$.ctx[4];
5076
5122
  }
5077
5123
 
5078
5124
  set placeholder(placeholder) {
@@ -5083,7 +5129,7 @@
5083
5129
  }
5084
5130
 
5085
5131
  get testid() {
5086
- return this.$$.ctx[4];
5132
+ return this.$$.ctx[5];
5087
5133
  }
5088
5134
 
5089
5135
  set testid(testid) {
@@ -5094,7 +5140,7 @@
5094
5140
  }
5095
5141
 
5096
5142
  get width() {
5097
- return this.$$.ctx[5];
5143
+ return this.$$.ctx[6];
5098
5144
  }
5099
5145
 
5100
5146
  set width(width) {
@@ -5105,7 +5151,7 @@
5105
5151
  }
5106
5152
 
5107
5153
  get disabled() {
5108
- return this.$$.ctx[6];
5154
+ return this.$$.ctx[7];
5109
5155
  }
5110
5156
 
5111
5157
  set disabled(disabled) {
@@ -5116,7 +5162,7 @@
5116
5162
  }
5117
5163
 
5118
5164
  get error() {
5119
- return this.$$.ctx[7];
5165
+ return this.$$.ctx[8];
5120
5166
  }
5121
5167
 
5122
5168
  set error(error) {
@@ -5127,7 +5173,7 @@
5127
5173
  }
5128
5174
 
5129
5175
  get multiselect() {
5130
- return this.$$.ctx[20];
5176
+ return this.$$.ctx[21];
5131
5177
  }
5132
5178
 
5133
5179
  set multiselect(multiselect) {
@@ -5368,7 +5414,7 @@
5368
5414
  /* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.49.0 */
5369
5415
 
5370
5416
  function create_if_block_2$6(ctx) {
5371
- let label_1;
5417
+ let div;
5372
5418
  let t0;
5373
5419
  let t1;
5374
5420
  let if_block =
@@ -5376,20 +5422,20 @@
5376
5422
  ctx[3] && create_if_block_3$4();
5377
5423
  return {
5378
5424
  c() {
5379
- label_1 = element("label");
5425
+ div = element("div");
5380
5426
  t0 = text(
5381
5427
  /*label*/
5382
5428
  ctx[0]);
5383
5429
  t1 = space();
5384
5430
  if (if_block) if_block.c();
5385
- attr(label_1, "for", "");
5431
+ attr(div, "class", "label");
5386
5432
  },
5387
5433
 
5388
5434
  m(target, anchor) {
5389
- insert(target, label_1, anchor);
5390
- append(label_1, t0);
5391
- append(label_1, t1);
5392
- if (if_block) if_block.m(label_1, null);
5435
+ insert(target, div, anchor);
5436
+ append(div, t0);
5437
+ append(div, t1);
5438
+ if (if_block) if_block.m(div, null);
5393
5439
  },
5394
5440
 
5395
5441
  p(ctx, dirty) {
@@ -5405,7 +5451,7 @@
5405
5451
  if (if_block) ;else {
5406
5452
  if_block = create_if_block_3$4();
5407
5453
  if_block.c();
5408
- if_block.m(label_1, null);
5454
+ if_block.m(div, null);
5409
5455
  }
5410
5456
  } else if (if_block) {
5411
5457
  if_block.d(1);
@@ -5414,7 +5460,7 @@
5414
5460
  },
5415
5461
 
5416
5462
  d(detaching) {
5417
- if (detaching) detach(label_1);
5463
+ if (detaching) detach(div);
5418
5464
  if (if_block) if_block.d();
5419
5465
  }
5420
5466
 
@@ -5621,7 +5667,7 @@
5621
5667
  error = ""
5622
5668
  } = $$props;
5623
5669
  let {
5624
- optional
5670
+ optional = ""
5625
5671
  } = $$props;
5626
5672
 
5627
5673
  $$self.$$set = $$props => {
@@ -5645,7 +5691,7 @@
5645
5691
  class FormItem extends SvelteElement {
5646
5692
  constructor(options) {
5647
5693
  super();
5648
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>`;
5694
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>`;
5649
5695
  init(this, {
5650
5696
  target: this.shadowRoot,
5651
5697
  props: attribute_to_object(this.attributes),
@@ -6611,7 +6657,7 @@
6611
6657
  }
6612
6658
 
6613
6659
  };
6614
- } // (93:4) {#if trailingicon && !handlesTrailingIconClick}
6660
+ } // (102:4) {#if trailingicon && !handlesTrailingIconClick}
6615
6661
 
6616
6662
 
6617
6663
  function create_if_block_4$1(ctx) {
@@ -6646,7 +6692,7 @@
6646
6692
  }
6647
6693
 
6648
6694
  };
6649
- } // (103:4) {#if trailingicon && handlesTrailingIconClick}
6695
+ } // (112:4) {#if trailingicon && handlesTrailingIconClick}
6650
6696
 
6651
6697
 
6652
6698
  function create_if_block_3$3(ctx) {
@@ -6659,7 +6705,7 @@
6659
6705
  set_custom_element_data(goa_icon_button, "class", "goa-input-trailing-icon");
6660
6706
  set_custom_element_data(goa_icon_button, "disabled",
6661
6707
  /*isDisabled*/
6662
- ctx[12]);
6708
+ ctx[16]);
6663
6709
  set_custom_element_data(goa_icon_button, "variant", "nocolor");
6664
6710
  set_custom_element_data(goa_icon_button, "size", "medium");
6665
6711
  set_custom_element_data(goa_icon_button, "type",
@@ -6680,10 +6726,10 @@
6680
6726
  p(ctx, dirty) {
6681
6727
  if (dirty &
6682
6728
  /*isDisabled*/
6683
- 4096) {
6729
+ 65536) {
6684
6730
  set_custom_element_data(goa_icon_button, "disabled",
6685
6731
  /*isDisabled*/
6686
- ctx[12]);
6732
+ ctx[16]);
6687
6733
  }
6688
6734
 
6689
6735
  if (dirty &
@@ -6702,7 +6748,7 @@
6702
6748
  }
6703
6749
 
6704
6750
  };
6705
- } // (117:2) {#if showCounter}
6751
+ } // (126:2) {#if showCounter}
6706
6752
 
6707
6753
 
6708
6754
  function create_if_block$a(ctx) {
@@ -6711,7 +6757,7 @@
6711
6757
  function select_block_type(ctx, dirty) {
6712
6758
  if (
6713
6759
  /*maxcharcount*/
6714
- ctx[9] > 0) return create_if_block_1$6;
6760
+ ctx[13] > 0) return create_if_block_1$6;
6715
6761
  if (
6716
6762
  /*value*/
6717
6763
  ctx[0].length > 0) return create_if_block_2$5;
@@ -6753,7 +6799,7 @@
6753
6799
  }
6754
6800
 
6755
6801
  };
6756
- } // (122:31)
6802
+ } // (131:31)
6757
6803
 
6758
6804
 
6759
6805
  function create_if_block_2$5(ctx) {
@@ -6787,7 +6833,7 @@
6787
6833
  }
6788
6834
 
6789
6835
  };
6790
- } // (118:4) {#if maxcharcount > 0}
6836
+ } // (127:4) {#if maxcharcount > 0}
6791
6837
 
6792
6838
 
6793
6839
  function create_if_block_1$6(ctx) {
@@ -6798,7 +6844,7 @@
6798
6844
  let t0;
6799
6845
  let t1_value = `/${
6800
6846
  /*maxcharcount*/
6801
- ctx[9]}` + "";
6847
+ ctx[13]}` + "";
6802
6848
  let t1;
6803
6849
  return {
6804
6850
  c() {
@@ -6810,7 +6856,7 @@
6810
6856
  /*value*/
6811
6857
  ctx[0].length >
6812
6858
  /*maxcharcount*/
6813
- ctx[9]);
6859
+ ctx[13]);
6814
6860
  },
6815
6861
 
6816
6862
  m(target, anchor) {
@@ -6827,18 +6873,18 @@
6827
6873
  ctx[0].length + "")) set_data(t0, t0_value);
6828
6874
  if (dirty &
6829
6875
  /*maxcharcount*/
6830
- 512 && t1_value !== (t1_value = `/${
6876
+ 8192 && t1_value !== (t1_value = `/${
6831
6877
  /*maxcharcount*/
6832
- ctx[9]}` + "")) set_data(t1, t1_value);
6878
+ ctx[13]}` + "")) set_data(t1, t1_value);
6833
6879
 
6834
6880
  if (dirty &
6835
6881
  /*value, maxcharcount*/
6836
- 513) {
6882
+ 8193) {
6837
6883
  toggle_class(div, "counter-error",
6838
6884
  /*value*/
6839
6885
  ctx[0].length >
6840
6886
  /*maxcharcount*/
6841
- ctx[9]);
6887
+ ctx[13]);
6842
6888
  }
6843
6889
  },
6844
6890
 
@@ -6856,6 +6902,7 @@
6856
6902
  let input;
6857
6903
  let input_class_value;
6858
6904
  let input_style_value;
6905
+ let input_aria_label_value;
6859
6906
  let t1;
6860
6907
  let t2;
6861
6908
  let div0_class_value;
@@ -6870,15 +6917,15 @@
6870
6917
  /*trailingicon*/
6871
6918
  ctx[5] && !
6872
6919
  /*handlesTrailingIconClick*/
6873
- ctx[15] && create_if_block_4$1(ctx);
6920
+ ctx[19] && create_if_block_4$1(ctx);
6874
6921
  let if_block2 =
6875
6922
  /*trailingicon*/
6876
6923
  ctx[5] &&
6877
6924
  /*handlesTrailingIconClick*/
6878
- ctx[15] && create_if_block_3$3(ctx);
6925
+ ctx[19] && create_if_block_3$3(ctx);
6879
6926
  let if_block3 =
6880
6927
  /*showCounter*/
6881
- ctx[11] && create_if_block$a(ctx);
6928
+ ctx[15] && create_if_block$a(ctx);
6882
6929
  return {
6883
6930
  c() {
6884
6931
  div1 = element("div");
@@ -6901,10 +6948,10 @@
6901
6948
  ctx[5] ? "-0.5rem" : "0"}`);
6902
6949
  input.readOnly =
6903
6950
  /*isReadonly*/
6904
- ctx[14];
6951
+ ctx[18];
6905
6952
  input.disabled =
6906
6953
  /*isDisabled*/
6907
- ctx[12];
6954
+ ctx[16];
6908
6955
  attr(input, "data-testid",
6909
6956
  /*testid*/
6910
6957
  ctx[7]);
@@ -6920,11 +6967,26 @@
6920
6967
  attr(input, "placeholder",
6921
6968
  /*placeholder*/
6922
6969
  ctx[3]);
6970
+ attr(input, "min",
6971
+ /*min*/
6972
+ ctx[10]);
6973
+ attr(input, "max",
6974
+ /*max*/
6975
+ ctx[11]);
6976
+ attr(input, "step",
6977
+ /*step*/
6978
+ ctx[12]);
6979
+ attr(input, "role", "textbox");
6980
+ attr(input, "aria-label", input_aria_label_value =
6981
+ /*arialabel*/
6982
+ ctx[9] ||
6983
+ /*name*/
6984
+ ctx[2]);
6923
6985
  attr(div0, "class", div0_class_value = `
6924
6986
  goa-input
6925
6987
  ${
6926
6988
  /*isDisabled*/
6927
- ctx[12] ? "goa-input--disabled" : ""}
6989
+ ctx[16] ? "goa-input--disabled" : ""}
6928
6990
  variant--${
6929
6991
  /*variant*/
6930
6992
  ctx[6]}
@@ -6934,7 +6996,7 @@
6934
6996
  `);
6935
6997
  toggle_class(div0, "error",
6936
6998
  /*isError*/
6937
- ctx[13]);
6999
+ ctx[17]);
6938
7000
  attr(div1, "class", "container");
6939
7001
  attr(div1, "style", div1_style_value = `
6940
7002
  --width: ${
@@ -6951,7 +7013,7 @@
6951
7013
  append(div0, input);
6952
7014
  /*input_binding*/
6953
7015
 
6954
- ctx[24](input);
7016
+ ctx[28](input);
6955
7017
  append(div0, t1);
6956
7018
  if (if_block1) if_block1.m(div0, null);
6957
7019
  append(div0, t2);
@@ -6962,9 +7024,9 @@
6962
7024
  if (!mounted) {
6963
7025
  dispose = [listen(input, "keyup",
6964
7026
  /*onKeyUp*/
6965
- ctx[16]), listen(input, "change",
7027
+ ctx[20]), listen(input, "change",
6966
7028
  /*onKeyUp*/
6967
- ctx[16])];
7029
+ ctx[20])];
6968
7030
  mounted = true;
6969
7031
  }
6970
7032
  },
@@ -7003,18 +7065,18 @@
7003
7065
 
7004
7066
  if (dirty &
7005
7067
  /*isReadonly*/
7006
- 16384) {
7068
+ 262144) {
7007
7069
  input.readOnly =
7008
7070
  /*isReadonly*/
7009
- ctx[14];
7071
+ ctx[18];
7010
7072
  }
7011
7073
 
7012
7074
  if (dirty &
7013
7075
  /*isDisabled*/
7014
- 4096) {
7076
+ 65536) {
7015
7077
  input.disabled =
7016
7078
  /*isDisabled*/
7017
- ctx[12];
7079
+ ctx[16];
7018
7080
  }
7019
7081
 
7020
7082
  if (dirty &
@@ -7059,11 +7121,45 @@
7059
7121
  ctx[3]);
7060
7122
  }
7061
7123
 
7124
+ if (dirty &
7125
+ /*min*/
7126
+ 1024) {
7127
+ attr(input, "min",
7128
+ /*min*/
7129
+ ctx[10]);
7130
+ }
7131
+
7132
+ if (dirty &
7133
+ /*max*/
7134
+ 2048) {
7135
+ attr(input, "max",
7136
+ /*max*/
7137
+ ctx[11]);
7138
+ }
7139
+
7140
+ if (dirty &
7141
+ /*step*/
7142
+ 4096) {
7143
+ attr(input, "step",
7144
+ /*step*/
7145
+ ctx[12]);
7146
+ }
7147
+
7148
+ if (dirty &
7149
+ /*arialabel, name*/
7150
+ 516 && input_aria_label_value !== (input_aria_label_value =
7151
+ /*arialabel*/
7152
+ ctx[9] ||
7153
+ /*name*/
7154
+ ctx[2])) {
7155
+ attr(input, "aria-label", input_aria_label_value);
7156
+ }
7157
+
7062
7158
  if (
7063
7159
  /*trailingicon*/
7064
7160
  ctx[5] && !
7065
7161
  /*handlesTrailingIconClick*/
7066
- ctx[15]) {
7162
+ ctx[19]) {
7067
7163
  if (if_block1) {
7068
7164
  if_block1.p(ctx, dirty);
7069
7165
  } else {
@@ -7080,7 +7176,7 @@
7080
7176
  /*trailingicon*/
7081
7177
  ctx[5] &&
7082
7178
  /*handlesTrailingIconClick*/
7083
- ctx[15]) {
7179
+ ctx[19]) {
7084
7180
  if (if_block2) {
7085
7181
  if_block2.p(ctx, dirty);
7086
7182
  } else {
@@ -7095,11 +7191,11 @@
7095
7191
 
7096
7192
  if (dirty &
7097
7193
  /*isDisabled, variant, type*/
7098
- 4162 && div0_class_value !== (div0_class_value = `
7194
+ 65602 && div0_class_value !== (div0_class_value = `
7099
7195
  goa-input
7100
7196
  ${
7101
7197
  /*isDisabled*/
7102
- ctx[12] ? "goa-input--disabled" : ""}
7198
+ ctx[16] ? "goa-input--disabled" : ""}
7103
7199
  variant--${
7104
7200
  /*variant*/
7105
7201
  ctx[6]}
@@ -7112,15 +7208,15 @@
7112
7208
 
7113
7209
  if (dirty &
7114
7210
  /*isDisabled, variant, type, isError*/
7115
- 12354) {
7211
+ 196674) {
7116
7212
  toggle_class(div0, "error",
7117
7213
  /*isError*/
7118
- ctx[13]);
7214
+ ctx[17]);
7119
7215
  }
7120
7216
 
7121
7217
  if (
7122
7218
  /*showCounter*/
7123
- ctx[11]) {
7219
+ ctx[15]) {
7124
7220
  if (if_block3) {
7125
7221
  if_block3.p(ctx, dirty);
7126
7222
  } else {
@@ -7152,7 +7248,7 @@
7152
7248
  if (if_block0) if_block0.d();
7153
7249
  /*input_binding*/
7154
7250
 
7155
- ctx[24](null);
7251
+ ctx[28](null);
7156
7252
  if (if_block1) if_block1.d();
7157
7253
  if (if_block2) if_block2.d();
7158
7254
  if (if_block3) if_block3.d();
@@ -7218,6 +7314,18 @@
7218
7314
  let {
7219
7315
  width = "30ch"
7220
7316
  } = $$props;
7317
+ let {
7318
+ arialabel = ""
7319
+ } = $$props;
7320
+ let {
7321
+ min = ""
7322
+ } = $$props;
7323
+ let {
7324
+ max = ""
7325
+ } = $$props;
7326
+ let {
7327
+ step
7328
+ } = $$props;
7221
7329
  let {
7222
7330
  showcounter = "false"
7223
7331
  } = $$props;
@@ -7242,7 +7350,7 @@
7242
7350
  function input_binding($$value) {
7243
7351
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
7244
7352
  inputEl = $$value;
7245
- $$invalidate(10, inputEl);
7353
+ $$invalidate(14, inputEl);
7246
7354
  });
7247
7355
  }
7248
7356
 
@@ -7254,57 +7362,61 @@
7254
7362
  if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
7255
7363
  if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
7256
7364
  if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
7257
- if ('disabled' in $$props) $$invalidate(17, disabled = $$props.disabled);
7258
- if ('handletrailingiconclick' in $$props) $$invalidate(18, handletrailingiconclick = $$props.handletrailingiconclick);
7259
- if ('focused' in $$props) $$invalidate(19, focused = $$props.focused);
7260
- if ('readonly' in $$props) $$invalidate(20, readonly = $$props.readonly);
7261
- if ('error' in $$props) $$invalidate(21, error = $$props.error);
7365
+ if ('disabled' in $$props) $$invalidate(21, disabled = $$props.disabled);
7366
+ if ('handletrailingiconclick' in $$props) $$invalidate(22, handletrailingiconclick = $$props.handletrailingiconclick);
7367
+ if ('focused' in $$props) $$invalidate(23, focused = $$props.focused);
7368
+ if ('readonly' in $$props) $$invalidate(24, readonly = $$props.readonly);
7369
+ if ('error' in $$props) $$invalidate(25, error = $$props.error);
7262
7370
  if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
7263
7371
  if ('width' in $$props) $$invalidate(8, width = $$props.width);
7264
- if ('showcounter' in $$props) $$invalidate(22, showcounter = $$props.showcounter);
7265
- if ('maxcharcount' in $$props) $$invalidate(9, maxcharcount = $$props.maxcharcount);
7372
+ if ('arialabel' in $$props) $$invalidate(9, arialabel = $$props.arialabel);
7373
+ if ('min' in $$props) $$invalidate(10, min = $$props.min);
7374
+ if ('max' in $$props) $$invalidate(11, max = $$props.max);
7375
+ if ('step' in $$props) $$invalidate(12, step = $$props.step);
7376
+ if ('showcounter' in $$props) $$invalidate(26, showcounter = $$props.showcounter);
7377
+ if ('maxcharcount' in $$props) $$invalidate(13, maxcharcount = $$props.maxcharcount);
7266
7378
  };
7267
7379
 
7268
7380
  $$self.$$.update = () => {
7269
7381
  if ($$self.$$.dirty &
7270
7382
  /*handletrailingiconclick*/
7271
- 262144) {
7272
- $$invalidate(15, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
7383
+ 4194304) {
7384
+ $$invalidate(19, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
7273
7385
  }
7274
7386
 
7275
7387
  if ($$self.$$.dirty &
7276
7388
  /*focused*/
7277
- 524288) {
7278
- $$invalidate(23, isFocused = toBoolean(focused));
7389
+ 8388608) {
7390
+ $$invalidate(27, isFocused = toBoolean(focused));
7279
7391
  }
7280
7392
 
7281
7393
  if ($$self.$$.dirty &
7282
7394
  /*readonly*/
7283
- 1048576) {
7284
- $$invalidate(14, isReadonly = toBoolean(readonly));
7395
+ 16777216) {
7396
+ $$invalidate(18, isReadonly = toBoolean(readonly));
7285
7397
  }
7286
7398
 
7287
7399
  if ($$self.$$.dirty &
7288
7400
  /*error*/
7289
- 2097152) {
7290
- $$invalidate(13, isError = toBoolean(error));
7401
+ 33554432) {
7402
+ $$invalidate(17, isError = toBoolean(error));
7291
7403
  }
7292
7404
 
7293
7405
  if ($$self.$$.dirty &
7294
7406
  /*disabled*/
7295
- 131072) {
7296
- $$invalidate(12, isDisabled = toBoolean(disabled));
7407
+ 2097152) {
7408
+ $$invalidate(16, isDisabled = toBoolean(disabled));
7297
7409
  }
7298
7410
 
7299
7411
  if ($$self.$$.dirty &
7300
7412
  /*showcounter*/
7301
- 4194304) {
7302
- $$invalidate(11, showCounter = toBoolean(showcounter));
7413
+ 67108864) {
7414
+ $$invalidate(15, showCounter = toBoolean(showcounter));
7303
7415
  }
7304
7416
 
7305
7417
  if ($$self.$$.dirty &
7306
7418
  /*isFocused, inputEl*/
7307
- 8389632) {
7419
+ 134234112) {
7308
7420
  if (isFocused && inputEl) {
7309
7421
  setTimeout(() => inputEl.focus(), 1);
7310
7422
  }
@@ -7312,7 +7424,7 @@
7312
7424
 
7313
7425
  if ($$self.$$.dirty &
7314
7426
  /*inputEl, type*/
7315
- 1026) {
7427
+ 16386) {
7316
7428
  if (inputEl && type === "search") {
7317
7429
  inputEl.addEventListener("search", e => {
7318
7430
  onKeyUp(e);
@@ -7321,7 +7433,7 @@
7321
7433
  }
7322
7434
  };
7323
7435
 
7324
- return [value, type, name, placeholder, leadingicon, trailingicon, variant, testid, width, maxcharcount, inputEl, showCounter, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, showcounter, isFocused, input_binding];
7436
+ return [value, type, name, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, maxcharcount, inputEl, showCounter, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, showcounter, isFocused, input_binding];
7325
7437
  }
7326
7438
 
7327
7439
  class Input extends SvelteElement {
@@ -7341,15 +7453,19 @@
7341
7453
  leadingicon: 4,
7342
7454
  trailingicon: 5,
7343
7455
  variant: 6,
7344
- disabled: 17,
7345
- handletrailingiconclick: 18,
7346
- focused: 19,
7347
- readonly: 20,
7348
- error: 21,
7456
+ disabled: 21,
7457
+ handletrailingiconclick: 22,
7458
+ focused: 23,
7459
+ readonly: 24,
7460
+ error: 25,
7349
7461
  testid: 7,
7350
7462
  width: 8,
7351
- showcounter: 22,
7352
- maxcharcount: 9
7463
+ arialabel: 9,
7464
+ min: 10,
7465
+ max: 11,
7466
+ step: 12,
7467
+ showcounter: 26,
7468
+ maxcharcount: 13
7353
7469
  }, null);
7354
7470
 
7355
7471
  if (options) {
@@ -7365,7 +7481,7 @@
7365
7481
  }
7366
7482
 
7367
7483
  static get observedAttributes() {
7368
- return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "showcounter", "maxcharcount"];
7484
+ return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "showcounter", "maxcharcount"];
7369
7485
  }
7370
7486
 
7371
7487
  get type() {
@@ -7446,7 +7562,7 @@
7446
7562
  }
7447
7563
 
7448
7564
  get disabled() {
7449
- return this.$$.ctx[17];
7565
+ return this.$$.ctx[21];
7450
7566
  }
7451
7567
 
7452
7568
  set disabled(disabled) {
@@ -7457,7 +7573,7 @@
7457
7573
  }
7458
7574
 
7459
7575
  get handletrailingiconclick() {
7460
- return this.$$.ctx[18];
7576
+ return this.$$.ctx[22];
7461
7577
  }
7462
7578
 
7463
7579
  set handletrailingiconclick(handletrailingiconclick) {
@@ -7468,7 +7584,7 @@
7468
7584
  }
7469
7585
 
7470
7586
  get focused() {
7471
- return this.$$.ctx[19];
7587
+ return this.$$.ctx[23];
7472
7588
  }
7473
7589
 
7474
7590
  set focused(focused) {
@@ -7479,7 +7595,7 @@
7479
7595
  }
7480
7596
 
7481
7597
  get readonly() {
7482
- return this.$$.ctx[20];
7598
+ return this.$$.ctx[24];
7483
7599
  }
7484
7600
 
7485
7601
  set readonly(readonly) {
@@ -7490,7 +7606,7 @@
7490
7606
  }
7491
7607
 
7492
7608
  get error() {
7493
- return this.$$.ctx[21];
7609
+ return this.$$.ctx[25];
7494
7610
  }
7495
7611
 
7496
7612
  set error(error) {
@@ -7522,8 +7638,52 @@
7522
7638
  flush();
7523
7639
  }
7524
7640
 
7641
+ get arialabel() {
7642
+ return this.$$.ctx[9];
7643
+ }
7644
+
7645
+ set arialabel(arialabel) {
7646
+ this.$$set({
7647
+ arialabel
7648
+ });
7649
+ flush();
7650
+ }
7651
+
7652
+ get min() {
7653
+ return this.$$.ctx[10];
7654
+ }
7655
+
7656
+ set min(min) {
7657
+ this.$$set({
7658
+ min
7659
+ });
7660
+ flush();
7661
+ }
7662
+
7663
+ get max() {
7664
+ return this.$$.ctx[11];
7665
+ }
7666
+
7667
+ set max(max) {
7668
+ this.$$set({
7669
+ max
7670
+ });
7671
+ flush();
7672
+ }
7673
+
7674
+ get step() {
7675
+ return this.$$.ctx[12];
7676
+ }
7677
+
7678
+ set step(step) {
7679
+ this.$$set({
7680
+ step
7681
+ });
7682
+ flush();
7683
+ }
7684
+
7525
7685
  get showcounter() {
7526
- return this.$$.ctx[22];
7686
+ return this.$$.ctx[26];
7527
7687
  }
7528
7688
 
7529
7689
  set showcounter(showcounter) {
@@ -7534,7 +7694,7 @@
7534
7694
  }
7535
7695
 
7536
7696
  get maxcharcount() {
7537
- return this.$$.ctx[9];
7697
+ return this.$$.ctx[13];
7538
7698
  }
7539
7699
 
7540
7700
  set maxcharcount(maxcharcount) {
@@ -8495,53 +8655,6 @@
8495
8655
  }
8496
8656
 
8497
8657
  customElements.define("goa-notification", Notification);
8498
- /* libs/web-components/src/layouts/PageLayout.svelte generated by Svelte v3.49.0 */
8499
-
8500
- function create_fragment$g(ctx) {
8501
- let div;
8502
- return {
8503
- c() {
8504
- div = element("div");
8505
- div.innerHTML = `<slot></slot>`;
8506
- this.c = noop;
8507
- attr(div, "class", "layout");
8508
- },
8509
-
8510
- m(target, anchor) {
8511
- insert(target, div, anchor);
8512
- },
8513
-
8514
- p: noop,
8515
- i: noop,
8516
- o: noop,
8517
-
8518
- d(detaching) {
8519
- if (detaching) detach(div);
8520
- }
8521
-
8522
- };
8523
- }
8524
-
8525
- class PageLayout extends SvelteElement {
8526
- constructor(options) {
8527
- super();
8528
- this.shadowRoot.innerHTML = `<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>`;
8529
- init(this, {
8530
- target: this.shadowRoot,
8531
- props: attribute_to_object(this.attributes),
8532
- customElement: true
8533
- }, null, create_fragment$g, safe_not_equal, {}, null);
8534
-
8535
- if (options) {
8536
- if (options.target) {
8537
- insert(options.target, this, options.anchor);
8538
- }
8539
- }
8540
- }
8541
-
8542
- }
8543
-
8544
- customElements.define("goa-page-layout", PageLayout);
8545
8658
  /* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.49.0 */
8546
8659
 
8547
8660
  function create_if_block$7(ctx) {
@@ -8915,7 +9028,7 @@
8915
9028
  };
8916
9029
  }
8917
9030
 
8918
- function create_fragment$f(ctx) {
9031
+ function create_fragment$g(ctx) {
8919
9032
  let if_block_anchor;
8920
9033
  let current;
8921
9034
  let if_block =
@@ -9034,7 +9147,7 @@
9034
9147
  target: this.shadowRoot,
9035
9148
  props: attribute_to_object(this.attributes),
9036
9149
  customElement: true
9037
- }, instance$e, create_fragment$f, safe_not_equal, {
9150
+ }, instance$e, create_fragment$g, safe_not_equal, {
9038
9151
  variant: 6,
9039
9152
  size: 7,
9040
9153
  message: 0,
@@ -9293,7 +9406,7 @@
9293
9406
  };
9294
9407
  }
9295
9408
 
9296
- function create_fragment$e(ctx) {
9409
+ function create_fragment$f(ctx) {
9297
9410
  let div;
9298
9411
  let slot;
9299
9412
  let t;
@@ -9493,7 +9606,7 @@
9493
9606
  target: this.shadowRoot,
9494
9607
  props: attribute_to_object(this.attributes),
9495
9608
  customElement: true
9496
- }, instance$d, create_fragment$e, safe_not_equal, {
9609
+ }, instance$d, create_fragment$f, safe_not_equal, {
9497
9610
  name: 1,
9498
9611
  value: 0,
9499
9612
  orientation: 2,
@@ -9589,7 +9702,7 @@
9589
9702
  customElements.define("goa-radio-group", RadioGroup);
9590
9703
  /* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
9591
9704
 
9592
- function create_fragment$d(ctx) {
9705
+ function create_fragment$e(ctx) {
9593
9706
  return {
9594
9707
  c() {
9595
9708
  this.c = noop;
@@ -9646,7 +9759,7 @@
9646
9759
  target: this.shadowRoot,
9647
9760
  props: attribute_to_object(this.attributes),
9648
9761
  customElement: true
9649
- }, instance$c, create_fragment$d, safe_not_equal, {
9762
+ }, instance$c, create_fragment$e, safe_not_equal, {
9650
9763
  value: 0,
9651
9764
  label: 1,
9652
9765
  name: 2
@@ -9706,7 +9819,7 @@
9706
9819
  customElements.define("goa-radio-item", RadioItem);
9707
9820
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
9708
9821
 
9709
- function create_fragment$c(ctx) {
9822
+ function create_fragment$d(ctx) {
9710
9823
  let div;
9711
9824
  let slot;
9712
9825
  let div_style_value;
@@ -9806,7 +9919,7 @@
9806
9919
  target: this.shadowRoot,
9807
9920
  props: attribute_to_object(this.attributes),
9808
9921
  customElement: true
9809
- }, instance$b, create_fragment$c, safe_not_equal, {
9922
+ }, instance$b, create_fragment$d, safe_not_equal, {
9810
9923
  direction: 0,
9811
9924
  hpadding: 1,
9812
9925
  vpadding: 2,
@@ -9890,7 +10003,7 @@
9890
10003
  div1 = element("div");
9891
10004
  div1.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
9892
10005
  attr(div0, "class", "service-level service-level--live");
9893
- attr(div1, "data-testid", "level");
10006
+ attr(div1, "data-testid", "type");
9894
10007
  attr(div1, "class", "site-text");
9895
10008
  },
9896
10009
 
@@ -9907,13 +10020,13 @@
9907
10020
  }
9908
10021
 
9909
10022
  };
9910
- } // (34:2) {#if ["alpha", "beta"].includes(level)}
10023
+ } // (34:2) {#if ["alpha", "beta"].includes(type)}
9911
10024
 
9912
10025
 
9913
10026
  function create_if_block_1$3(ctx) {
9914
10027
  let div0;
9915
10028
  let t0_value = capitalize(
9916
- /*level*/
10029
+ /*type*/
9917
10030
  ctx[0]) + "";
9918
10031
  let t0;
9919
10032
  let div0_class_value;
@@ -9936,9 +10049,9 @@
9936
10049
  a.textContent = "Alberta Government";
9937
10050
  t4 = text(" service\n ");
9938
10051
  if (if_block) if_block.c();
9939
- attr(div0, "data-testid", "level");
10052
+ attr(div0, "data-testid", "type");
9940
10053
  attr(div0, "class", div0_class_value = "service-level service-level--" +
9941
- /*level*/
10054
+ /*type*/
9942
10055
  ctx[0].toLowerCase());
9943
10056
  attr(a, "href", "https://www.alberta.ca/index.aspx");
9944
10057
  attr(div1, "data-testid", "site-text");
@@ -9958,15 +10071,15 @@
9958
10071
 
9959
10072
  p(ctx, dirty) {
9960
10073
  if (dirty &
9961
- /*level*/
10074
+ /*type*/
9962
10075
  1 && t0_value !== (t0_value = capitalize(
9963
- /*level*/
10076
+ /*type*/
9964
10077
  ctx[0]) + "")) set_data(t0, t0_value);
9965
10078
 
9966
10079
  if (dirty &
9967
- /*level*/
10080
+ /*type*/
9968
10081
  1 && div0_class_value !== (div0_class_value = "service-level service-level--" +
9969
- /*level*/
10082
+ /*type*/
9970
10083
  ctx[0].toLowerCase())) {
9971
10084
  attr(div0, "class", div0_class_value);
9972
10085
  }
@@ -10073,17 +10186,17 @@
10073
10186
  };
10074
10187
  }
10075
10188
 
10076
- function create_fragment$b(ctx) {
10189
+ function create_fragment$c(ctx) {
10077
10190
  let header;
10078
10191
  let t0;
10079
10192
  let show_if = ["alpha", "beta"].includes(
10080
- /*level*/
10193
+ /*type*/
10081
10194
  ctx[0]);
10082
10195
  let t1;
10083
10196
  let div;
10084
10197
  let t2;
10085
10198
  let if_block0 =
10086
- /*level*/
10199
+ /*type*/
10087
10200
  ctx[0] === "live" && create_if_block_3();
10088
10201
  let if_block1 = show_if && create_if_block_1$3(ctx);
10089
10202
  let if_block2 =
@@ -10117,7 +10230,7 @@
10117
10230
 
10118
10231
  p(ctx, [dirty]) {
10119
10232
  if (
10120
- /*level*/
10233
+ /*type*/
10121
10234
  ctx[0] === "live") {
10122
10235
  if (if_block0) ;else {
10123
10236
  if_block0 = create_if_block_3();
@@ -10130,9 +10243,9 @@
10130
10243
  }
10131
10244
 
10132
10245
  if (dirty &
10133
- /*level*/
10246
+ /*type*/
10134
10247
  1) show_if = ["alpha", "beta"].includes(
10135
- /*level*/
10248
+ /*type*/
10136
10249
  ctx[0]);
10137
10250
 
10138
10251
  if (show_if) {
@@ -10184,7 +10297,7 @@
10184
10297
 
10185
10298
  function instance$a($$self, $$props, $$invalidate) {
10186
10299
  let {
10187
- level
10300
+ type
10188
10301
  } = $$props;
10189
10302
  let {
10190
10303
  version
@@ -10194,24 +10307,24 @@
10194
10307
  } = $$props;
10195
10308
 
10196
10309
  $$self.$$set = $$props => {
10197
- if ('level' in $$props) $$invalidate(0, level = $$props.level);
10310
+ if ('type' in $$props) $$invalidate(0, type = $$props.type);
10198
10311
  if ('version' in $$props) $$invalidate(1, version = $$props.version);
10199
10312
  if ('feedbackurl' in $$props) $$invalidate(2, feedbackurl = $$props.feedbackurl);
10200
10313
  };
10201
10314
 
10202
- return [level, version, feedbackurl];
10315
+ return [type, version, feedbackurl];
10203
10316
  }
10204
10317
 
10205
10318
  class MicrositeHeader extends SvelteElement {
10206
10319
  constructor(options) {
10207
10320
  super();
10208
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-level{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>`;
10321
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>`;
10209
10322
  init(this, {
10210
10323
  target: this.shadowRoot,
10211
10324
  props: attribute_to_object(this.attributes),
10212
10325
  customElement: true
10213
- }, instance$a, create_fragment$b, safe_not_equal, {
10214
- level: 0,
10326
+ }, instance$a, create_fragment$c, safe_not_equal, {
10327
+ type: 0,
10215
10328
  version: 1,
10216
10329
  feedbackurl: 2
10217
10330
  }, null);
@@ -10229,16 +10342,16 @@
10229
10342
  }
10230
10343
 
10231
10344
  static get observedAttributes() {
10232
- return ["level", "version", "feedbackurl"];
10345
+ return ["type", "version", "feedbackurl"];
10233
10346
  }
10234
10347
 
10235
- get level() {
10348
+ get type() {
10236
10349
  return this.$$.ctx[0];
10237
10350
  }
10238
10351
 
10239
- set level(level) {
10352
+ set type(type) {
10240
10353
  this.$$set({
10241
- level
10354
+ type
10242
10355
  });
10243
10356
  flush();
10244
10357
  }
@@ -10726,7 +10839,7 @@
10726
10839
  };
10727
10840
  }
10728
10841
 
10729
- function create_fragment$a(ctx) {
10842
+ function create_fragment$b(ctx) {
10730
10843
  let current_block_type_index;
10731
10844
  let if_block;
10732
10845
  let if_block_anchor;
@@ -10839,7 +10952,7 @@
10839
10952
  target: this.shadowRoot,
10840
10953
  props: attribute_to_object(this.attributes),
10841
10954
  customElement: true
10842
- }, instance$9, create_fragment$a, safe_not_equal, {
10955
+ }, instance$9, create_fragment$b, safe_not_equal, {
10843
10956
  width: 0,
10844
10957
  size: 1,
10845
10958
  count: 2,
@@ -11221,7 +11334,7 @@
11221
11334
  };
11222
11335
  }
11223
11336
 
11224
- function create_fragment$9(ctx) {
11337
+ function create_fragment$a(ctx) {
11225
11338
  let if_block_anchor;
11226
11339
  let if_block =
11227
11340
  /*ready*/
@@ -11397,7 +11510,7 @@
11397
11510
  target: this.shadowRoot,
11398
11511
  props: attribute_to_object(this.attributes),
11399
11512
  customElement: true
11400
- }, instance$8, create_fragment$9, safe_not_equal, {
11513
+ }, instance$8, create_fragment$a, safe_not_equal, {
11401
11514
  size: 10,
11402
11515
  invert: 0,
11403
11516
  progress: 11,
@@ -11475,7 +11588,7 @@
11475
11588
  function select_block_type(ctx, dirty) {
11476
11589
  if (
11477
11590
  /*maxcharcount*/
11478
- ctx[6] > 0) return create_if_block_1$1;
11591
+ ctx[7] > 0) return create_if_block_1$1;
11479
11592
  if (
11480
11593
  /*value*/
11481
11594
  ctx[1].length > 0) return create_if_block_2;
@@ -11517,7 +11630,7 @@
11517
11630
  }
11518
11631
 
11519
11632
  };
11520
- } // (61:31)
11633
+ } // (63:31)
11521
11634
 
11522
11635
 
11523
11636
  function create_if_block_2(ctx) {
@@ -11551,7 +11664,7 @@
11551
11664
  }
11552
11665
 
11553
11666
  };
11554
- } // (55:4) {#if maxcharcount > 0}
11667
+ } // (57:4) {#if maxcharcount > 0}
11555
11668
 
11556
11669
 
11557
11670
  function create_if_block_1$1(ctx) {
@@ -11562,7 +11675,7 @@
11562
11675
  let t0;
11563
11676
  let t1_value = `/${
11564
11677
  /*maxcharcount*/
11565
- ctx[6]}` + "";
11678
+ ctx[7]}` + "";
11566
11679
  let t1;
11567
11680
  return {
11568
11681
  c() {
@@ -11574,7 +11687,7 @@
11574
11687
  /*value*/
11575
11688
  ctx[1].length >
11576
11689
  /*maxcharcount*/
11577
- ctx[6]);
11690
+ ctx[7]);
11578
11691
  },
11579
11692
 
11580
11693
  m(target, anchor) {
@@ -11591,18 +11704,18 @@
11591
11704
  ctx[1].length + "")) set_data(t0, t0_value);
11592
11705
  if (dirty &
11593
11706
  /*maxcharcount*/
11594
- 64 && t1_value !== (t1_value = `/${
11707
+ 128 && t1_value !== (t1_value = `/${
11595
11708
  /*maxcharcount*/
11596
- ctx[6]}` + "")) set_data(t1, t1_value);
11709
+ ctx[7]}` + "")) set_data(t1, t1_value);
11597
11710
 
11598
11711
  if (dirty &
11599
11712
  /*value, maxcharcount*/
11600
- 66) {
11713
+ 130) {
11601
11714
  toggle_class(div, "counter-error",
11602
11715
  /*value*/
11603
11716
  ctx[1].length >
11604
11717
  /*maxcharcount*/
11605
- ctx[6]);
11718
+ ctx[7]);
11606
11719
  }
11607
11720
  },
11608
11721
 
@@ -11613,16 +11726,17 @@
11613
11726
  };
11614
11727
  }
11615
11728
 
11616
- function create_fragment$8(ctx) {
11729
+ function create_fragment$9(ctx) {
11617
11730
  let div;
11618
11731
  let textarea;
11732
+ let textarea_aria_label_value;
11619
11733
  let t;
11620
11734
  let div_style_value;
11621
11735
  let mounted;
11622
11736
  let dispose;
11623
11737
  let if_block =
11624
11738
  /*showCounter*/
11625
- ctx[8] && create_if_block$3(ctx);
11739
+ ctx[9] && create_if_block$3(ctx);
11626
11740
  return {
11627
11741
  c() {
11628
11742
  div = element("div");
@@ -11642,19 +11756,24 @@
11642
11756
  attr(textarea, "rows",
11643
11757
  /*rows*/
11644
11758
  ctx[3]);
11759
+ attr(textarea, "aria-label", textarea_aria_label_value =
11760
+ /*arialabel*/
11761
+ ctx[6] ||
11762
+ /*name*/
11763
+ ctx[0]);
11645
11764
  attr(textarea, "class", "goa-textarea");
11646
11765
  textarea.disabled =
11647
11766
  /*isDisabled*/
11648
- ctx[7];
11767
+ ctx[8];
11649
11768
  textarea.readOnly =
11650
11769
  /*isReadonly*/
11651
- ctx[9];
11770
+ ctx[10];
11652
11771
  attr(textarea, "data-testid",
11653
11772
  /*testid*/
11654
11773
  ctx[4]);
11655
11774
  toggle_class(textarea, "error",
11656
11775
  /*isError*/
11657
- ctx[10]);
11776
+ ctx[11]);
11658
11777
  attr(div, "class", "container");
11659
11778
  attr(div, "style", div_style_value = `
11660
11779
  --width: ${
@@ -11672,7 +11791,7 @@
11672
11791
  if (!mounted) {
11673
11792
  dispose = listen(textarea, "keyup",
11674
11793
  /*onChange*/
11675
- ctx[11]);
11794
+ ctx[12]);
11676
11795
  mounted = true;
11677
11796
  }
11678
11797
  },
@@ -11710,20 +11829,30 @@
11710
11829
  ctx[3]);
11711
11830
  }
11712
11831
 
11832
+ if (dirty &
11833
+ /*arialabel, name*/
11834
+ 65 && textarea_aria_label_value !== (textarea_aria_label_value =
11835
+ /*arialabel*/
11836
+ ctx[6] ||
11837
+ /*name*/
11838
+ ctx[0])) {
11839
+ attr(textarea, "aria-label", textarea_aria_label_value);
11840
+ }
11841
+
11713
11842
  if (dirty &
11714
11843
  /*isDisabled*/
11715
- 128) {
11844
+ 256) {
11716
11845
  textarea.disabled =
11717
11846
  /*isDisabled*/
11718
- ctx[7];
11847
+ ctx[8];
11719
11848
  }
11720
11849
 
11721
11850
  if (dirty &
11722
11851
  /*isReadonly*/
11723
- 512) {
11852
+ 1024) {
11724
11853
  textarea.readOnly =
11725
11854
  /*isReadonly*/
11726
- ctx[9];
11855
+ ctx[10];
11727
11856
  }
11728
11857
 
11729
11858
  if (dirty &
@@ -11736,15 +11865,15 @@
11736
11865
 
11737
11866
  if (dirty &
11738
11867
  /*isError*/
11739
- 1024) {
11868
+ 2048) {
11740
11869
  toggle_class(textarea, "error",
11741
11870
  /*isError*/
11742
- ctx[10]);
11871
+ ctx[11]);
11743
11872
  }
11744
11873
 
11745
11874
  if (
11746
11875
  /*showCounter*/
11747
- ctx[8]) {
11876
+ ctx[9]) {
11748
11877
  if (if_block) {
11749
11878
  if_block.p(ctx, dirty);
11750
11879
  } else {
@@ -11813,6 +11942,9 @@
11813
11942
  let {
11814
11943
  disabled = "false"
11815
11944
  } = $$props;
11945
+ let {
11946
+ arialabel = ""
11947
+ } = $$props;
11816
11948
  let {
11817
11949
  showcounter = "false"
11818
11950
  } = $$props;
@@ -11844,40 +11976,41 @@
11844
11976
  if ('rows' in $$props) $$invalidate(3, rows = $$props.rows);
11845
11977
  if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
11846
11978
  if ('width' in $$props) $$invalidate(5, width = $$props.width);
11847
- if ('error' in $$props) $$invalidate(12, error = $$props.error);
11848
- if ('readonly' in $$props) $$invalidate(13, readonly = $$props.readonly);
11849
- if ('disabled' in $$props) $$invalidate(14, disabled = $$props.disabled);
11850
- if ('showcounter' in $$props) $$invalidate(15, showcounter = $$props.showcounter);
11851
- if ('maxcharcount' in $$props) $$invalidate(6, maxcharcount = $$props.maxcharcount);
11979
+ if ('error' in $$props) $$invalidate(13, error = $$props.error);
11980
+ if ('readonly' in $$props) $$invalidate(14, readonly = $$props.readonly);
11981
+ if ('disabled' in $$props) $$invalidate(15, disabled = $$props.disabled);
11982
+ if ('arialabel' in $$props) $$invalidate(6, arialabel = $$props.arialabel);
11983
+ if ('showcounter' in $$props) $$invalidate(16, showcounter = $$props.showcounter);
11984
+ if ('maxcharcount' in $$props) $$invalidate(7, maxcharcount = $$props.maxcharcount);
11852
11985
  };
11853
11986
 
11854
11987
  $$self.$$.update = () => {
11855
11988
  if ($$self.$$.dirty &
11856
11989
  /*error*/
11857
- 4096) {
11858
- $$invalidate(10, isError = toBoolean(error));
11990
+ 8192) {
11991
+ $$invalidate(11, isError = toBoolean(error));
11859
11992
  }
11860
11993
 
11861
11994
  if ($$self.$$.dirty &
11862
11995
  /*disabled*/
11863
- 16384) {
11864
- $$invalidate(7, isDisabled = toBoolean(disabled));
11996
+ 32768) {
11997
+ $$invalidate(8, isDisabled = toBoolean(disabled));
11865
11998
  }
11866
11999
 
11867
12000
  if ($$self.$$.dirty &
11868
12001
  /*readonly*/
11869
- 8192) {
11870
- $$invalidate(9, isReadonly = toBoolean(readonly));
12002
+ 16384) {
12003
+ $$invalidate(10, isReadonly = toBoolean(readonly));
11871
12004
  }
11872
12005
 
11873
12006
  if ($$self.$$.dirty &
11874
12007
  /*showcounter*/
11875
- 32768) {
11876
- $$invalidate(8, showCounter = toBoolean(showcounter));
12008
+ 65536) {
12009
+ $$invalidate(9, showCounter = toBoolean(showcounter));
11877
12010
  }
11878
12011
  };
11879
12012
 
11880
- return [name, value, placeholder, rows, testid, width, maxcharcount, isDisabled, showCounter, isReadonly, isError, onChange, error, readonly, disabled, showcounter];
12013
+ return [name, value, placeholder, rows, testid, width, arialabel, maxcharcount, isDisabled, showCounter, isReadonly, isError, onChange, error, readonly, disabled, showcounter];
11881
12014
  }
11882
12015
 
11883
12016
  class TextArea extends SvelteElement {
@@ -11889,18 +12022,19 @@
11889
12022
  target: this.shadowRoot,
11890
12023
  props: attribute_to_object(this.attributes),
11891
12024
  customElement: true
11892
- }, instance$7, create_fragment$8, safe_not_equal, {
12025
+ }, instance$7, create_fragment$9, safe_not_equal, {
11893
12026
  name: 0,
11894
12027
  value: 1,
11895
12028
  placeholder: 2,
11896
12029
  rows: 3,
11897
12030
  testid: 4,
11898
12031
  width: 5,
11899
- error: 12,
11900
- readonly: 13,
11901
- disabled: 14,
11902
- showcounter: 15,
11903
- maxcharcount: 6
12032
+ error: 13,
12033
+ readonly: 14,
12034
+ disabled: 15,
12035
+ arialabel: 6,
12036
+ showcounter: 16,
12037
+ maxcharcount: 7
11904
12038
  }, null);
11905
12039
 
11906
12040
  if (options) {
@@ -11916,7 +12050,7 @@
11916
12050
  }
11917
12051
 
11918
12052
  static get observedAttributes() {
11919
- return ["name", "value", "placeholder", "rows", "testid", "width", "error", "readonly", "disabled", "showcounter", "maxcharcount"];
12053
+ return ["name", "value", "placeholder", "rows", "testid", "width", "error", "readonly", "disabled", "arialabel", "showcounter", "maxcharcount"];
11920
12054
  }
11921
12055
 
11922
12056
  get name() {
@@ -11986,7 +12120,7 @@
11986
12120
  }
11987
12121
 
11988
12122
  get error() {
11989
- return this.$$.ctx[12];
12123
+ return this.$$.ctx[13];
11990
12124
  }
11991
12125
 
11992
12126
  set error(error) {
@@ -11997,7 +12131,7 @@
11997
12131
  }
11998
12132
 
11999
12133
  get readonly() {
12000
- return this.$$.ctx[13];
12134
+ return this.$$.ctx[14];
12001
12135
  }
12002
12136
 
12003
12137
  set readonly(readonly) {
@@ -12008,7 +12142,7 @@
12008
12142
  }
12009
12143
 
12010
12144
  get disabled() {
12011
- return this.$$.ctx[14];
12145
+ return this.$$.ctx[15];
12012
12146
  }
12013
12147
 
12014
12148
  set disabled(disabled) {
@@ -12018,8 +12152,19 @@
12018
12152
  flush();
12019
12153
  }
12020
12154
 
12155
+ get arialabel() {
12156
+ return this.$$.ctx[6];
12157
+ }
12158
+
12159
+ set arialabel(arialabel) {
12160
+ this.$$set({
12161
+ arialabel
12162
+ });
12163
+ flush();
12164
+ }
12165
+
12021
12166
  get showcounter() {
12022
- return this.$$.ctx[15];
12167
+ return this.$$.ctx[16];
12023
12168
  }
12024
12169
 
12025
12170
  set showcounter(showcounter) {
@@ -12030,7 +12175,7 @@
12030
12175
  }
12031
12176
 
12032
12177
  get maxcharcount() {
12033
- return this.$$.ctx[6];
12178
+ return this.$$.ctx[7];
12034
12179
  }
12035
12180
 
12036
12181
  set maxcharcount(maxcharcount) {
@@ -12045,7 +12190,7 @@
12045
12190
  customElements.define("goa-textarea", TextArea);
12046
12191
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
12047
12192
 
12048
- function create_fragment$7(ctx) {
12193
+ function create_fragment$8(ctx) {
12049
12194
  let div;
12050
12195
  return {
12051
12196
  c() {
@@ -12267,7 +12412,7 @@
12267
12412
  target: this.shadowRoot,
12268
12413
  props: attribute_to_object(this.attributes),
12269
12414
  customElement: true
12270
- }, instance$6, create_fragment$7, safe_not_equal, {
12415
+ }, instance$6, create_fragment$8, safe_not_equal, {
12271
12416
  active: 1
12272
12417
  }, null);
12273
12418
 
@@ -12322,10 +12467,10 @@
12322
12467
  };
12323
12468
  }
12324
12469
 
12325
- function create_fragment$6(ctx) {
12470
+ function create_fragment$7(ctx) {
12326
12471
  var _ctx$;
12327
12472
 
12328
- let footer;
12473
+ let div4;
12329
12474
  let div0;
12330
12475
  let t0;
12331
12476
  let t1;
@@ -12343,7 +12488,7 @@
12343
12488
  c() {
12344
12489
  var _ctx$2, _ctx$3;
12345
12490
 
12346
- footer = element("footer");
12491
+ div4 = element("div");
12347
12492
  div0 = element("div");
12348
12493
  div0.innerHTML = `<slot name="nav"></slot>`;
12349
12494
  t0 = space();
@@ -12375,25 +12520,25 @@
12375
12520
  toggle_class(div3, "with-meta-links",
12376
12521
  /*metaLinks*/
12377
12522
  (_ctx$3 = ctx[2]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
12378
- attr(footer, "class", "app-footer");
12523
+ attr(div4, "class", "app-footer");
12379
12524
  },
12380
12525
 
12381
12526
  m(target, anchor) {
12382
- insert(target, footer, anchor);
12383
- append(footer, div0);
12384
- append(footer, t0);
12385
- if (if_block) if_block.m(footer, null);
12386
- append(footer, t1);
12387
- append(footer, div3);
12527
+ insert(target, div4, anchor);
12528
+ append(div4, div0);
12529
+ append(div4, t0);
12530
+ if (if_block) if_block.m(div4, null);
12531
+ append(div4, t1);
12532
+ append(div4, div3);
12388
12533
  append(div3, div1);
12389
12534
  append(div3, t2);
12390
12535
  append(div3, div2);
12391
12536
  append(div2, a0);
12392
12537
  append(div2, t3);
12393
12538
  append(div2, a1);
12394
- /*footer_binding*/
12539
+ /*div4_binding*/
12395
12540
 
12396
- ctx[4](footer);
12541
+ ctx[4](div4);
12397
12542
  },
12398
12543
 
12399
12544
  p(ctx, [dirty]) {
@@ -12405,7 +12550,7 @@
12405
12550
  if (if_block) ;else {
12406
12551
  if_block = create_if_block$2();
12407
12552
  if_block.c();
12408
- if_block.m(footer, t1);
12553
+ if_block.m(div4, t1);
12409
12554
  }
12410
12555
  } else if (if_block) {
12411
12556
  if_block.d(1);
@@ -12437,9 +12582,9 @@
12437
12582
  o: noop,
12438
12583
 
12439
12584
  d(detaching) {
12440
- if (detaching) detach(footer);
12585
+ if (detaching) detach(div4);
12441
12586
  if (if_block) if_block.d();
12442
- /*footer_binding*/
12587
+ /*div4_binding*/
12443
12588
 
12444
12589
  ctx[4](null);
12445
12590
  }
@@ -12461,25 +12606,25 @@
12461
12606
  });
12462
12607
  });
12463
12608
 
12464
- function footer_binding($$value) {
12609
+ function div4_binding($$value) {
12465
12610
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
12466
12611
  rootEl = $$value;
12467
12612
  $$invalidate(0, rootEl);
12468
12613
  });
12469
12614
  }
12470
12615
 
12471
- return [rootEl, navLinks, metaLinks, year, footer_binding];
12616
+ return [rootEl, navLinks, metaLinks, year, div4_binding];
12472
12617
  }
12473
12618
 
12474
12619
  class Footer extends SvelteElement {
12475
12620
  constructor(options) {
12476
12621
  super();
12477
- this.shadowRoot.innerHTML = `<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;margin-top:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
12622
+ this.shadowRoot.innerHTML = `<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
12478
12623
  init(this, {
12479
12624
  target: this.shadowRoot,
12480
12625
  props: attribute_to_object(this.attributes),
12481
12626
  customElement: true
12482
- }, instance$5, create_fragment$6, safe_not_equal, {}, null);
12627
+ }, instance$5, create_fragment$7, safe_not_equal, {}, null);
12483
12628
 
12484
12629
  if (options) {
12485
12630
  if (options.target) {
@@ -12589,7 +12734,7 @@
12589
12734
  };
12590
12735
  }
12591
12736
 
12592
- function create_fragment$5(ctx) {
12737
+ function create_fragment$6(ctx) {
12593
12738
  let section;
12594
12739
  let t0;
12595
12740
  let div;
@@ -12794,7 +12939,7 @@
12794
12939
  target: this.shadowRoot,
12795
12940
  props: attribute_to_object(this.attributes),
12796
12941
  customElement: true
12797
- }, instance$4, create_fragment$5, safe_not_equal, {
12942
+ }, instance$4, create_fragment$6, safe_not_equal, {
12798
12943
  name: 0,
12799
12944
  maxcolumncount: 1
12800
12945
  }, null);
@@ -12896,7 +13041,7 @@
12896
13041
  };
12897
13042
  }
12898
13043
 
12899
- function create_fragment$4(ctx) {
13044
+ function create_fragment$5(ctx) {
12900
13045
  let section;
12901
13046
  let div;
12902
13047
  let t;
@@ -13019,7 +13164,7 @@
13019
13164
  target: this.shadowRoot,
13020
13165
  props: attribute_to_object(this.attributes),
13021
13166
  customElement: true
13022
- }, instance$3, create_fragment$4, safe_not_equal, {}, null);
13167
+ }, instance$3, create_fragment$5, safe_not_equal, {}, null);
13023
13168
 
13024
13169
  if (options) {
13025
13170
  if (options.target) {
@@ -13033,7 +13178,7 @@
13033
13178
  customElements.define("goa-app-footer-meta-section", FooterMetaSection);
13034
13179
  /* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
13035
13180
 
13036
- function create_fragment$3(ctx) {
13181
+ function create_fragment$4(ctx) {
13037
13182
  let div;
13038
13183
  let slot;
13039
13184
  return {
@@ -13102,7 +13247,7 @@
13102
13247
  target: this.shadowRoot,
13103
13248
  props: attribute_to_object(this.attributes),
13104
13249
  customElement: true
13105
- }, instance$2, create_fragment$3, safe_not_equal, {
13250
+ }, instance$2, create_fragment$4, safe_not_equal, {
13106
13251
  gap: 1
13107
13252
  }, null);
13108
13253
 
@@ -13136,6 +13281,64 @@
13136
13281
  }
13137
13282
 
13138
13283
  customElements.define("goa-flex-col", FlexColumn);
13284
+ /* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.49.0 */
13285
+
13286
+ function create_fragment$3(ctx) {
13287
+ let div;
13288
+ return {
13289
+ c() {
13290
+ div = element("div");
13291
+ div.innerHTML = `<header class="header"><slot name="header"></slot></header>
13292
+
13293
+ <nav class="nav"><slot name="nav"></slot></nav>
13294
+
13295
+ <main><slot></slot></main>
13296
+
13297
+ <footer class="footer"><slot name="footer"></slot></footer>`;
13298
+ this.c = noop;
13299
+ attr(div, "class", "page");
13300
+ },
13301
+
13302
+ m(target, anchor) {
13303
+ insert(target, div, anchor);
13304
+ },
13305
+
13306
+ p: noop,
13307
+ i: noop,
13308
+ o: noop,
13309
+
13310
+ d(detaching) {
13311
+ if (detaching) detach(div);
13312
+ }
13313
+
13314
+ };
13315
+ }
13316
+
13317
+ class FullScreenNavbarLayout extends SvelteElement {
13318
+ constructor(options) {
13319
+ super();
13320
+ this.shadowRoot.innerHTML = `<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
13321
+ "content"
13322
+ "nav"
13323
+ "footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
13324
+ "nav content"
13325
+ "footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-gray-100)}</style>`;
13326
+ init(this, {
13327
+ target: this.shadowRoot,
13328
+ props: attribute_to_object(this.attributes),
13329
+ customElement: true
13330
+ }, null, create_fragment$3, safe_not_equal, {}, null);
13331
+
13332
+ if (options) {
13333
+ if (options.target) {
13334
+ insert(options.target, this, options.anchor);
13335
+ }
13336
+ }
13337
+ }
13338
+
13339
+ }
13340
+
13341
+ customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
13139
13342
  /* libs/web-components/src/components/container/ContainerWrapper.test.svelte generated by Svelte v3.49.0 */
13140
13343
 
13141
13344
  function create_if_block_1(ctx) {
@@ -13610,40 +13813,44 @@
13610
13813
  };
13611
13814
  var GoAInfoBadge = function GoAInfoBadge(_a) {
13612
13815
  var content = _a.content,
13613
- testId = _a.testId;
13816
+ testId = _a.testId,
13817
+ icon = _a.icon;
13614
13818
  return jsxRuntime.jsx(GoABadge, {
13615
13819
  type: "information",
13616
- icon: "information-circle",
13820
+ icon: icon,
13617
13821
  content: content,
13618
13822
  testId: testId
13619
13823
  }, void 0);
13620
13824
  };
13621
13825
  var GoASuccessBadge = function GoASuccessBadge(_a) {
13622
13826
  var content = _a.content,
13623
- testId = _a.testId;
13827
+ testId = _a.testId,
13828
+ icon = _a.icon;
13624
13829
  return jsxRuntime.jsx(GoABadge, {
13625
13830
  type: "success",
13626
- icon: "checkmark-circle",
13831
+ icon: icon,
13627
13832
  content: content,
13628
13833
  testId: testId
13629
13834
  }, void 0);
13630
13835
  };
13631
- var GoAWarningBadge = function GoAWarningBadge(_a) {
13836
+ var GoAImportantBadge = function GoAImportantBadge(_a) {
13632
13837
  var content = _a.content,
13633
- testId = _a.testId;
13838
+ testId = _a.testId,
13839
+ icon = _a.icon;
13634
13840
  return jsxRuntime.jsx(GoABadge, {
13635
- type: "warning",
13636
- icon: "warning",
13841
+ type: "important",
13842
+ icon: icon,
13637
13843
  content: content,
13638
13844
  testId: testId
13639
13845
  }, void 0);
13640
13846
  };
13641
13847
  var GoAEmergencyBadge = function GoAEmergencyBadge(_a) {
13642
13848
  var content = _a.content,
13643
- testId = _a.testId;
13849
+ testId = _a.testId,
13850
+ icon = _a.icon;
13644
13851
  return jsxRuntime.jsx(GoABadge, {
13645
13852
  type: "emergency",
13646
- icon: "alert-circle",
13853
+ icon: icon,
13647
13854
  content: content,
13648
13855
  testId: testId
13649
13856
  }, void 0);
@@ -13705,6 +13912,9 @@
13705
13912
  showCounter = _a.showCounter,
13706
13913
  maxCharCount = _a.maxCharCount,
13707
13914
  testId = _a.testId,
13915
+ min = _a.min,
13916
+ max = _a.max,
13917
+ step = _a.step,
13708
13918
  onTrailingIconClick = _a.onTrailingIconClick,
13709
13919
  onChange = _a.onChange;
13710
13920
  var ref = react.useRef(null);
@@ -13749,6 +13959,9 @@
13749
13959
  "data-testid": testId,
13750
13960
  value: value,
13751
13961
  width: width,
13962
+ min: min,
13963
+ max: max,
13964
+ step: step,
13752
13965
  showcounter: showCounter,
13753
13966
  maxcharcount: maxCharCount,
13754
13967
  handletrailingiconclick: !!onTrailingIconClick
@@ -13818,16 +14031,20 @@
13818
14031
  type: "month"
13819
14032
  }), void 0);
13820
14033
  };
13821
- var GoAInputNumber = function GoAInputNumber(props) {
14034
+ var GoAInputNumber = function GoAInputNumber(_a) {
14035
+ var min = _a.min,
14036
+ max = _a.max,
14037
+ value = _a.value,
14038
+ props = __rest(_a, ["min", "max", "value"]);
14039
+
13822
14040
  return jsxRuntime.jsx(GoAInput, __assign({}, props, {
13823
- value: props.value.toString(),
14041
+ min: min === null || min === void 0 ? void 0 : min.toString(),
14042
+ max: max === null || max === void 0 ? void 0 : max.toString(),
14043
+ value: value.toString(),
13824
14044
  type: "number"
13825
14045
  }), void 0);
13826
14046
  };
13827
- var GoAInputRange = function GoAInputRange(_a) {
13828
- _a.step;
13829
- var props = __rest(_a, ["step"]);
13830
-
14047
+ var GoAInputRange = function GoAInputRange(props) {
13831
14048
  return jsxRuntime.jsx(GoAInput, __assign({}, props, {
13832
14049
  type: "range"
13833
14050
  }), void 0);
@@ -14217,11 +14434,11 @@
14217
14434
  };
14218
14435
 
14219
14436
  var GoAMicrositeHeader = function GoAMicrositeHeader(_a) {
14220
- var level = _a.level,
14437
+ var type = _a.type,
14221
14438
  version = _a.version,
14222
14439
  feedbackUrl = _a.feedbackUrl;
14223
14440
  return jsxRuntime.jsx("goa-microsite-header", {
14224
- level: level,
14441
+ type: type,
14225
14442
  version: version,
14226
14443
  feedbackurl: feedbackUrl
14227
14444
  }, void 0);
@@ -14503,6 +14720,7 @@
14503
14720
  exports.GoAHeroBannerActions = GoAHeroBannerActions;
14504
14721
  exports.GoAIcon = GoAIcon;
14505
14722
  exports.GoAIconButton = GoAIconButton;
14723
+ exports.GoAImportantBadge = GoAImportantBadge;
14506
14724
  exports.GoAInfoBadge = GoAInfoBadge;
14507
14725
  exports.GoAInput = GoAInput;
14508
14726
  exports.GoAInputDate = GoAInputDate;
@@ -14529,7 +14747,6 @@
14529
14747
  exports.GoASpinner = GoASpinner;
14530
14748
  exports.GoASuccessBadge = GoASuccessBadge;
14531
14749
  exports.GoATextArea = GoATextArea;
14532
- exports.GoAWarningBadge = GoAWarningBadge;
14533
14750
 
14534
14751
  Object.defineProperty(exports, '__esModule', { value: true });
14535
14752