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

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.
@@ -4013,7 +4013,7 @@
4013
4013
  ctx[1]);
4014
4014
  attr(div2, "class", "content");
4015
4015
  attr(div3, "class", div3_class_value = `
4016
- goa-container
4016
+ goa-container
4017
4017
  goa-container--${
4018
4018
  /*variant*/
4019
4019
  ctx[0]}
@@ -4048,7 +4048,7 @@
4048
4048
  if (dirty &
4049
4049
  /*variant, padding*/
4050
4050
  5 && div3_class_value !== (div3_class_value = `
4051
- goa-container
4051
+ goa-container
4052
4052
  goa-container--${
4053
4053
  /*variant*/
4054
4054
  ctx[0]}
@@ -4082,7 +4082,7 @@
4082
4082
  let _colored;
4083
4083
 
4084
4084
  let {
4085
- variant = 'default'
4085
+ variant = 'non-interactive'
4086
4086
  } = $$props;
4087
4087
  let {
4088
4088
  colored = "false"
@@ -4115,7 +4115,7 @@
4115
4115
  class Container extends SvelteElement {
4116
4116
  constructor(options) {
4117
4117
  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>`;
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--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
4119
  init(this, {
4120
4120
  target: this.shadowRoot,
4121
4121
  props: attribute_to_object(this.attributes),
@@ -4291,10 +4291,10 @@
4291
4291
 
4292
4292
  function get_each_context$4(ctx, list, i) {
4293
4293
  const child_ctx = ctx.slice();
4294
- child_ctx[35] = list[i];
4295
- child_ctx[37] = i;
4294
+ child_ctx[36] = list[i];
4295
+ child_ctx[38] = i;
4296
4296
  return child_ctx;
4297
- } // (179:2) {#if isMenuVisible}
4297
+ } // (180:2) {#if isMenuVisible}
4298
4298
 
4299
4299
 
4300
4300
  function create_if_block$d(ctx) {
@@ -4317,7 +4317,7 @@
4317
4317
  if (!mounted) {
4318
4318
  dispose = listen(div, "click",
4319
4319
  /*closeMenu*/
4320
- ctx[17]);
4320
+ ctx[18]);
4321
4321
  mounted = true;
4322
4322
  }
4323
4323
  },
@@ -4339,16 +4339,17 @@
4339
4339
  }
4340
4340
 
4341
4341
  };
4342
- } // (215:4) {#each options as option, index (option.value)}
4342
+ } // (216:4) {#each options as option, index (option.value)}
4343
4343
 
4344
4344
 
4345
4345
  function create_each_block$4(key_1, ctx) {
4346
4346
  let li;
4347
4347
  let t0_value =
4348
4348
  /*option*/
4349
- ctx[35].label + "";
4349
+ ctx[36].label + "";
4350
4350
  let t0;
4351
4351
  let t1;
4352
+ let li_aria_label_value;
4352
4353
  let li_data_testid_value;
4353
4354
  let li_data_index_value;
4354
4355
  let li_style_value;
@@ -4358,9 +4359,9 @@
4358
4359
  function click_handler() {
4359
4360
  return (
4360
4361
  /*click_handler*/
4361
- ctx[21](
4362
+ ctx[22](
4362
4363
  /*option*/
4363
- ctx[35])
4364
+ ctx[36])
4364
4365
  );
4365
4366
  }
4366
4367
 
@@ -4372,25 +4373,30 @@
4372
4373
  li = element("li");
4373
4374
  t0 = text(t0_value);
4374
4375
  t1 = space();
4376
+ attr(li, "aria-label", li_aria_label_value =
4377
+ /*option*/
4378
+ ctx[36].label ||
4379
+ /*option*/
4380
+ ctx[36].value);
4375
4381
  attr(li, "data-testid", li_data_testid_value = `${
4376
4382
  /*option*/
4377
- ctx[35].value}-dropdown-item`);
4383
+ ctx[36].value}-dropdown-item`);
4378
4384
  attr(li, "data-index", li_data_index_value =
4379
4385
  /*index*/
4380
- ctx[37]);
4386
+ ctx[38]);
4381
4387
  attr(li, "class", "goa-dropdown-option");
4382
4388
  attr(li, "style", li_style_value = `display: ${"block"}`);
4383
4389
  toggle_class(li, "goa-dropdown-option--disabled", false);
4384
4390
  toggle_class(li, "goa-dropdown-option--tabbed",
4385
4391
  /*index*/
4386
- ctx[37] ===
4392
+ ctx[38] ===
4387
4393
  /*highlightedIndex*/
4388
- ctx[12]);
4394
+ ctx[13]);
4389
4395
  toggle_class(li, "goa-dropdown-option--selected",
4390
4396
  /*_values*/
4391
- ctx[8].includes(
4397
+ ctx[9].includes(
4392
4398
  /*option*/
4393
- ctx[35].value));
4399
+ ctx[36].value));
4394
4400
  this.first = li;
4395
4401
  },
4396
4402
 
@@ -4409,44 +4415,54 @@
4409
4415
  ctx = new_ctx;
4410
4416
  if (dirty[0] &
4411
4417
  /*options*/
4412
- 512 && t0_value !== (t0_value =
4418
+ 1024 && t0_value !== (t0_value =
4413
4419
  /*option*/
4414
- ctx[35].label + "")) set_data(t0, t0_value);
4420
+ ctx[36].label + "")) set_data(t0, t0_value);
4421
+
4422
+ if (dirty[0] &
4423
+ /*options*/
4424
+ 1024 && li_aria_label_value !== (li_aria_label_value =
4425
+ /*option*/
4426
+ ctx[36].label ||
4427
+ /*option*/
4428
+ ctx[36].value)) {
4429
+ attr(li, "aria-label", li_aria_label_value);
4430
+ }
4415
4431
 
4416
4432
  if (dirty[0] &
4417
4433
  /*options*/
4418
- 512 && li_data_testid_value !== (li_data_testid_value = `${
4434
+ 1024 && li_data_testid_value !== (li_data_testid_value = `${
4419
4435
  /*option*/
4420
- ctx[35].value}-dropdown-item`)) {
4436
+ ctx[36].value}-dropdown-item`)) {
4421
4437
  attr(li, "data-testid", li_data_testid_value);
4422
4438
  }
4423
4439
 
4424
4440
  if (dirty[0] &
4425
4441
  /*options*/
4426
- 512 && li_data_index_value !== (li_data_index_value =
4442
+ 1024 && li_data_index_value !== (li_data_index_value =
4427
4443
  /*index*/
4428
- ctx[37])) {
4444
+ ctx[38])) {
4429
4445
  attr(li, "data-index", li_data_index_value);
4430
4446
  }
4431
4447
 
4432
4448
  if (dirty[0] &
4433
4449
  /*options, highlightedIndex*/
4434
- 4608) {
4450
+ 9216) {
4435
4451
  toggle_class(li, "goa-dropdown-option--tabbed",
4436
4452
  /*index*/
4437
- ctx[37] ===
4453
+ ctx[38] ===
4438
4454
  /*highlightedIndex*/
4439
- ctx[12]);
4455
+ ctx[13]);
4440
4456
  }
4441
4457
 
4442
4458
  if (dirty[0] &
4443
4459
  /*_values, options*/
4444
- 768) {
4460
+ 1536) {
4445
4461
  toggle_class(li, "goa-dropdown-option--selected",
4446
4462
  /*_values*/
4447
- ctx[8].includes(
4463
+ ctx[9].includes(
4448
4464
  /*option*/
4449
- ctx[35].value));
4465
+ ctx[36].value));
4450
4466
  }
4451
4467
  },
4452
4468
 
@@ -4465,6 +4481,7 @@
4465
4481
  let div0;
4466
4482
  let goa_input;
4467
4483
  let goa_input_id_value;
4484
+ let goa_input_aria_label_value;
4468
4485
  let div0_data_testid_value;
4469
4486
  let t1;
4470
4487
  let ul;
@@ -4478,14 +4495,14 @@
4478
4495
  let dispose;
4479
4496
  let if_block =
4480
4497
  /*isMenuVisible*/
4481
- ctx[11] && create_if_block$d(ctx);
4498
+ ctx[12] && create_if_block$d(ctx);
4482
4499
  let each_value =
4483
4500
  /*options*/
4484
- ctx[9];
4501
+ ctx[10];
4485
4502
 
4486
4503
  const get_key = ctx =>
4487
4504
  /*option*/
4488
- ctx[35].value;
4505
+ ctx[36].value;
4489
4506
 
4490
4507
  for (let i = 0; i < each_value.length; i += 1) {
4491
4508
  let child_ctx = get_each_context$4(ctx, each_value, i);
@@ -4512,27 +4529,31 @@
4512
4529
  this.c = noop;
4513
4530
  set_custom_element_data(goa_input, "error",
4514
4531
  /*error*/
4515
- ctx[7]);
4532
+ ctx[8]);
4516
4533
  set_custom_element_data(goa_input, "disabled",
4517
4534
  /*disabled*/
4518
- ctx[6]);
4535
+ ctx[7]);
4519
4536
  set_custom_element_data(goa_input, "leadingicon",
4520
4537
  /*leadingicon*/
4521
- ctx[1]);
4538
+ ctx[2]);
4522
4539
  set_custom_element_data(goa_input, "placeholder",
4523
4540
  /*placeholder*/
4524
- ctx[3]);
4541
+ ctx[4]);
4525
4542
  set_custom_element_data(goa_input, "width", "100%");
4526
4543
  set_custom_element_data(goa_input, "id", goa_input_id_value = `${
4527
4544
  /*name*/
4528
4545
  ctx[0]}-dropdown-input`);
4529
- set_custom_element_data(goa_input, "name", "search");
4546
+ set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value =
4547
+ /*arialabel*/
4548
+ ctx[1] ||
4549
+ /*name*/
4550
+ ctx[0]);
4530
4551
  set_custom_element_data(goa_input, "readonly", "");
4531
4552
  set_custom_element_data(goa_input, "trailingicon", "chevron-down");
4532
4553
  set_custom_element_data(goa_input, "type", "text");
4533
4554
  set_custom_element_data(goa_input, "value",
4534
4555
  /*selectedLabel*/
4535
- ctx[10]);
4556
+ ctx[11]);
4536
4557
  attr(div0, "data-testid", div0_data_testid_value = `${
4537
4558
  /*name*/
4538
4559
  ctx[0]}-dropdown`);
@@ -4541,19 +4562,19 @@
4541
4562
  attr(ul, "class", "goa-dropdown-list");
4542
4563
  attr(ul, "style", ul_style_value = `overflow-y: auto; max-height: ${
4543
4564
  /*maxheight*/
4544
- ctx[2]}`);
4565
+ ctx[3]}`);
4545
4566
  toggle_class(ul, "dropdown-active",
4546
4567
  /*isMenuVisible*/
4547
- ctx[11]);
4568
+ ctx[12]);
4548
4569
  attr(div1, "data-testid",
4549
4570
  /*testid*/
4550
- ctx[4]);
4571
+ ctx[5]);
4551
4572
  attr(div1, "class", "goa-dropdown-box");
4552
4573
  attr(div1, "style", div1_style_value = `--width: ${
4553
4574
  /*width*/
4554
- ctx[5] ||
4575
+ ctx[6] ||
4555
4576
  /*computedWidth*/
4556
- ctx[13]}`);
4577
+ ctx[14]}`);
4557
4578
  },
4558
4579
 
4559
4580
  m(target, anchor) {
@@ -4573,15 +4594,15 @@
4573
4594
  /*ul_binding*/
4574
4595
 
4575
4596
 
4576
- ctx[22](ul);
4597
+ ctx[23](ul);
4577
4598
  /*div1_binding*/
4578
4599
 
4579
- ctx[23](div1);
4600
+ ctx[24](div1);
4580
4601
 
4581
4602
  if (!mounted) {
4582
4603
  dispose = listen(goa_input, "click",
4583
4604
  /*showMenu*/
4584
- ctx[16]);
4605
+ ctx[17]);
4585
4606
  mounted = true;
4586
4607
  }
4587
4608
  },
@@ -4589,7 +4610,7 @@
4589
4610
  p(ctx, dirty) {
4590
4611
  if (
4591
4612
  /*isMenuVisible*/
4592
- ctx[11]) {
4613
+ ctx[12]) {
4593
4614
  if (if_block) {
4594
4615
  if_block.p(ctx, dirty);
4595
4616
  } else {
@@ -4604,34 +4625,34 @@
4604
4625
 
4605
4626
  if (dirty[0] &
4606
4627
  /*error*/
4607
- 128) {
4628
+ 256) {
4608
4629
  set_custom_element_data(goa_input, "error",
4609
4630
  /*error*/
4610
- ctx[7]);
4631
+ ctx[8]);
4611
4632
  }
4612
4633
 
4613
4634
  if (dirty[0] &
4614
4635
  /*disabled*/
4615
- 64) {
4636
+ 128) {
4616
4637
  set_custom_element_data(goa_input, "disabled",
4617
4638
  /*disabled*/
4618
- ctx[6]);
4639
+ ctx[7]);
4619
4640
  }
4620
4641
 
4621
4642
  if (dirty[0] &
4622
4643
  /*leadingicon*/
4623
- 2) {
4644
+ 4) {
4624
4645
  set_custom_element_data(goa_input, "leadingicon",
4625
4646
  /*leadingicon*/
4626
- ctx[1]);
4647
+ ctx[2]);
4627
4648
  }
4628
4649
 
4629
4650
  if (dirty[0] &
4630
4651
  /*placeholder*/
4631
- 8) {
4652
+ 16) {
4632
4653
  set_custom_element_data(goa_input, "placeholder",
4633
4654
  /*placeholder*/
4634
- ctx[3]);
4655
+ ctx[4]);
4635
4656
  }
4636
4657
 
4637
4658
  if (dirty[0] &
@@ -4642,12 +4663,22 @@
4642
4663
  set_custom_element_data(goa_input, "id", goa_input_id_value);
4643
4664
  }
4644
4665
 
4666
+ if (dirty[0] &
4667
+ /*arialabel, name*/
4668
+ 3 && goa_input_aria_label_value !== (goa_input_aria_label_value =
4669
+ /*arialabel*/
4670
+ ctx[1] ||
4671
+ /*name*/
4672
+ ctx[0])) {
4673
+ set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value);
4674
+ }
4675
+
4645
4676
  if (dirty[0] &
4646
4677
  /*selectedLabel*/
4647
- 1024) {
4678
+ 2048) {
4648
4679
  set_custom_element_data(goa_input, "value",
4649
4680
  /*selectedLabel*/
4650
- ctx[10]);
4681
+ ctx[11]);
4651
4682
  }
4652
4683
 
4653
4684
  if (dirty[0] &
@@ -4660,44 +4691,44 @@
4660
4691
 
4661
4692
  if (dirty[0] &
4662
4693
  /*options, highlightedIndex, _values, onSelect*/
4663
- 267008) {
4694
+ 534016) {
4664
4695
  each_value =
4665
4696
  /*options*/
4666
- ctx[9];
4697
+ ctx[10];
4667
4698
  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
4699
  }
4669
4700
 
4670
4701
  if (dirty[0] &
4671
4702
  /*maxheight*/
4672
- 4 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
4703
+ 8 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
4673
4704
  /*maxheight*/
4674
- ctx[2]}`)) {
4705
+ ctx[3]}`)) {
4675
4706
  attr(ul, "style", ul_style_value);
4676
4707
  }
4677
4708
 
4678
4709
  if (dirty[0] &
4679
4710
  /*isMenuVisible*/
4680
- 2048) {
4711
+ 4096) {
4681
4712
  toggle_class(ul, "dropdown-active",
4682
4713
  /*isMenuVisible*/
4683
- ctx[11]);
4714
+ ctx[12]);
4684
4715
  }
4685
4716
 
4686
4717
  if (dirty[0] &
4687
4718
  /*testid*/
4688
- 16) {
4719
+ 32) {
4689
4720
  attr(div1, "data-testid",
4690
4721
  /*testid*/
4691
- ctx[4]);
4722
+ ctx[5]);
4692
4723
  }
4693
4724
 
4694
4725
  if (dirty[0] &
4695
4726
  /*width, computedWidth*/
4696
- 8224 && div1_style_value !== (div1_style_value = `--width: ${
4727
+ 16448 && div1_style_value !== (div1_style_value = `--width: ${
4697
4728
  /*width*/
4698
- ctx[5] ||
4729
+ ctx[6] ||
4699
4730
  /*computedWidth*/
4700
- ctx[13]}`)) {
4731
+ ctx[14]}`)) {
4701
4732
  attr(div1, "style", div1_style_value);
4702
4733
  }
4703
4734
  },
@@ -4715,10 +4746,10 @@
4715
4746
  /*ul_binding*/
4716
4747
 
4717
4748
 
4718
- ctx[22](null);
4749
+ ctx[23](null);
4719
4750
  /*div1_binding*/
4720
4751
 
4721
- ctx[23](null);
4752
+ ctx[24](null);
4722
4753
  mounted = false;
4723
4754
  dispose();
4724
4755
  }
@@ -4734,7 +4765,7 @@
4734
4765
  return;
4735
4766
  }
4736
4767
 
4737
- $$invalidate(11, isMenuVisible = true);
4768
+ $$invalidate(12, isMenuVisible = true);
4738
4769
  return _call(tick, function () {
4739
4770
  // hide menu on blur
4740
4771
  menuEl.addEventListener("blur", closeMenu);
@@ -4752,6 +4783,9 @@
4752
4783
  let {
4753
4784
  name
4754
4785
  } = $$props;
4786
+ let {
4787
+ arialabel = ""
4788
+ } = $$props;
4755
4789
  let {
4756
4790
  value = ""
4757
4791
  } = $$props;
@@ -4810,7 +4844,7 @@
4810
4844
 
4811
4845
  const rawValues = typeof rawValue === "object" ? rawValue : [rawValue]; // convert all values to strings to avoid later type comparison issues
4812
4846
 
4813
- $$invalidate(8, _values = rawValues.map(val => `${val}`));
4847
+ $$invalidate(9, _values = rawValues.map(val => `${val}`));
4814
4848
  bindContext();
4815
4849
  return _await();
4816
4850
  }));
@@ -4830,17 +4864,17 @@
4830
4864
 
4831
4865
  const selected = _values.includes(_data.value);
4832
4866
 
4833
- $$invalidate(9, options = [...options, Object.assign(Object.assign({}, _data), {
4867
+ $$invalidate(10, options = [...options, Object.assign(Object.assign({}, _data), {
4834
4868
  selected
4835
4869
  })]);
4836
4870
 
4837
4871
  if (selected) {
4838
- $$invalidate(10, selectedLabel = _data.label);
4872
+ $$invalidate(11, selectedLabel = _data.label);
4839
4873
  }
4840
4874
 
4841
4875
  if (!width && maxLetterCount < _data.label.length) {
4842
4876
  maxLetterCount = _data.label.length;
4843
- $$invalidate(13, computedWidth = `${Math.max(20, maxLetterCount + 12)}ch`);
4877
+ $$invalidate(14, computedWidth = `${Math.max(20, maxLetterCount + 12)}ch`);
4844
4878
  }
4845
4879
 
4846
4880
  setHighlightedIndexToSelected();
@@ -4855,17 +4889,17 @@
4855
4889
  menuEl.removeEventListener("keydown", onMenuKeyDown);
4856
4890
  menuEl.removeEventListener("mouseover", onHighlight);
4857
4891
  setHighlightedIndexToSelected();
4858
- $$invalidate(11, isMenuVisible = false);
4892
+ $$invalidate(12, isMenuVisible = false);
4859
4893
  }
4860
4894
 
4861
4895
  function setHighlightedIndexToSelected() {
4862
- $$invalidate(12, highlightedIndex = options.findIndex(option => _values.includes(option.value)));
4896
+ $$invalidate(13, highlightedIndex = options.findIndex(option => _values.includes(option.value)));
4863
4897
  } // Event handlers
4864
4898
 
4865
4899
 
4866
4900
  function onSelect(val, label) {
4867
4901
  if (_disabled) return;
4868
- $$invalidate(10, selectedLabel = label);
4902
+ $$invalidate(11, selectedLabel = label);
4869
4903
 
4870
4904
  if (_multiselect) {
4871
4905
  _values.push(val);
@@ -4878,7 +4912,7 @@
4878
4912
  }
4879
4913
  }));
4880
4914
  } else {
4881
- $$invalidate(8, _values = [val]);
4915
+ $$invalidate(9, _values = [val]);
4882
4916
  el.dispatchEvent(new CustomEvent("_change", {
4883
4917
  composed: true,
4884
4918
  detail: {
@@ -4914,16 +4948,16 @@
4914
4948
  switch (e.key) {
4915
4949
  case "ArrowUp":
4916
4950
  if (highlightedIndex === 0) {
4917
- $$invalidate(12, highlightedIndex = options.length - 1);
4951
+ $$invalidate(13, highlightedIndex = options.length - 1);
4918
4952
  } else {
4919
- $$invalidate(12, highlightedIndex--, highlightedIndex);
4953
+ $$invalidate(13, highlightedIndex--, highlightedIndex);
4920
4954
  }
4921
4955
 
4922
4956
  e.preventDefault();
4923
4957
  break;
4924
4958
 
4925
4959
  case "ArrowDown":
4926
- $$invalidate(12, highlightedIndex = (highlightedIndex + 1) % options.length);
4960
+ $$invalidate(13, highlightedIndex = (highlightedIndex + 1) % options.length);
4927
4961
  e.preventDefault();
4928
4962
  break;
4929
4963
 
@@ -4941,7 +4975,7 @@
4941
4975
  }
4942
4976
 
4943
4977
  function onHighlight(e) {
4944
- $$invalidate(12, highlightedIndex = Number(e.target.dataset.index));
4978
+ $$invalidate(13, highlightedIndex = Number(e.target.dataset.index));
4945
4979
  }
4946
4980
 
4947
4981
  const click_handler = option => onSelect(option.value, option.label);
@@ -4949,45 +4983,46 @@
4949
4983
  function ul_binding($$value) {
4950
4984
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4951
4985
  menuEl = $$value;
4952
- $$invalidate(15, menuEl);
4986
+ $$invalidate(16, menuEl);
4953
4987
  });
4954
4988
  }
4955
4989
 
4956
4990
  function div1_binding($$value) {
4957
4991
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4958
4992
  el = $$value;
4959
- $$invalidate(14, el);
4993
+ $$invalidate(15, el);
4960
4994
  });
4961
4995
  }
4962
4996
 
4963
4997
  $$self.$$set = $$props => {
4964
4998
  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);
4999
+ if ('arialabel' in $$props) $$invalidate(1, arialabel = $$props.arialabel);
5000
+ if ('value' in $$props) $$invalidate(20, value = $$props.value);
5001
+ if ('leadingicon' in $$props) $$invalidate(2, leadingicon = $$props.leadingicon);
5002
+ if ('maxheight' in $$props) $$invalidate(3, maxheight = $$props.maxheight);
5003
+ if ('placeholder' in $$props) $$invalidate(4, placeholder = $$props.placeholder);
5004
+ if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
5005
+ if ('width' in $$props) $$invalidate(6, width = $$props.width);
5006
+ if ('disabled' in $$props) $$invalidate(7, disabled = $$props.disabled);
5007
+ if ('error' in $$props) $$invalidate(8, error = $$props.error);
5008
+ if ('multiselect' in $$props) $$invalidate(21, multiselect = $$props.multiselect);
4974
5009
  };
4975
5010
 
4976
5011
  $$self.$$.update = () => {
4977
5012
  if ($$self.$$.dirty[0] &
4978
5013
  /*disabled*/
4979
- 64) {
5014
+ 128) {
4980
5015
  _disabled = toBoolean(disabled);
4981
5016
  }
4982
5017
 
4983
5018
  if ($$self.$$.dirty[0] &
4984
5019
  /*multiselect*/
4985
- 1048576) {
5020
+ 2097152) {
4986
5021
  _multiselect = toBoolean(multiselect);
4987
5022
  }
4988
5023
  };
4989
5024
 
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];
5025
+ 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
5026
  }
4992
5027
 
4993
5028
  class Dropdown extends SvelteElement {
@@ -5000,15 +5035,16 @@
5000
5035
  customElement: true
5001
5036
  }, instance$o, create_fragment$q, safe_not_equal, {
5002
5037
  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
5038
+ arialabel: 1,
5039
+ value: 20,
5040
+ leadingicon: 2,
5041
+ maxheight: 3,
5042
+ placeholder: 4,
5043
+ testid: 5,
5044
+ width: 6,
5045
+ disabled: 7,
5046
+ error: 8,
5047
+ multiselect: 21
5012
5048
  }, null, [-1, -1]);
5013
5049
 
5014
5050
  if (options) {
@@ -5024,7 +5060,7 @@
5024
5060
  }
5025
5061
 
5026
5062
  static get observedAttributes() {
5027
- return ["name", "value", "leadingicon", "maxheight", "placeholder", "testid", "width", "disabled", "error", "multiselect"];
5063
+ return ["name", "arialabel", "value", "leadingicon", "maxheight", "placeholder", "testid", "width", "disabled", "error", "multiselect"];
5028
5064
  }
5029
5065
 
5030
5066
  get name() {
@@ -5038,8 +5074,19 @@
5038
5074
  flush();
5039
5075
  }
5040
5076
 
5077
+ get arialabel() {
5078
+ return this.$$.ctx[1];
5079
+ }
5080
+
5081
+ set arialabel(arialabel) {
5082
+ this.$$set({
5083
+ arialabel
5084
+ });
5085
+ flush();
5086
+ }
5087
+
5041
5088
  get value() {
5042
- return this.$$.ctx[19];
5089
+ return this.$$.ctx[20];
5043
5090
  }
5044
5091
 
5045
5092
  set value(value) {
@@ -5050,7 +5097,7 @@
5050
5097
  }
5051
5098
 
5052
5099
  get leadingicon() {
5053
- return this.$$.ctx[1];
5100
+ return this.$$.ctx[2];
5054
5101
  }
5055
5102
 
5056
5103
  set leadingicon(leadingicon) {
@@ -5061,7 +5108,7 @@
5061
5108
  }
5062
5109
 
5063
5110
  get maxheight() {
5064
- return this.$$.ctx[2];
5111
+ return this.$$.ctx[3];
5065
5112
  }
5066
5113
 
5067
5114
  set maxheight(maxheight) {
@@ -5072,7 +5119,7 @@
5072
5119
  }
5073
5120
 
5074
5121
  get placeholder() {
5075
- return this.$$.ctx[3];
5122
+ return this.$$.ctx[4];
5076
5123
  }
5077
5124
 
5078
5125
  set placeholder(placeholder) {
@@ -5083,7 +5130,7 @@
5083
5130
  }
5084
5131
 
5085
5132
  get testid() {
5086
- return this.$$.ctx[4];
5133
+ return this.$$.ctx[5];
5087
5134
  }
5088
5135
 
5089
5136
  set testid(testid) {
@@ -5094,7 +5141,7 @@
5094
5141
  }
5095
5142
 
5096
5143
  get width() {
5097
- return this.$$.ctx[5];
5144
+ return this.$$.ctx[6];
5098
5145
  }
5099
5146
 
5100
5147
  set width(width) {
@@ -5105,7 +5152,7 @@
5105
5152
  }
5106
5153
 
5107
5154
  get disabled() {
5108
- return this.$$.ctx[6];
5155
+ return this.$$.ctx[7];
5109
5156
  }
5110
5157
 
5111
5158
  set disabled(disabled) {
@@ -5116,7 +5163,7 @@
5116
5163
  }
5117
5164
 
5118
5165
  get error() {
5119
- return this.$$.ctx[7];
5166
+ return this.$$.ctx[8];
5120
5167
  }
5121
5168
 
5122
5169
  set error(error) {
@@ -5127,7 +5174,7 @@
5127
5174
  }
5128
5175
 
5129
5176
  get multiselect() {
5130
- return this.$$.ctx[20];
5177
+ return this.$$.ctx[21];
5131
5178
  }
5132
5179
 
5133
5180
  set multiselect(multiselect) {
@@ -5368,7 +5415,7 @@
5368
5415
  /* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.49.0 */
5369
5416
 
5370
5417
  function create_if_block_2$6(ctx) {
5371
- let label_1;
5418
+ let div;
5372
5419
  let t0;
5373
5420
  let t1;
5374
5421
  let if_block =
@@ -5376,20 +5423,20 @@
5376
5423
  ctx[3] && create_if_block_3$4();
5377
5424
  return {
5378
5425
  c() {
5379
- label_1 = element("label");
5426
+ div = element("div");
5380
5427
  t0 = text(
5381
5428
  /*label*/
5382
5429
  ctx[0]);
5383
5430
  t1 = space();
5384
5431
  if (if_block) if_block.c();
5385
- attr(label_1, "for", "");
5432
+ attr(div, "class", "label");
5386
5433
  },
5387
5434
 
5388
5435
  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);
5436
+ insert(target, div, anchor);
5437
+ append(div, t0);
5438
+ append(div, t1);
5439
+ if (if_block) if_block.m(div, null);
5393
5440
  },
5394
5441
 
5395
5442
  p(ctx, dirty) {
@@ -5405,7 +5452,7 @@
5405
5452
  if (if_block) ;else {
5406
5453
  if_block = create_if_block_3$4();
5407
5454
  if_block.c();
5408
- if_block.m(label_1, null);
5455
+ if_block.m(div, null);
5409
5456
  }
5410
5457
  } else if (if_block) {
5411
5458
  if_block.d(1);
@@ -5414,7 +5461,7 @@
5414
5461
  },
5415
5462
 
5416
5463
  d(detaching) {
5417
- if (detaching) detach(label_1);
5464
+ if (detaching) detach(div);
5418
5465
  if (if_block) if_block.d();
5419
5466
  }
5420
5467
 
@@ -5621,7 +5668,7 @@
5621
5668
  error = ""
5622
5669
  } = $$props;
5623
5670
  let {
5624
- optional
5671
+ optional = ""
5625
5672
  } = $$props;
5626
5673
 
5627
5674
  $$self.$$set = $$props => {
@@ -5645,7 +5692,7 @@
5645
5692
  class FormItem extends SvelteElement {
5646
5693
  constructor(options) {
5647
5694
  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>`;
5695
+ 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
5696
  init(this, {
5650
5697
  target: this.shadowRoot,
5651
5698
  props: attribute_to_object(this.attributes),
@@ -6611,7 +6658,7 @@
6611
6658
  }
6612
6659
 
6613
6660
  };
6614
- } // (93:4) {#if trailingicon && !handlesTrailingIconClick}
6661
+ } // (96:4) {#if trailingicon && !handlesTrailingIconClick}
6615
6662
 
6616
6663
 
6617
6664
  function create_if_block_4$1(ctx) {
@@ -6646,7 +6693,7 @@
6646
6693
  }
6647
6694
 
6648
6695
  };
6649
- } // (103:4) {#if trailingicon && handlesTrailingIconClick}
6696
+ } // (106:4) {#if trailingicon && handlesTrailingIconClick}
6650
6697
 
6651
6698
 
6652
6699
  function create_if_block_3$3(ctx) {
@@ -6659,7 +6706,7 @@
6659
6706
  set_custom_element_data(goa_icon_button, "class", "goa-input-trailing-icon");
6660
6707
  set_custom_element_data(goa_icon_button, "disabled",
6661
6708
  /*isDisabled*/
6662
- ctx[12]);
6709
+ ctx[13]);
6663
6710
  set_custom_element_data(goa_icon_button, "variant", "nocolor");
6664
6711
  set_custom_element_data(goa_icon_button, "size", "medium");
6665
6712
  set_custom_element_data(goa_icon_button, "type",
@@ -6680,10 +6727,10 @@
6680
6727
  p(ctx, dirty) {
6681
6728
  if (dirty &
6682
6729
  /*isDisabled*/
6683
- 4096) {
6730
+ 8192) {
6684
6731
  set_custom_element_data(goa_icon_button, "disabled",
6685
6732
  /*isDisabled*/
6686
- ctx[12]);
6733
+ ctx[13]);
6687
6734
  }
6688
6735
 
6689
6736
  if (dirty &
@@ -6702,7 +6749,7 @@
6702
6749
  }
6703
6750
 
6704
6751
  };
6705
- } // (117:2) {#if showCounter}
6752
+ } // (120:2) {#if showCounter}
6706
6753
 
6707
6754
 
6708
6755
  function create_if_block$a(ctx) {
@@ -6711,7 +6758,7 @@
6711
6758
  function select_block_type(ctx, dirty) {
6712
6759
  if (
6713
6760
  /*maxcharcount*/
6714
- ctx[9] > 0) return create_if_block_1$6;
6761
+ ctx[10] > 0) return create_if_block_1$6;
6715
6762
  if (
6716
6763
  /*value*/
6717
6764
  ctx[0].length > 0) return create_if_block_2$5;
@@ -6753,7 +6800,7 @@
6753
6800
  }
6754
6801
 
6755
6802
  };
6756
- } // (122:31)
6803
+ } // (125:31)
6757
6804
 
6758
6805
 
6759
6806
  function create_if_block_2$5(ctx) {
@@ -6787,7 +6834,7 @@
6787
6834
  }
6788
6835
 
6789
6836
  };
6790
- } // (118:4) {#if maxcharcount > 0}
6837
+ } // (121:4) {#if maxcharcount > 0}
6791
6838
 
6792
6839
 
6793
6840
  function create_if_block_1$6(ctx) {
@@ -6798,7 +6845,7 @@
6798
6845
  let t0;
6799
6846
  let t1_value = `/${
6800
6847
  /*maxcharcount*/
6801
- ctx[9]}` + "";
6848
+ ctx[10]}` + "";
6802
6849
  let t1;
6803
6850
  return {
6804
6851
  c() {
@@ -6810,7 +6857,7 @@
6810
6857
  /*value*/
6811
6858
  ctx[0].length >
6812
6859
  /*maxcharcount*/
6813
- ctx[9]);
6860
+ ctx[10]);
6814
6861
  },
6815
6862
 
6816
6863
  m(target, anchor) {
@@ -6827,18 +6874,18 @@
6827
6874
  ctx[0].length + "")) set_data(t0, t0_value);
6828
6875
  if (dirty &
6829
6876
  /*maxcharcount*/
6830
- 512 && t1_value !== (t1_value = `/${
6877
+ 1024 && t1_value !== (t1_value = `/${
6831
6878
  /*maxcharcount*/
6832
- ctx[9]}` + "")) set_data(t1, t1_value);
6879
+ ctx[10]}` + "")) set_data(t1, t1_value);
6833
6880
 
6834
6881
  if (dirty &
6835
6882
  /*value, maxcharcount*/
6836
- 513) {
6883
+ 1025) {
6837
6884
  toggle_class(div, "counter-error",
6838
6885
  /*value*/
6839
6886
  ctx[0].length >
6840
6887
  /*maxcharcount*/
6841
- ctx[9]);
6888
+ ctx[10]);
6842
6889
  }
6843
6890
  },
6844
6891
 
@@ -6856,6 +6903,7 @@
6856
6903
  let input;
6857
6904
  let input_class_value;
6858
6905
  let input_style_value;
6906
+ let input_aria_label_value;
6859
6907
  let t1;
6860
6908
  let t2;
6861
6909
  let div0_class_value;
@@ -6870,15 +6918,15 @@
6870
6918
  /*trailingicon*/
6871
6919
  ctx[5] && !
6872
6920
  /*handlesTrailingIconClick*/
6873
- ctx[15] && create_if_block_4$1(ctx);
6921
+ ctx[16] && create_if_block_4$1(ctx);
6874
6922
  let if_block2 =
6875
6923
  /*trailingicon*/
6876
6924
  ctx[5] &&
6877
6925
  /*handlesTrailingIconClick*/
6878
- ctx[15] && create_if_block_3$3(ctx);
6926
+ ctx[16] && create_if_block_3$3(ctx);
6879
6927
  let if_block3 =
6880
6928
  /*showCounter*/
6881
- ctx[11] && create_if_block$a(ctx);
6929
+ ctx[12] && create_if_block$a(ctx);
6882
6930
  return {
6883
6931
  c() {
6884
6932
  div1 = element("div");
@@ -6901,10 +6949,10 @@
6901
6949
  ctx[5] ? "-0.5rem" : "0"}`);
6902
6950
  input.readOnly =
6903
6951
  /*isReadonly*/
6904
- ctx[14];
6952
+ ctx[15];
6905
6953
  input.disabled =
6906
6954
  /*isDisabled*/
6907
- ctx[12];
6955
+ ctx[13];
6908
6956
  attr(input, "data-testid",
6909
6957
  /*testid*/
6910
6958
  ctx[7]);
@@ -6920,11 +6968,17 @@
6920
6968
  attr(input, "placeholder",
6921
6969
  /*placeholder*/
6922
6970
  ctx[3]);
6971
+ attr(input, "role", "textbox");
6972
+ attr(input, "aria-label", input_aria_label_value =
6973
+ /*arialabel*/
6974
+ ctx[9] ||
6975
+ /*name*/
6976
+ ctx[2]);
6923
6977
  attr(div0, "class", div0_class_value = `
6924
6978
  goa-input
6925
6979
  ${
6926
6980
  /*isDisabled*/
6927
- ctx[12] ? "goa-input--disabled" : ""}
6981
+ ctx[13] ? "goa-input--disabled" : ""}
6928
6982
  variant--${
6929
6983
  /*variant*/
6930
6984
  ctx[6]}
@@ -6934,7 +6988,7 @@
6934
6988
  `);
6935
6989
  toggle_class(div0, "error",
6936
6990
  /*isError*/
6937
- ctx[13]);
6991
+ ctx[14]);
6938
6992
  attr(div1, "class", "container");
6939
6993
  attr(div1, "style", div1_style_value = `
6940
6994
  --width: ${
@@ -6951,7 +7005,7 @@
6951
7005
  append(div0, input);
6952
7006
  /*input_binding*/
6953
7007
 
6954
- ctx[24](input);
7008
+ ctx[25](input);
6955
7009
  append(div0, t1);
6956
7010
  if (if_block1) if_block1.m(div0, null);
6957
7011
  append(div0, t2);
@@ -6962,9 +7016,9 @@
6962
7016
  if (!mounted) {
6963
7017
  dispose = [listen(input, "keyup",
6964
7018
  /*onKeyUp*/
6965
- ctx[16]), listen(input, "change",
7019
+ ctx[17]), listen(input, "change",
6966
7020
  /*onKeyUp*/
6967
- ctx[16])];
7021
+ ctx[17])];
6968
7022
  mounted = true;
6969
7023
  }
6970
7024
  },
@@ -7003,18 +7057,18 @@
7003
7057
 
7004
7058
  if (dirty &
7005
7059
  /*isReadonly*/
7006
- 16384) {
7060
+ 32768) {
7007
7061
  input.readOnly =
7008
7062
  /*isReadonly*/
7009
- ctx[14];
7063
+ ctx[15];
7010
7064
  }
7011
7065
 
7012
7066
  if (dirty &
7013
7067
  /*isDisabled*/
7014
- 4096) {
7068
+ 8192) {
7015
7069
  input.disabled =
7016
7070
  /*isDisabled*/
7017
- ctx[12];
7071
+ ctx[13];
7018
7072
  }
7019
7073
 
7020
7074
  if (dirty &
@@ -7059,11 +7113,21 @@
7059
7113
  ctx[3]);
7060
7114
  }
7061
7115
 
7116
+ if (dirty &
7117
+ /*arialabel, name*/
7118
+ 516 && input_aria_label_value !== (input_aria_label_value =
7119
+ /*arialabel*/
7120
+ ctx[9] ||
7121
+ /*name*/
7122
+ ctx[2])) {
7123
+ attr(input, "aria-label", input_aria_label_value);
7124
+ }
7125
+
7062
7126
  if (
7063
7127
  /*trailingicon*/
7064
7128
  ctx[5] && !
7065
7129
  /*handlesTrailingIconClick*/
7066
- ctx[15]) {
7130
+ ctx[16]) {
7067
7131
  if (if_block1) {
7068
7132
  if_block1.p(ctx, dirty);
7069
7133
  } else {
@@ -7080,7 +7144,7 @@
7080
7144
  /*trailingicon*/
7081
7145
  ctx[5] &&
7082
7146
  /*handlesTrailingIconClick*/
7083
- ctx[15]) {
7147
+ ctx[16]) {
7084
7148
  if (if_block2) {
7085
7149
  if_block2.p(ctx, dirty);
7086
7150
  } else {
@@ -7095,11 +7159,11 @@
7095
7159
 
7096
7160
  if (dirty &
7097
7161
  /*isDisabled, variant, type*/
7098
- 4162 && div0_class_value !== (div0_class_value = `
7162
+ 8258 && div0_class_value !== (div0_class_value = `
7099
7163
  goa-input
7100
7164
  ${
7101
7165
  /*isDisabled*/
7102
- ctx[12] ? "goa-input--disabled" : ""}
7166
+ ctx[13] ? "goa-input--disabled" : ""}
7103
7167
  variant--${
7104
7168
  /*variant*/
7105
7169
  ctx[6]}
@@ -7112,15 +7176,15 @@
7112
7176
 
7113
7177
  if (dirty &
7114
7178
  /*isDisabled, variant, type, isError*/
7115
- 12354) {
7179
+ 24642) {
7116
7180
  toggle_class(div0, "error",
7117
7181
  /*isError*/
7118
- ctx[13]);
7182
+ ctx[14]);
7119
7183
  }
7120
7184
 
7121
7185
  if (
7122
7186
  /*showCounter*/
7123
- ctx[11]) {
7187
+ ctx[12]) {
7124
7188
  if (if_block3) {
7125
7189
  if_block3.p(ctx, dirty);
7126
7190
  } else {
@@ -7152,7 +7216,7 @@
7152
7216
  if (if_block0) if_block0.d();
7153
7217
  /*input_binding*/
7154
7218
 
7155
- ctx[24](null);
7219
+ ctx[25](null);
7156
7220
  if (if_block1) if_block1.d();
7157
7221
  if (if_block2) if_block2.d();
7158
7222
  if (if_block3) if_block3.d();
@@ -7218,6 +7282,9 @@
7218
7282
  let {
7219
7283
  width = "30ch"
7220
7284
  } = $$props;
7285
+ let {
7286
+ arialabel = ""
7287
+ } = $$props;
7221
7288
  let {
7222
7289
  showcounter = "false"
7223
7290
  } = $$props;
@@ -7242,7 +7309,7 @@
7242
7309
  function input_binding($$value) {
7243
7310
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
7244
7311
  inputEl = $$value;
7245
- $$invalidate(10, inputEl);
7312
+ $$invalidate(11, inputEl);
7246
7313
  });
7247
7314
  }
7248
7315
 
@@ -7254,57 +7321,58 @@
7254
7321
  if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
7255
7322
  if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
7256
7323
  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);
7324
+ if ('disabled' in $$props) $$invalidate(18, disabled = $$props.disabled);
7325
+ if ('handletrailingiconclick' in $$props) $$invalidate(19, handletrailingiconclick = $$props.handletrailingiconclick);
7326
+ if ('focused' in $$props) $$invalidate(20, focused = $$props.focused);
7327
+ if ('readonly' in $$props) $$invalidate(21, readonly = $$props.readonly);
7328
+ if ('error' in $$props) $$invalidate(22, error = $$props.error);
7262
7329
  if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
7263
7330
  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);
7331
+ if ('arialabel' in $$props) $$invalidate(9, arialabel = $$props.arialabel);
7332
+ if ('showcounter' in $$props) $$invalidate(23, showcounter = $$props.showcounter);
7333
+ if ('maxcharcount' in $$props) $$invalidate(10, maxcharcount = $$props.maxcharcount);
7266
7334
  };
7267
7335
 
7268
7336
  $$self.$$.update = () => {
7269
7337
  if ($$self.$$.dirty &
7270
7338
  /*handletrailingiconclick*/
7271
- 262144) {
7272
- $$invalidate(15, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
7339
+ 524288) {
7340
+ $$invalidate(16, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
7273
7341
  }
7274
7342
 
7275
7343
  if ($$self.$$.dirty &
7276
7344
  /*focused*/
7277
- 524288) {
7278
- $$invalidate(23, isFocused = toBoolean(focused));
7345
+ 1048576) {
7346
+ $$invalidate(24, isFocused = toBoolean(focused));
7279
7347
  }
7280
7348
 
7281
7349
  if ($$self.$$.dirty &
7282
7350
  /*readonly*/
7283
- 1048576) {
7284
- $$invalidate(14, isReadonly = toBoolean(readonly));
7351
+ 2097152) {
7352
+ $$invalidate(15, isReadonly = toBoolean(readonly));
7285
7353
  }
7286
7354
 
7287
7355
  if ($$self.$$.dirty &
7288
7356
  /*error*/
7289
- 2097152) {
7290
- $$invalidate(13, isError = toBoolean(error));
7357
+ 4194304) {
7358
+ $$invalidate(14, isError = toBoolean(error));
7291
7359
  }
7292
7360
 
7293
7361
  if ($$self.$$.dirty &
7294
7362
  /*disabled*/
7295
- 131072) {
7296
- $$invalidate(12, isDisabled = toBoolean(disabled));
7363
+ 262144) {
7364
+ $$invalidate(13, isDisabled = toBoolean(disabled));
7297
7365
  }
7298
7366
 
7299
7367
  if ($$self.$$.dirty &
7300
7368
  /*showcounter*/
7301
- 4194304) {
7302
- $$invalidate(11, showCounter = toBoolean(showcounter));
7369
+ 8388608) {
7370
+ $$invalidate(12, showCounter = toBoolean(showcounter));
7303
7371
  }
7304
7372
 
7305
7373
  if ($$self.$$.dirty &
7306
7374
  /*isFocused, inputEl*/
7307
- 8389632) {
7375
+ 16779264) {
7308
7376
  if (isFocused && inputEl) {
7309
7377
  setTimeout(() => inputEl.focus(), 1);
7310
7378
  }
@@ -7312,7 +7380,7 @@
7312
7380
 
7313
7381
  if ($$self.$$.dirty &
7314
7382
  /*inputEl, type*/
7315
- 1026) {
7383
+ 2050) {
7316
7384
  if (inputEl && type === "search") {
7317
7385
  inputEl.addEventListener("search", e => {
7318
7386
  onKeyUp(e);
@@ -7321,7 +7389,7 @@
7321
7389
  }
7322
7390
  };
7323
7391
 
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];
7392
+ return [value, type, name, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, maxcharcount, inputEl, showCounter, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, showcounter, isFocused, input_binding];
7325
7393
  }
7326
7394
 
7327
7395
  class Input extends SvelteElement {
@@ -7341,15 +7409,16 @@
7341
7409
  leadingicon: 4,
7342
7410
  trailingicon: 5,
7343
7411
  variant: 6,
7344
- disabled: 17,
7345
- handletrailingiconclick: 18,
7346
- focused: 19,
7347
- readonly: 20,
7348
- error: 21,
7412
+ disabled: 18,
7413
+ handletrailingiconclick: 19,
7414
+ focused: 20,
7415
+ readonly: 21,
7416
+ error: 22,
7349
7417
  testid: 7,
7350
7418
  width: 8,
7351
- showcounter: 22,
7352
- maxcharcount: 9
7419
+ arialabel: 9,
7420
+ showcounter: 23,
7421
+ maxcharcount: 10
7353
7422
  }, null);
7354
7423
 
7355
7424
  if (options) {
@@ -7365,7 +7434,7 @@
7365
7434
  }
7366
7435
 
7367
7436
  static get observedAttributes() {
7368
- return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "showcounter", "maxcharcount"];
7437
+ return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "showcounter", "maxcharcount"];
7369
7438
  }
7370
7439
 
7371
7440
  get type() {
@@ -7446,7 +7515,7 @@
7446
7515
  }
7447
7516
 
7448
7517
  get disabled() {
7449
- return this.$$.ctx[17];
7518
+ return this.$$.ctx[18];
7450
7519
  }
7451
7520
 
7452
7521
  set disabled(disabled) {
@@ -7457,7 +7526,7 @@
7457
7526
  }
7458
7527
 
7459
7528
  get handletrailingiconclick() {
7460
- return this.$$.ctx[18];
7529
+ return this.$$.ctx[19];
7461
7530
  }
7462
7531
 
7463
7532
  set handletrailingiconclick(handletrailingiconclick) {
@@ -7468,7 +7537,7 @@
7468
7537
  }
7469
7538
 
7470
7539
  get focused() {
7471
- return this.$$.ctx[19];
7540
+ return this.$$.ctx[20];
7472
7541
  }
7473
7542
 
7474
7543
  set focused(focused) {
@@ -7479,7 +7548,7 @@
7479
7548
  }
7480
7549
 
7481
7550
  get readonly() {
7482
- return this.$$.ctx[20];
7551
+ return this.$$.ctx[21];
7483
7552
  }
7484
7553
 
7485
7554
  set readonly(readonly) {
@@ -7490,7 +7559,7 @@
7490
7559
  }
7491
7560
 
7492
7561
  get error() {
7493
- return this.$$.ctx[21];
7562
+ return this.$$.ctx[22];
7494
7563
  }
7495
7564
 
7496
7565
  set error(error) {
@@ -7522,8 +7591,19 @@
7522
7591
  flush();
7523
7592
  }
7524
7593
 
7594
+ get arialabel() {
7595
+ return this.$$.ctx[9];
7596
+ }
7597
+
7598
+ set arialabel(arialabel) {
7599
+ this.$$set({
7600
+ arialabel
7601
+ });
7602
+ flush();
7603
+ }
7604
+
7525
7605
  get showcounter() {
7526
- return this.$$.ctx[22];
7606
+ return this.$$.ctx[23];
7527
7607
  }
7528
7608
 
7529
7609
  set showcounter(showcounter) {
@@ -7534,7 +7614,7 @@
7534
7614
  }
7535
7615
 
7536
7616
  get maxcharcount() {
7537
- return this.$$.ctx[9];
7617
+ return this.$$.ctx[10];
7538
7618
  }
7539
7619
 
7540
7620
  set maxcharcount(maxcharcount) {
@@ -8495,53 +8575,6 @@
8495
8575
  }
8496
8576
 
8497
8577
  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
8578
  /* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.49.0 */
8546
8579
 
8547
8580
  function create_if_block$7(ctx) {
@@ -8915,7 +8948,7 @@
8915
8948
  };
8916
8949
  }
8917
8950
 
8918
- function create_fragment$f(ctx) {
8951
+ function create_fragment$g(ctx) {
8919
8952
  let if_block_anchor;
8920
8953
  let current;
8921
8954
  let if_block =
@@ -9034,7 +9067,7 @@
9034
9067
  target: this.shadowRoot,
9035
9068
  props: attribute_to_object(this.attributes),
9036
9069
  customElement: true
9037
- }, instance$e, create_fragment$f, safe_not_equal, {
9070
+ }, instance$e, create_fragment$g, safe_not_equal, {
9038
9071
  variant: 6,
9039
9072
  size: 7,
9040
9073
  message: 0,
@@ -9293,7 +9326,7 @@
9293
9326
  };
9294
9327
  }
9295
9328
 
9296
- function create_fragment$e(ctx) {
9329
+ function create_fragment$f(ctx) {
9297
9330
  let div;
9298
9331
  let slot;
9299
9332
  let t;
@@ -9493,7 +9526,7 @@
9493
9526
  target: this.shadowRoot,
9494
9527
  props: attribute_to_object(this.attributes),
9495
9528
  customElement: true
9496
- }, instance$d, create_fragment$e, safe_not_equal, {
9529
+ }, instance$d, create_fragment$f, safe_not_equal, {
9497
9530
  name: 1,
9498
9531
  value: 0,
9499
9532
  orientation: 2,
@@ -9589,7 +9622,7 @@
9589
9622
  customElements.define("goa-radio-group", RadioGroup);
9590
9623
  /* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
9591
9624
 
9592
- function create_fragment$d(ctx) {
9625
+ function create_fragment$e(ctx) {
9593
9626
  return {
9594
9627
  c() {
9595
9628
  this.c = noop;
@@ -9646,7 +9679,7 @@
9646
9679
  target: this.shadowRoot,
9647
9680
  props: attribute_to_object(this.attributes),
9648
9681
  customElement: true
9649
- }, instance$c, create_fragment$d, safe_not_equal, {
9682
+ }, instance$c, create_fragment$e, safe_not_equal, {
9650
9683
  value: 0,
9651
9684
  label: 1,
9652
9685
  name: 2
@@ -9706,7 +9739,7 @@
9706
9739
  customElements.define("goa-radio-item", RadioItem);
9707
9740
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
9708
9741
 
9709
- function create_fragment$c(ctx) {
9742
+ function create_fragment$d(ctx) {
9710
9743
  let div;
9711
9744
  let slot;
9712
9745
  let div_style_value;
@@ -9806,7 +9839,7 @@
9806
9839
  target: this.shadowRoot,
9807
9840
  props: attribute_to_object(this.attributes),
9808
9841
  customElement: true
9809
- }, instance$b, create_fragment$c, safe_not_equal, {
9842
+ }, instance$b, create_fragment$d, safe_not_equal, {
9810
9843
  direction: 0,
9811
9844
  hpadding: 1,
9812
9845
  vpadding: 2,
@@ -10073,7 +10106,7 @@
10073
10106
  };
10074
10107
  }
10075
10108
 
10076
- function create_fragment$b(ctx) {
10109
+ function create_fragment$c(ctx) {
10077
10110
  let header;
10078
10111
  let t0;
10079
10112
  let show_if = ["alpha", "beta"].includes(
@@ -10210,7 +10243,7 @@
10210
10243
  target: this.shadowRoot,
10211
10244
  props: attribute_to_object(this.attributes),
10212
10245
  customElement: true
10213
- }, instance$a, create_fragment$b, safe_not_equal, {
10246
+ }, instance$a, create_fragment$c, safe_not_equal, {
10214
10247
  level: 0,
10215
10248
  version: 1,
10216
10249
  feedbackurl: 2
@@ -10726,7 +10759,7 @@
10726
10759
  };
10727
10760
  }
10728
10761
 
10729
- function create_fragment$a(ctx) {
10762
+ function create_fragment$b(ctx) {
10730
10763
  let current_block_type_index;
10731
10764
  let if_block;
10732
10765
  let if_block_anchor;
@@ -10839,7 +10872,7 @@
10839
10872
  target: this.shadowRoot,
10840
10873
  props: attribute_to_object(this.attributes),
10841
10874
  customElement: true
10842
- }, instance$9, create_fragment$a, safe_not_equal, {
10875
+ }, instance$9, create_fragment$b, safe_not_equal, {
10843
10876
  width: 0,
10844
10877
  size: 1,
10845
10878
  count: 2,
@@ -11221,7 +11254,7 @@
11221
11254
  };
11222
11255
  }
11223
11256
 
11224
- function create_fragment$9(ctx) {
11257
+ function create_fragment$a(ctx) {
11225
11258
  let if_block_anchor;
11226
11259
  let if_block =
11227
11260
  /*ready*/
@@ -11397,7 +11430,7 @@
11397
11430
  target: this.shadowRoot,
11398
11431
  props: attribute_to_object(this.attributes),
11399
11432
  customElement: true
11400
- }, instance$8, create_fragment$9, safe_not_equal, {
11433
+ }, instance$8, create_fragment$a, safe_not_equal, {
11401
11434
  size: 10,
11402
11435
  invert: 0,
11403
11436
  progress: 11,
@@ -11475,7 +11508,7 @@
11475
11508
  function select_block_type(ctx, dirty) {
11476
11509
  if (
11477
11510
  /*maxcharcount*/
11478
- ctx[6] > 0) return create_if_block_1$1;
11511
+ ctx[7] > 0) return create_if_block_1$1;
11479
11512
  if (
11480
11513
  /*value*/
11481
11514
  ctx[1].length > 0) return create_if_block_2;
@@ -11517,7 +11550,7 @@
11517
11550
  }
11518
11551
 
11519
11552
  };
11520
- } // (61:31)
11553
+ } // (63:31)
11521
11554
 
11522
11555
 
11523
11556
  function create_if_block_2(ctx) {
@@ -11551,7 +11584,7 @@
11551
11584
  }
11552
11585
 
11553
11586
  };
11554
- } // (55:4) {#if maxcharcount > 0}
11587
+ } // (57:4) {#if maxcharcount > 0}
11555
11588
 
11556
11589
 
11557
11590
  function create_if_block_1$1(ctx) {
@@ -11562,7 +11595,7 @@
11562
11595
  let t0;
11563
11596
  let t1_value = `/${
11564
11597
  /*maxcharcount*/
11565
- ctx[6]}` + "";
11598
+ ctx[7]}` + "";
11566
11599
  let t1;
11567
11600
  return {
11568
11601
  c() {
@@ -11574,7 +11607,7 @@
11574
11607
  /*value*/
11575
11608
  ctx[1].length >
11576
11609
  /*maxcharcount*/
11577
- ctx[6]);
11610
+ ctx[7]);
11578
11611
  },
11579
11612
 
11580
11613
  m(target, anchor) {
@@ -11591,18 +11624,18 @@
11591
11624
  ctx[1].length + "")) set_data(t0, t0_value);
11592
11625
  if (dirty &
11593
11626
  /*maxcharcount*/
11594
- 64 && t1_value !== (t1_value = `/${
11627
+ 128 && t1_value !== (t1_value = `/${
11595
11628
  /*maxcharcount*/
11596
- ctx[6]}` + "")) set_data(t1, t1_value);
11629
+ ctx[7]}` + "")) set_data(t1, t1_value);
11597
11630
 
11598
11631
  if (dirty &
11599
11632
  /*value, maxcharcount*/
11600
- 66) {
11633
+ 130) {
11601
11634
  toggle_class(div, "counter-error",
11602
11635
  /*value*/
11603
11636
  ctx[1].length >
11604
11637
  /*maxcharcount*/
11605
- ctx[6]);
11638
+ ctx[7]);
11606
11639
  }
11607
11640
  },
11608
11641
 
@@ -11613,16 +11646,17 @@
11613
11646
  };
11614
11647
  }
11615
11648
 
11616
- function create_fragment$8(ctx) {
11649
+ function create_fragment$9(ctx) {
11617
11650
  let div;
11618
11651
  let textarea;
11652
+ let textarea_aria_label_value;
11619
11653
  let t;
11620
11654
  let div_style_value;
11621
11655
  let mounted;
11622
11656
  let dispose;
11623
11657
  let if_block =
11624
11658
  /*showCounter*/
11625
- ctx[8] && create_if_block$3(ctx);
11659
+ ctx[9] && create_if_block$3(ctx);
11626
11660
  return {
11627
11661
  c() {
11628
11662
  div = element("div");
@@ -11642,19 +11676,24 @@
11642
11676
  attr(textarea, "rows",
11643
11677
  /*rows*/
11644
11678
  ctx[3]);
11679
+ attr(textarea, "aria-label", textarea_aria_label_value =
11680
+ /*arialabel*/
11681
+ ctx[6] ||
11682
+ /*name*/
11683
+ ctx[0]);
11645
11684
  attr(textarea, "class", "goa-textarea");
11646
11685
  textarea.disabled =
11647
11686
  /*isDisabled*/
11648
- ctx[7];
11687
+ ctx[8];
11649
11688
  textarea.readOnly =
11650
11689
  /*isReadonly*/
11651
- ctx[9];
11690
+ ctx[10];
11652
11691
  attr(textarea, "data-testid",
11653
11692
  /*testid*/
11654
11693
  ctx[4]);
11655
11694
  toggle_class(textarea, "error",
11656
11695
  /*isError*/
11657
- ctx[10]);
11696
+ ctx[11]);
11658
11697
  attr(div, "class", "container");
11659
11698
  attr(div, "style", div_style_value = `
11660
11699
  --width: ${
@@ -11672,7 +11711,7 @@
11672
11711
  if (!mounted) {
11673
11712
  dispose = listen(textarea, "keyup",
11674
11713
  /*onChange*/
11675
- ctx[11]);
11714
+ ctx[12]);
11676
11715
  mounted = true;
11677
11716
  }
11678
11717
  },
@@ -11710,20 +11749,30 @@
11710
11749
  ctx[3]);
11711
11750
  }
11712
11751
 
11752
+ if (dirty &
11753
+ /*arialabel, name*/
11754
+ 65 && textarea_aria_label_value !== (textarea_aria_label_value =
11755
+ /*arialabel*/
11756
+ ctx[6] ||
11757
+ /*name*/
11758
+ ctx[0])) {
11759
+ attr(textarea, "aria-label", textarea_aria_label_value);
11760
+ }
11761
+
11713
11762
  if (dirty &
11714
11763
  /*isDisabled*/
11715
- 128) {
11764
+ 256) {
11716
11765
  textarea.disabled =
11717
11766
  /*isDisabled*/
11718
- ctx[7];
11767
+ ctx[8];
11719
11768
  }
11720
11769
 
11721
11770
  if (dirty &
11722
11771
  /*isReadonly*/
11723
- 512) {
11772
+ 1024) {
11724
11773
  textarea.readOnly =
11725
11774
  /*isReadonly*/
11726
- ctx[9];
11775
+ ctx[10];
11727
11776
  }
11728
11777
 
11729
11778
  if (dirty &
@@ -11736,15 +11785,15 @@
11736
11785
 
11737
11786
  if (dirty &
11738
11787
  /*isError*/
11739
- 1024) {
11788
+ 2048) {
11740
11789
  toggle_class(textarea, "error",
11741
11790
  /*isError*/
11742
- ctx[10]);
11791
+ ctx[11]);
11743
11792
  }
11744
11793
 
11745
11794
  if (
11746
11795
  /*showCounter*/
11747
- ctx[8]) {
11796
+ ctx[9]) {
11748
11797
  if (if_block) {
11749
11798
  if_block.p(ctx, dirty);
11750
11799
  } else {
@@ -11813,6 +11862,9 @@
11813
11862
  let {
11814
11863
  disabled = "false"
11815
11864
  } = $$props;
11865
+ let {
11866
+ arialabel = ""
11867
+ } = $$props;
11816
11868
  let {
11817
11869
  showcounter = "false"
11818
11870
  } = $$props;
@@ -11844,40 +11896,41 @@
11844
11896
  if ('rows' in $$props) $$invalidate(3, rows = $$props.rows);
11845
11897
  if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
11846
11898
  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);
11899
+ if ('error' in $$props) $$invalidate(13, error = $$props.error);
11900
+ if ('readonly' in $$props) $$invalidate(14, readonly = $$props.readonly);
11901
+ if ('disabled' in $$props) $$invalidate(15, disabled = $$props.disabled);
11902
+ if ('arialabel' in $$props) $$invalidate(6, arialabel = $$props.arialabel);
11903
+ if ('showcounter' in $$props) $$invalidate(16, showcounter = $$props.showcounter);
11904
+ if ('maxcharcount' in $$props) $$invalidate(7, maxcharcount = $$props.maxcharcount);
11852
11905
  };
11853
11906
 
11854
11907
  $$self.$$.update = () => {
11855
11908
  if ($$self.$$.dirty &
11856
11909
  /*error*/
11857
- 4096) {
11858
- $$invalidate(10, isError = toBoolean(error));
11910
+ 8192) {
11911
+ $$invalidate(11, isError = toBoolean(error));
11859
11912
  }
11860
11913
 
11861
11914
  if ($$self.$$.dirty &
11862
11915
  /*disabled*/
11863
- 16384) {
11864
- $$invalidate(7, isDisabled = toBoolean(disabled));
11916
+ 32768) {
11917
+ $$invalidate(8, isDisabled = toBoolean(disabled));
11865
11918
  }
11866
11919
 
11867
11920
  if ($$self.$$.dirty &
11868
11921
  /*readonly*/
11869
- 8192) {
11870
- $$invalidate(9, isReadonly = toBoolean(readonly));
11922
+ 16384) {
11923
+ $$invalidate(10, isReadonly = toBoolean(readonly));
11871
11924
  }
11872
11925
 
11873
11926
  if ($$self.$$.dirty &
11874
11927
  /*showcounter*/
11875
- 32768) {
11876
- $$invalidate(8, showCounter = toBoolean(showcounter));
11928
+ 65536) {
11929
+ $$invalidate(9, showCounter = toBoolean(showcounter));
11877
11930
  }
11878
11931
  };
11879
11932
 
11880
- return [name, value, placeholder, rows, testid, width, maxcharcount, isDisabled, showCounter, isReadonly, isError, onChange, error, readonly, disabled, showcounter];
11933
+ return [name, value, placeholder, rows, testid, width, arialabel, maxcharcount, isDisabled, showCounter, isReadonly, isError, onChange, error, readonly, disabled, showcounter];
11881
11934
  }
11882
11935
 
11883
11936
  class TextArea extends SvelteElement {
@@ -11889,18 +11942,19 @@
11889
11942
  target: this.shadowRoot,
11890
11943
  props: attribute_to_object(this.attributes),
11891
11944
  customElement: true
11892
- }, instance$7, create_fragment$8, safe_not_equal, {
11945
+ }, instance$7, create_fragment$9, safe_not_equal, {
11893
11946
  name: 0,
11894
11947
  value: 1,
11895
11948
  placeholder: 2,
11896
11949
  rows: 3,
11897
11950
  testid: 4,
11898
11951
  width: 5,
11899
- error: 12,
11900
- readonly: 13,
11901
- disabled: 14,
11902
- showcounter: 15,
11903
- maxcharcount: 6
11952
+ error: 13,
11953
+ readonly: 14,
11954
+ disabled: 15,
11955
+ arialabel: 6,
11956
+ showcounter: 16,
11957
+ maxcharcount: 7
11904
11958
  }, null);
11905
11959
 
11906
11960
  if (options) {
@@ -11916,7 +11970,7 @@
11916
11970
  }
11917
11971
 
11918
11972
  static get observedAttributes() {
11919
- return ["name", "value", "placeholder", "rows", "testid", "width", "error", "readonly", "disabled", "showcounter", "maxcharcount"];
11973
+ return ["name", "value", "placeholder", "rows", "testid", "width", "error", "readonly", "disabled", "arialabel", "showcounter", "maxcharcount"];
11920
11974
  }
11921
11975
 
11922
11976
  get name() {
@@ -11986,7 +12040,7 @@
11986
12040
  }
11987
12041
 
11988
12042
  get error() {
11989
- return this.$$.ctx[12];
12043
+ return this.$$.ctx[13];
11990
12044
  }
11991
12045
 
11992
12046
  set error(error) {
@@ -11997,7 +12051,7 @@
11997
12051
  }
11998
12052
 
11999
12053
  get readonly() {
12000
- return this.$$.ctx[13];
12054
+ return this.$$.ctx[14];
12001
12055
  }
12002
12056
 
12003
12057
  set readonly(readonly) {
@@ -12008,7 +12062,7 @@
12008
12062
  }
12009
12063
 
12010
12064
  get disabled() {
12011
- return this.$$.ctx[14];
12065
+ return this.$$.ctx[15];
12012
12066
  }
12013
12067
 
12014
12068
  set disabled(disabled) {
@@ -12018,8 +12072,19 @@
12018
12072
  flush();
12019
12073
  }
12020
12074
 
12075
+ get arialabel() {
12076
+ return this.$$.ctx[6];
12077
+ }
12078
+
12079
+ set arialabel(arialabel) {
12080
+ this.$$set({
12081
+ arialabel
12082
+ });
12083
+ flush();
12084
+ }
12085
+
12021
12086
  get showcounter() {
12022
- return this.$$.ctx[15];
12087
+ return this.$$.ctx[16];
12023
12088
  }
12024
12089
 
12025
12090
  set showcounter(showcounter) {
@@ -12030,7 +12095,7 @@
12030
12095
  }
12031
12096
 
12032
12097
  get maxcharcount() {
12033
- return this.$$.ctx[6];
12098
+ return this.$$.ctx[7];
12034
12099
  }
12035
12100
 
12036
12101
  set maxcharcount(maxcharcount) {
@@ -12045,7 +12110,7 @@
12045
12110
  customElements.define("goa-textarea", TextArea);
12046
12111
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
12047
12112
 
12048
- function create_fragment$7(ctx) {
12113
+ function create_fragment$8(ctx) {
12049
12114
  let div;
12050
12115
  return {
12051
12116
  c() {
@@ -12267,7 +12332,7 @@
12267
12332
  target: this.shadowRoot,
12268
12333
  props: attribute_to_object(this.attributes),
12269
12334
  customElement: true
12270
- }, instance$6, create_fragment$7, safe_not_equal, {
12335
+ }, instance$6, create_fragment$8, safe_not_equal, {
12271
12336
  active: 1
12272
12337
  }, null);
12273
12338
 
@@ -12322,10 +12387,10 @@
12322
12387
  };
12323
12388
  }
12324
12389
 
12325
- function create_fragment$6(ctx) {
12390
+ function create_fragment$7(ctx) {
12326
12391
  var _ctx$;
12327
12392
 
12328
- let footer;
12393
+ let div4;
12329
12394
  let div0;
12330
12395
  let t0;
12331
12396
  let t1;
@@ -12343,7 +12408,7 @@
12343
12408
  c() {
12344
12409
  var _ctx$2, _ctx$3;
12345
12410
 
12346
- footer = element("footer");
12411
+ div4 = element("div");
12347
12412
  div0 = element("div");
12348
12413
  div0.innerHTML = `<slot name="nav"></slot>`;
12349
12414
  t0 = space();
@@ -12375,25 +12440,25 @@
12375
12440
  toggle_class(div3, "with-meta-links",
12376
12441
  /*metaLinks*/
12377
12442
  (_ctx$3 = ctx[2]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
12378
- attr(footer, "class", "app-footer");
12443
+ attr(div4, "class", "app-footer");
12379
12444
  },
12380
12445
 
12381
12446
  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);
12447
+ insert(target, div4, anchor);
12448
+ append(div4, div0);
12449
+ append(div4, t0);
12450
+ if (if_block) if_block.m(div4, null);
12451
+ append(div4, t1);
12452
+ append(div4, div3);
12388
12453
  append(div3, div1);
12389
12454
  append(div3, t2);
12390
12455
  append(div3, div2);
12391
12456
  append(div2, a0);
12392
12457
  append(div2, t3);
12393
12458
  append(div2, a1);
12394
- /*footer_binding*/
12459
+ /*div4_binding*/
12395
12460
 
12396
- ctx[4](footer);
12461
+ ctx[4](div4);
12397
12462
  },
12398
12463
 
12399
12464
  p(ctx, [dirty]) {
@@ -12405,7 +12470,7 @@
12405
12470
  if (if_block) ;else {
12406
12471
  if_block = create_if_block$2();
12407
12472
  if_block.c();
12408
- if_block.m(footer, t1);
12473
+ if_block.m(div4, t1);
12409
12474
  }
12410
12475
  } else if (if_block) {
12411
12476
  if_block.d(1);
@@ -12437,9 +12502,9 @@
12437
12502
  o: noop,
12438
12503
 
12439
12504
  d(detaching) {
12440
- if (detaching) detach(footer);
12505
+ if (detaching) detach(div4);
12441
12506
  if (if_block) if_block.d();
12442
- /*footer_binding*/
12507
+ /*div4_binding*/
12443
12508
 
12444
12509
  ctx[4](null);
12445
12510
  }
@@ -12461,25 +12526,25 @@
12461
12526
  });
12462
12527
  });
12463
12528
 
12464
- function footer_binding($$value) {
12529
+ function div4_binding($$value) {
12465
12530
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
12466
12531
  rootEl = $$value;
12467
12532
  $$invalidate(0, rootEl);
12468
12533
  });
12469
12534
  }
12470
12535
 
12471
- return [rootEl, navLinks, metaLinks, year, footer_binding];
12536
+ return [rootEl, navLinks, metaLinks, year, div4_binding];
12472
12537
  }
12473
12538
 
12474
12539
  class Footer extends SvelteElement {
12475
12540
  constructor(options) {
12476
12541
  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>`;
12542
+ 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
12543
  init(this, {
12479
12544
  target: this.shadowRoot,
12480
12545
  props: attribute_to_object(this.attributes),
12481
12546
  customElement: true
12482
- }, instance$5, create_fragment$6, safe_not_equal, {}, null);
12547
+ }, instance$5, create_fragment$7, safe_not_equal, {}, null);
12483
12548
 
12484
12549
  if (options) {
12485
12550
  if (options.target) {
@@ -12589,7 +12654,7 @@
12589
12654
  };
12590
12655
  }
12591
12656
 
12592
- function create_fragment$5(ctx) {
12657
+ function create_fragment$6(ctx) {
12593
12658
  let section;
12594
12659
  let t0;
12595
12660
  let div;
@@ -12794,7 +12859,7 @@
12794
12859
  target: this.shadowRoot,
12795
12860
  props: attribute_to_object(this.attributes),
12796
12861
  customElement: true
12797
- }, instance$4, create_fragment$5, safe_not_equal, {
12862
+ }, instance$4, create_fragment$6, safe_not_equal, {
12798
12863
  name: 0,
12799
12864
  maxcolumncount: 1
12800
12865
  }, null);
@@ -12896,7 +12961,7 @@
12896
12961
  };
12897
12962
  }
12898
12963
 
12899
- function create_fragment$4(ctx) {
12964
+ function create_fragment$5(ctx) {
12900
12965
  let section;
12901
12966
  let div;
12902
12967
  let t;
@@ -13019,7 +13084,7 @@
13019
13084
  target: this.shadowRoot,
13020
13085
  props: attribute_to_object(this.attributes),
13021
13086
  customElement: true
13022
- }, instance$3, create_fragment$4, safe_not_equal, {}, null);
13087
+ }, instance$3, create_fragment$5, safe_not_equal, {}, null);
13023
13088
 
13024
13089
  if (options) {
13025
13090
  if (options.target) {
@@ -13033,7 +13098,7 @@
13033
13098
  customElements.define("goa-app-footer-meta-section", FooterMetaSection);
13034
13099
  /* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
13035
13100
 
13036
- function create_fragment$3(ctx) {
13101
+ function create_fragment$4(ctx) {
13037
13102
  let div;
13038
13103
  let slot;
13039
13104
  return {
@@ -13102,7 +13167,7 @@
13102
13167
  target: this.shadowRoot,
13103
13168
  props: attribute_to_object(this.attributes),
13104
13169
  customElement: true
13105
- }, instance$2, create_fragment$3, safe_not_equal, {
13170
+ }, instance$2, create_fragment$4, safe_not_equal, {
13106
13171
  gap: 1
13107
13172
  }, null);
13108
13173
 
@@ -13136,6 +13201,64 @@
13136
13201
  }
13137
13202
 
13138
13203
  customElements.define("goa-flex-col", FlexColumn);
13204
+ /* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.49.0 */
13205
+
13206
+ function create_fragment$3(ctx) {
13207
+ let div;
13208
+ return {
13209
+ c() {
13210
+ div = element("div");
13211
+ div.innerHTML = `<header class="header"><slot name="header"></slot></header>
13212
+
13213
+ <nav class="nav"><slot name="nav"></slot></nav>
13214
+
13215
+ <main><slot></slot></main>
13216
+
13217
+ <footer class="footer"><slot name="footer"></slot></footer>`;
13218
+ this.c = noop;
13219
+ attr(div, "class", "page");
13220
+ },
13221
+
13222
+ m(target, anchor) {
13223
+ insert(target, div, anchor);
13224
+ },
13225
+
13226
+ p: noop,
13227
+ i: noop,
13228
+ o: noop,
13229
+
13230
+ d(detaching) {
13231
+ if (detaching) detach(div);
13232
+ }
13233
+
13234
+ };
13235
+ }
13236
+
13237
+ class FullScreenNavbarLayout extends SvelteElement {
13238
+ constructor(options) {
13239
+ super();
13240
+ this.shadowRoot.innerHTML = `<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
13241
+ "content"
13242
+ "nav"
13243
+ "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"
13244
+ "nav content"
13245
+ "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>`;
13246
+ init(this, {
13247
+ target: this.shadowRoot,
13248
+ props: attribute_to_object(this.attributes),
13249
+ customElement: true
13250
+ }, null, create_fragment$3, safe_not_equal, {}, null);
13251
+
13252
+ if (options) {
13253
+ if (options.target) {
13254
+ insert(options.target, this, options.anchor);
13255
+ }
13256
+ }
13257
+ }
13258
+
13259
+ }
13260
+
13261
+ customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
13139
13262
  /* libs/web-components/src/components/container/ContainerWrapper.test.svelte generated by Svelte v3.49.0 */
13140
13263
 
13141
13264
  function create_if_block_1(ctx) {