@abgov/react-components 4.0.0-alpha.62 → 4.0.0-alpha.64

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.
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
+ declare type ChipVariant = "filter";
2
3
  interface WCProps {
3
4
  ref: React.RefObject<HTMLElement>;
4
5
  leadingicon: string;
5
6
  error: boolean;
6
7
  deletable: boolean;
7
8
  content: string;
9
+ variant?: string;
8
10
  }
9
11
  declare global {
10
12
  namespace JSX {
@@ -19,6 +21,7 @@ interface Props {
19
21
  leadingIcon?: string;
20
22
  error?: boolean;
21
23
  content: string;
24
+ variant?: ChipVariant;
22
25
  }
23
- export declare const GoAChip: ({ leadingIcon, deletable, error, content, onClick }: Props) => JSX.Element;
26
+ export declare const GoAChip: ({ leadingIcon, deletable, error, variant, content, onClick }: Props) => JSX.Element;
24
27
  export default GoAChip;
@@ -1,11 +1,10 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  declare type ContainerType = 'interactive' | 'non-interactive' | 'info' | 'error' | 'success' | 'warning';
3
- declare type HeadingSize = 'large' | 'small' | 'none';
3
+ declare type Accent = 'thick' | 'thin' | 'filled';
4
4
  declare type ContainerPadding = "relaxed" | "compact";
5
5
  interface WCProps {
6
6
  type?: ContainerType;
7
- headingsize?: HeadingSize;
8
- colored?: boolean;
7
+ accent?: Accent;
9
8
  padding?: ContainerPadding;
10
9
  }
11
10
  declare global {
@@ -16,10 +15,9 @@ declare global {
16
15
  }
17
16
  }
18
17
  interface Props {
19
- headingSize?: HeadingSize;
18
+ accent?: Accent;
20
19
  type?: ContainerType;
21
20
  title?: ReactNode;
22
- colored?: boolean;
23
21
  padding?: ContainerPadding;
24
22
  actions?: ReactNode;
25
23
  children?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.0.0-alpha.62",
3
+ "version": "4.0.0-alpha.64",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -3456,7 +3456,7 @@ function create_if_block_1$8(ctx) {
3456
3456
  }
3457
3457
 
3458
3458
  };
3459
- } // (42:2) {#if _deletable}
3459
+ } // (44:2) {#if _deletable}
3460
3460
 
3461
3461
 
3462
3462
  function create_if_block$e(ctx) {
@@ -3472,14 +3472,14 @@ function create_if_block$e(ctx) {
3472
3472
  set_custom_element_data(goa_icon, "type", "close-circle");
3473
3473
  set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value =
3474
3474
  /*_error*/
3475
- ctx[4] ? "var(--goa-color-status-emergency)" :
3475
+ ctx[5] ? "var(--goa-color-status-emergency)" :
3476
3476
  /*_hovering*/
3477
- ctx[3] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)");
3477
+ ctx[4] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)");
3478
3478
  set_custom_element_data(goa_icon, "opacity", goa_icon_opacity_value =
3479
3479
  /*_error*/
3480
- ctx[4] ?
3480
+ ctx[5] ?
3481
3481
  /*_hovering*/
3482
- ctx[3] ? 1 : 0.5 : 1);
3482
+ ctx[4] ? 1 : 0.5 : 1);
3483
3483
  },
3484
3484
 
3485
3485
  m(target, anchor) {
@@ -3489,21 +3489,21 @@ function create_if_block$e(ctx) {
3489
3489
  p(ctx, dirty) {
3490
3490
  if (dirty &
3491
3491
  /*_error, _hovering*/
3492
- 24 && goa_icon_fillcolor_value !== (goa_icon_fillcolor_value =
3492
+ 48 && goa_icon_fillcolor_value !== (goa_icon_fillcolor_value =
3493
3493
  /*_error*/
3494
- ctx[4] ? "var(--goa-color-status-emergency)" :
3494
+ ctx[5] ? "var(--goa-color-status-emergency)" :
3495
3495
  /*_hovering*/
3496
- ctx[3] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)")) {
3496
+ ctx[4] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)")) {
3497
3497
  set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value);
3498
3498
  }
3499
3499
 
3500
3500
  if (dirty &
3501
3501
  /*_error, _hovering*/
3502
- 24 && goa_icon_opacity_value !== (goa_icon_opacity_value =
3502
+ 48 && goa_icon_opacity_value !== (goa_icon_opacity_value =
3503
3503
  /*_error*/
3504
- ctx[4] ?
3504
+ ctx[5] ?
3505
3505
  /*_hovering*/
3506
- ctx[3] ? 1 : 0.5 : 1)) {
3506
+ ctx[4] ? 1 : 0.5 : 1)) {
3507
3507
  set_custom_element_data(goa_icon, "opacity", goa_icon_opacity_value);
3508
3508
  }
3509
3509
  },
@@ -3528,7 +3528,7 @@ function create_fragment$u(ctx) {
3528
3528
  ctx[0] && create_if_block_1$8(ctx);
3529
3529
  let if_block1 =
3530
3530
  /*_deletable*/
3531
- ctx[5] && create_if_block$e(ctx);
3531
+ ctx[6] && create_if_block$e(ctx);
3532
3532
  return {
3533
3533
  c() {
3534
3534
  div1 = element("div");
@@ -3547,10 +3547,13 @@ function create_fragment$u(ctx) {
3547
3547
  attr(div1, "tabindex", "0");
3548
3548
  toggle_class(div1, "deletable",
3549
3549
  /*_deletable*/
3550
- ctx[5]);
3550
+ ctx[6]);
3551
3551
  toggle_class(div1, "error",
3552
3552
  /*_error*/
3553
- ctx[4]);
3553
+ ctx[5]);
3554
+ toggle_class(div1, "variant",
3555
+ /*variant*/
3556
+ ctx[2]);
3554
3557
  },
3555
3558
 
3556
3559
  m(target, anchor) {
@@ -3563,20 +3566,20 @@ function create_fragment$u(ctx) {
3563
3566
  if (if_block1) if_block1.m(div1, null);
3564
3567
  /*div1_binding*/
3565
3568
 
3566
- ctx[9](div1);
3569
+ ctx[10](div1);
3567
3570
 
3568
3571
  if (!mounted) {
3569
3572
  dispose = [listen(div1, "click",
3570
3573
  /*click_handler*/
3571
- ctx[10]), listen(div1, "mouseover",
3574
+ ctx[11]), listen(div1, "mouseover",
3572
3575
  /*mouseover_handler*/
3573
- ctx[11]), listen(div1, "mouseout",
3576
+ ctx[12]), listen(div1, "mouseout",
3574
3577
  /*mouseout_handler*/
3575
- ctx[12]), listen(div1, "focus",
3578
+ ctx[13]), listen(div1, "focus",
3576
3579
  /*focus_handler*/
3577
- ctx[13]), listen(div1, "blur",
3580
+ ctx[14]), listen(div1, "blur",
3578
3581
  /*blur_handler*/
3579
- ctx[14])];
3582
+ ctx[15])];
3580
3583
  mounted = true;
3581
3584
  }
3582
3585
  },
@@ -3605,7 +3608,7 @@ function create_fragment$u(ctx) {
3605
3608
 
3606
3609
  if (
3607
3610
  /*_deletable*/
3608
- ctx[5]) {
3611
+ ctx[6]) {
3609
3612
  if (if_block1) {
3610
3613
  if_block1.p(ctx, dirty);
3611
3614
  } else {
@@ -3620,18 +3623,26 @@ function create_fragment$u(ctx) {
3620
3623
 
3621
3624
  if (dirty &
3622
3625
  /*_deletable*/
3623
- 32) {
3626
+ 64) {
3624
3627
  toggle_class(div1, "deletable",
3625
3628
  /*_deletable*/
3626
- ctx[5]);
3629
+ ctx[6]);
3627
3630
  }
3628
3631
 
3629
3632
  if (dirty &
3630
3633
  /*_error*/
3631
- 16) {
3634
+ 32) {
3632
3635
  toggle_class(div1, "error",
3633
3636
  /*_error*/
3634
- ctx[4]);
3637
+ ctx[5]);
3638
+ }
3639
+
3640
+ if (dirty &
3641
+ /*variant*/
3642
+ 4) {
3643
+ toggle_class(div1, "variant",
3644
+ /*variant*/
3645
+ ctx[2]);
3635
3646
  }
3636
3647
  },
3637
3648
 
@@ -3644,7 +3655,7 @@ function create_fragment$u(ctx) {
3644
3655
  if (if_block1) if_block1.d();
3645
3656
  /*div1_binding*/
3646
3657
 
3647
- ctx[9](null);
3658
+ ctx[10](null);
3648
3659
  mounted = false;
3649
3660
  run_all(dispose);
3650
3661
  }
@@ -3665,6 +3676,9 @@ function instance$s($$self, $$props, $$invalidate) {
3665
3676
  let {
3666
3677
  content
3667
3678
  } = $$props;
3679
+ let {
3680
+ variant
3681
+ } = $$props;
3668
3682
  let el;
3669
3683
  let _hovering = false; // booleans
3670
3684
 
@@ -3683,42 +3697,43 @@ function instance$s($$self, $$props, $$invalidate) {
3683
3697
  function div1_binding($$value) {
3684
3698
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
3685
3699
  el = $$value;
3686
- $$invalidate(2, el);
3700
+ $$invalidate(3, el);
3687
3701
  });
3688
3702
  }
3689
3703
 
3690
3704
  const click_handler = e => _deletable && onDelete(e);
3691
3705
 
3692
- const mouseover_handler = () => $$invalidate(3, _hovering = true);
3706
+ const mouseover_handler = () => $$invalidate(4, _hovering = true);
3693
3707
 
3694
- const mouseout_handler = () => $$invalidate(3, _hovering = false);
3708
+ const mouseout_handler = () => $$invalidate(4, _hovering = false);
3695
3709
 
3696
- const focus_handler = () => $$invalidate(3, _hovering = false);
3710
+ const focus_handler = () => $$invalidate(4, _hovering = false);
3697
3711
 
3698
- const blur_handler = () => $$invalidate(3, _hovering = false);
3712
+ const blur_handler = () => $$invalidate(4, _hovering = false);
3699
3713
 
3700
3714
  $$self.$$set = $$props => {
3701
3715
  if ('leadingicon' in $$props) $$invalidate(0, leadingicon = $$props.leadingicon);
3702
- if ('error' in $$props) $$invalidate(7, error = $$props.error);
3703
- if ('deletable' in $$props) $$invalidate(8, deletable = $$props.deletable);
3716
+ if ('error' in $$props) $$invalidate(8, error = $$props.error);
3717
+ if ('deletable' in $$props) $$invalidate(9, deletable = $$props.deletable);
3704
3718
  if ('content' in $$props) $$invalidate(1, content = $$props.content);
3719
+ if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
3705
3720
  };
3706
3721
 
3707
3722
  $$self.$$.update = () => {
3708
3723
  if ($$self.$$.dirty &
3709
3724
  /*error*/
3710
- 128) {
3711
- $$invalidate(4, _error = toBoolean(error));
3725
+ 256) {
3726
+ $$invalidate(5, _error = toBoolean(error));
3712
3727
  }
3713
3728
 
3714
3729
  if ($$self.$$.dirty &
3715
3730
  /*deletable*/
3716
- 256) {
3717
- $$invalidate(5, _deletable = toBoolean(deletable));
3731
+ 512) {
3732
+ $$invalidate(6, _deletable = toBoolean(deletable));
3718
3733
  }
3719
3734
  };
3720
3735
 
3721
- return [leadingicon, content, el, _hovering, _error, _deletable, onDelete, error, deletable, div1_binding, click_handler, mouseover_handler, mouseout_handler, focus_handler, blur_handler];
3736
+ return [leadingicon, content, variant, el, _hovering, _error, _deletable, onDelete, error, deletable, div1_binding, click_handler, mouseover_handler, mouseout_handler, focus_handler, blur_handler];
3722
3737
  }
3723
3738
 
3724
3739
  class Chip extends SvelteElement {
@@ -3731,9 +3746,10 @@ class Chip extends SvelteElement {
3731
3746
  customElement: true
3732
3747
  }, instance$s, create_fragment$u, safe_not_equal, {
3733
3748
  leadingicon: 0,
3734
- error: 7,
3735
- deletable: 8,
3736
- content: 1
3749
+ error: 8,
3750
+ deletable: 9,
3751
+ content: 1,
3752
+ variant: 2
3737
3753
  }, null);
3738
3754
 
3739
3755
  if (options) {
@@ -3749,7 +3765,7 @@ class Chip extends SvelteElement {
3749
3765
  }
3750
3766
 
3751
3767
  static get observedAttributes() {
3752
- return ["leadingicon", "error", "deletable", "content"];
3768
+ return ["leadingicon", "error", "deletable", "content", "variant"];
3753
3769
  }
3754
3770
 
3755
3771
  get leadingicon() {
@@ -3764,7 +3780,7 @@ class Chip extends SvelteElement {
3764
3780
  }
3765
3781
 
3766
3782
  get error() {
3767
- return this.$$.ctx[7];
3783
+ return this.$$.ctx[8];
3768
3784
  }
3769
3785
 
3770
3786
  set error(error) {
@@ -3775,7 +3791,7 @@ class Chip extends SvelteElement {
3775
3791
  }
3776
3792
 
3777
3793
  get deletable() {
3778
- return this.$$.ctx[8];
3794
+ return this.$$.ctx[9];
3779
3795
  }
3780
3796
 
3781
3797
  set deletable(deletable) {
@@ -3796,6 +3812,17 @@ class Chip extends SvelteElement {
3796
3812
  flush();
3797
3813
  }
3798
3814
 
3815
+ get variant() {
3816
+ return this.$$.ctx[2];
3817
+ }
3818
+
3819
+ set variant(variant) {
3820
+ this.$$set({
3821
+ variant
3822
+ });
3823
+ flush();
3824
+ }
3825
+
3799
3826
  }
3800
3827
 
3801
3828
  customElements.define("goa-chip", Chip);
@@ -4513,7 +4540,7 @@ function create_fragment$s(ctx) {
4513
4540
  attr(div0, "class", "title");
4514
4541
  attr(div1, "class", "actions");
4515
4542
  attr(header, "class", header_class_value = "heading--" +
4516
- /*headingsize*/
4543
+ /*accent*/
4517
4544
  ctx[1]);
4518
4545
  attr(div2, "class", "content");
4519
4546
  attr(div3, "class", div3_class_value = `
@@ -4524,10 +4551,10 @@ function create_fragment$s(ctx) {
4524
4551
  padding--${
4525
4552
  /*padding*/
4526
4553
  ctx[2]}
4554
+ accent--${
4555
+ /*accent*/
4556
+ ctx[1]}
4527
4557
  `);
4528
- toggle_class(div3, "colored",
4529
- /*_colored*/
4530
- ctx[3]);
4531
4558
  },
4532
4559
 
4533
4560
  m(target, anchor) {
@@ -4542,16 +4569,16 @@ function create_fragment$s(ctx) {
4542
4569
 
4543
4570
  p(ctx, [dirty]) {
4544
4571
  if (dirty &
4545
- /*headingsize*/
4572
+ /*accent*/
4546
4573
  2 && header_class_value !== (header_class_value = "heading--" +
4547
- /*headingsize*/
4574
+ /*accent*/
4548
4575
  ctx[1])) {
4549
4576
  attr(header, "class", header_class_value);
4550
4577
  }
4551
4578
 
4552
4579
  if (dirty &
4553
- /*type, padding*/
4554
- 5 && div3_class_value !== (div3_class_value = `
4580
+ /*type, padding, accent*/
4581
+ 7 && div3_class_value !== (div3_class_value = `
4555
4582
  goa-container
4556
4583
  goa-container--${
4557
4584
  /*type*/
@@ -4559,17 +4586,12 @@ function create_fragment$s(ctx) {
4559
4586
  padding--${
4560
4587
  /*padding*/
4561
4588
  ctx[2]}
4589
+ accent--${
4590
+ /*accent*/
4591
+ ctx[1]}
4562
4592
  `)) {
4563
4593
  attr(div3, "class", div3_class_value);
4564
4594
  }
4565
-
4566
- if (dirty &
4567
- /*type, padding, _colored*/
4568
- 13) {
4569
- toggle_class(div3, "colored",
4570
- /*_colored*/
4571
- ctx[3]);
4572
- }
4573
4595
  },
4574
4596
 
4575
4597
  i: noop,
@@ -4583,16 +4605,11 @@ function create_fragment$s(ctx) {
4583
4605
  }
4584
4606
 
4585
4607
  function instance$q($$self, $$props, $$invalidate) {
4586
- let _colored;
4587
-
4588
4608
  let {
4589
- type = 'non-interactive'
4609
+ type = 'interactive'
4590
4610
  } = $$props;
4591
4611
  let {
4592
- colored = "false"
4593
- } = $$props;
4594
- let {
4595
- headingsize = 'large'
4612
+ accent = 'filled'
4596
4613
  } = $$props;
4597
4614
  let {
4598
4615
  padding = "relaxed"
@@ -4600,34 +4617,24 @@ function instance$q($$self, $$props, $$invalidate) {
4600
4617
 
4601
4618
  $$self.$$set = $$props => {
4602
4619
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
4603
- if ('colored' in $$props) $$invalidate(4, colored = $$props.colored);
4604
- if ('headingsize' in $$props) $$invalidate(1, headingsize = $$props.headingsize);
4620
+ if ('accent' in $$props) $$invalidate(1, accent = $$props.accent);
4605
4621
  if ('padding' in $$props) $$invalidate(2, padding = $$props.padding);
4606
4622
  };
4607
4623
 
4608
- $$self.$$.update = () => {
4609
- if ($$self.$$.dirty &
4610
- /*colored*/
4611
- 16) {
4612
- $$invalidate(3, _colored = toBoolean(colored));
4613
- }
4614
- };
4615
-
4616
- return [type, headingsize, padding, _colored, colored];
4624
+ return [type, accent, padding];
4617
4625
  }
4618
4626
 
4619
4627
  class Container extends SvelteElement {
4620
4628
  constructor(options) {
4621
4629
  super();
4622
- 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{padding:0.5rem 0}.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>`;
4630
+ 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.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.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--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>`;
4623
4631
  init(this, {
4624
4632
  target: this.shadowRoot,
4625
4633
  props: attribute_to_object(this.attributes),
4626
4634
  customElement: true
4627
4635
  }, instance$q, create_fragment$s, safe_not_equal, {
4628
4636
  type: 0,
4629
- colored: 4,
4630
- headingsize: 1,
4637
+ accent: 1,
4631
4638
  padding: 2
4632
4639
  }, null);
4633
4640
 
@@ -4644,7 +4651,7 @@ class Container extends SvelteElement {
4644
4651
  }
4645
4652
 
4646
4653
  static get observedAttributes() {
4647
- return ["type", "colored", "headingsize", "padding"];
4654
+ return ["type", "accent", "padding"];
4648
4655
  }
4649
4656
 
4650
4657
  get type() {
@@ -4658,24 +4665,13 @@ class Container extends SvelteElement {
4658
4665
  flush();
4659
4666
  }
4660
4667
 
4661
- get colored() {
4662
- return this.$$.ctx[4];
4663
- }
4664
-
4665
- set colored(colored) {
4666
- this.$$set({
4667
- colored
4668
- });
4669
- flush();
4670
- }
4671
-
4672
- get headingsize() {
4668
+ get accent() {
4673
4669
  return this.$$.ctx[1];
4674
4670
  }
4675
4671
 
4676
- set headingsize(headingsize) {
4672
+ set accent(accent) {
4677
4673
  this.$$set({
4678
- headingsize
4674
+ accent
4679
4675
  });
4680
4676
  flush();
4681
4677
  }
@@ -13894,8 +13890,8 @@ function create_fragment$1(ctx) {
13894
13890
  set_custom_element_data(goa_container, "type",
13895
13891
  /*type*/
13896
13892
  ctx[3]);
13897
- set_custom_element_data(goa_container, "headingsize",
13898
- /*headingsize*/
13893
+ set_custom_element_data(goa_container, "accent",
13894
+ /*accent*/
13899
13895
  ctx[4]);
13900
13896
  },
13901
13897
 
@@ -13957,10 +13953,10 @@ function create_fragment$1(ctx) {
13957
13953
  }
13958
13954
 
13959
13955
  if (dirty &
13960
- /*headingsize*/
13956
+ /*accent*/
13961
13957
  16) {
13962
- set_custom_element_data(goa_container, "headingsize",
13963
- /*headingsize*/
13958
+ set_custom_element_data(goa_container, "accent",
13959
+ /*accent*/
13964
13960
  ctx[4]);
13965
13961
  }
13966
13962
  },
@@ -13991,7 +13987,7 @@ function instance$1($$self, $$props, $$invalidate) {
13991
13987
  type = "default"
13992
13988
  } = $$props;
13993
13989
  let {
13994
- headingsize = "large"
13990
+ accent = "thick"
13995
13991
  } = $$props;
13996
13992
 
13997
13993
  $$self.$$set = $$props => {
@@ -13999,10 +13995,10 @@ function instance$1($$self, $$props, $$invalidate) {
13999
13995
  if ('actions' in $$props) $$invalidate(1, actions = $$props.actions);
14000
13996
  if ('content' in $$props) $$invalidate(2, content = $$props.content);
14001
13997
  if ('type' in $$props) $$invalidate(3, type = $$props.type);
14002
- if ('headingsize' in $$props) $$invalidate(4, headingsize = $$props.headingsize);
13998
+ if ('accent' in $$props) $$invalidate(4, accent = $$props.accent);
14003
13999
  };
14004
14000
 
14005
- return [title, actions, content, type, headingsize];
14001
+ return [title, actions, content, type, accent];
14006
14002
  }
14007
14003
 
14008
14004
  class ContainerWrapper_test extends SvelteElement {
@@ -14017,7 +14013,7 @@ class ContainerWrapper_test extends SvelteElement {
14017
14013
  actions: 1,
14018
14014
  content: 2,
14019
14015
  type: 3,
14020
- headingsize: 4
14016
+ accent: 4
14021
14017
  }, null);
14022
14018
 
14023
14019
  if (options) {
@@ -14033,7 +14029,7 @@ class ContainerWrapper_test extends SvelteElement {
14033
14029
  }
14034
14030
 
14035
14031
  static get observedAttributes() {
14036
- return ["title", "actions", "content", "type", "headingsize"];
14032
+ return ["title", "actions", "content", "type", "accent"];
14037
14033
  }
14038
14034
 
14039
14035
  get title() {
@@ -14080,13 +14076,13 @@ class ContainerWrapper_test extends SvelteElement {
14080
14076
  flush();
14081
14077
  }
14082
14078
 
14083
- get headingsize() {
14079
+ get accent() {
14084
14080
  return this.$$.ctx[4];
14085
14081
  }
14086
14082
 
14087
- set headingsize(headingsize) {
14083
+ set accent(accent) {
14088
14084
  this.$$set({
14089
- headingsize
14085
+ accent
14090
14086
  });
14091
14087
  flush();
14092
14088
  }
@@ -14437,6 +14433,7 @@ const GoAChip = ({
14437
14433
  leadingIcon: _leadingIcon = "",
14438
14434
  deletable: _deletable = false,
14439
14435
  error: _error = false,
14436
+ variant,
14440
14437
  content,
14441
14438
  onClick
14442
14439
  }) => {
@@ -14460,7 +14457,8 @@ const GoAChip = ({
14460
14457
  leadingicon: _leadingIcon,
14461
14458
  error: _error,
14462
14459
  deletable: _deletable,
14463
- content: content
14460
+ content: content,
14461
+ variant: variant
14464
14462
  }, void 0);
14465
14463
  };
14466
14464
 
@@ -14481,9 +14479,8 @@ const GoACircularProgress = ({
14481
14479
  };
14482
14480
 
14483
14481
  const GoAContainer = ({
14484
- headingSize,
14482
+ accent,
14485
14483
  title,
14486
- colored: _colored = false,
14487
14484
  padding,
14488
14485
  children,
14489
14486
  actions,
@@ -14492,8 +14489,7 @@ const GoAContainer = ({
14492
14489
  return jsxs("goa-container", Object.assign({
14493
14490
  type: type,
14494
14491
  padding: padding,
14495
- headingsize: headingSize,
14496
- colored: _colored
14492
+ accent: accent
14497
14493
  }, {
14498
14494
  children: [title && jsx("div", Object.assign({
14499
14495
  slot: "title"
@@ -3497,7 +3497,7 @@
3497
3497
  }
3498
3498
 
3499
3499
  };
3500
- } // (42:2) {#if _deletable}
3500
+ } // (44:2) {#if _deletable}
3501
3501
 
3502
3502
 
3503
3503
  function create_if_block$e(ctx) {
@@ -3513,14 +3513,14 @@
3513
3513
  set_custom_element_data(goa_icon, "type", "close-circle");
3514
3514
  set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value =
3515
3515
  /*_error*/
3516
- ctx[4] ? "var(--goa-color-status-emergency)" :
3516
+ ctx[5] ? "var(--goa-color-status-emergency)" :
3517
3517
  /*_hovering*/
3518
- ctx[3] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)");
3518
+ ctx[4] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)");
3519
3519
  set_custom_element_data(goa_icon, "opacity", goa_icon_opacity_value =
3520
3520
  /*_error*/
3521
- ctx[4] ?
3521
+ ctx[5] ?
3522
3522
  /*_hovering*/
3523
- ctx[3] ? 1 : 0.5 : 1);
3523
+ ctx[4] ? 1 : 0.5 : 1);
3524
3524
  },
3525
3525
 
3526
3526
  m(target, anchor) {
@@ -3530,21 +3530,21 @@
3530
3530
  p(ctx, dirty) {
3531
3531
  if (dirty &
3532
3532
  /*_error, _hovering*/
3533
- 24 && goa_icon_fillcolor_value !== (goa_icon_fillcolor_value =
3533
+ 48 && goa_icon_fillcolor_value !== (goa_icon_fillcolor_value =
3534
3534
  /*_error*/
3535
- ctx[4] ? "var(--goa-color-status-emergency)" :
3535
+ ctx[5] ? "var(--goa-color-status-emergency)" :
3536
3536
  /*_hovering*/
3537
- ctx[3] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)")) {
3537
+ ctx[4] ? "var(--goa-color-interactive--hover)" : "var(--color-gray-600)")) {
3538
3538
  set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value);
3539
3539
  }
3540
3540
 
3541
3541
  if (dirty &
3542
3542
  /*_error, _hovering*/
3543
- 24 && goa_icon_opacity_value !== (goa_icon_opacity_value =
3543
+ 48 && goa_icon_opacity_value !== (goa_icon_opacity_value =
3544
3544
  /*_error*/
3545
- ctx[4] ?
3545
+ ctx[5] ?
3546
3546
  /*_hovering*/
3547
- ctx[3] ? 1 : 0.5 : 1)) {
3547
+ ctx[4] ? 1 : 0.5 : 1)) {
3548
3548
  set_custom_element_data(goa_icon, "opacity", goa_icon_opacity_value);
3549
3549
  }
3550
3550
  },
@@ -3569,7 +3569,7 @@
3569
3569
  ctx[0] && create_if_block_1$8(ctx);
3570
3570
  let if_block1 =
3571
3571
  /*_deletable*/
3572
- ctx[5] && create_if_block$e(ctx);
3572
+ ctx[6] && create_if_block$e(ctx);
3573
3573
  return {
3574
3574
  c() {
3575
3575
  div1 = element("div");
@@ -3588,10 +3588,13 @@
3588
3588
  attr(div1, "tabindex", "0");
3589
3589
  toggle_class(div1, "deletable",
3590
3590
  /*_deletable*/
3591
- ctx[5]);
3591
+ ctx[6]);
3592
3592
  toggle_class(div1, "error",
3593
3593
  /*_error*/
3594
- ctx[4]);
3594
+ ctx[5]);
3595
+ toggle_class(div1, "variant",
3596
+ /*variant*/
3597
+ ctx[2]);
3595
3598
  },
3596
3599
 
3597
3600
  m(target, anchor) {
@@ -3604,20 +3607,20 @@
3604
3607
  if (if_block1) if_block1.m(div1, null);
3605
3608
  /*div1_binding*/
3606
3609
 
3607
- ctx[9](div1);
3610
+ ctx[10](div1);
3608
3611
 
3609
3612
  if (!mounted) {
3610
3613
  dispose = [listen(div1, "click",
3611
3614
  /*click_handler*/
3612
- ctx[10]), listen(div1, "mouseover",
3615
+ ctx[11]), listen(div1, "mouseover",
3613
3616
  /*mouseover_handler*/
3614
- ctx[11]), listen(div1, "mouseout",
3617
+ ctx[12]), listen(div1, "mouseout",
3615
3618
  /*mouseout_handler*/
3616
- ctx[12]), listen(div1, "focus",
3619
+ ctx[13]), listen(div1, "focus",
3617
3620
  /*focus_handler*/
3618
- ctx[13]), listen(div1, "blur",
3621
+ ctx[14]), listen(div1, "blur",
3619
3622
  /*blur_handler*/
3620
- ctx[14])];
3623
+ ctx[15])];
3621
3624
  mounted = true;
3622
3625
  }
3623
3626
  },
@@ -3646,7 +3649,7 @@
3646
3649
 
3647
3650
  if (
3648
3651
  /*_deletable*/
3649
- ctx[5]) {
3652
+ ctx[6]) {
3650
3653
  if (if_block1) {
3651
3654
  if_block1.p(ctx, dirty);
3652
3655
  } else {
@@ -3661,18 +3664,26 @@
3661
3664
 
3662
3665
  if (dirty &
3663
3666
  /*_deletable*/
3664
- 32) {
3667
+ 64) {
3665
3668
  toggle_class(div1, "deletable",
3666
3669
  /*_deletable*/
3667
- ctx[5]);
3670
+ ctx[6]);
3668
3671
  }
3669
3672
 
3670
3673
  if (dirty &
3671
3674
  /*_error*/
3672
- 16) {
3675
+ 32) {
3673
3676
  toggle_class(div1, "error",
3674
3677
  /*_error*/
3675
- ctx[4]);
3678
+ ctx[5]);
3679
+ }
3680
+
3681
+ if (dirty &
3682
+ /*variant*/
3683
+ 4) {
3684
+ toggle_class(div1, "variant",
3685
+ /*variant*/
3686
+ ctx[2]);
3676
3687
  }
3677
3688
  },
3678
3689
 
@@ -3685,7 +3696,7 @@
3685
3696
  if (if_block1) if_block1.d();
3686
3697
  /*div1_binding*/
3687
3698
 
3688
- ctx[9](null);
3699
+ ctx[10](null);
3689
3700
  mounted = false;
3690
3701
  run_all(dispose);
3691
3702
  }
@@ -3706,6 +3717,9 @@
3706
3717
  let {
3707
3718
  content
3708
3719
  } = $$props;
3720
+ let {
3721
+ variant
3722
+ } = $$props;
3709
3723
  let el;
3710
3724
  let _hovering = false; // booleans
3711
3725
 
@@ -3724,42 +3738,43 @@
3724
3738
  function div1_binding($$value) {
3725
3739
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
3726
3740
  el = $$value;
3727
- $$invalidate(2, el);
3741
+ $$invalidate(3, el);
3728
3742
  });
3729
3743
  }
3730
3744
 
3731
3745
  const click_handler = e => _deletable && onDelete(e);
3732
3746
 
3733
- const mouseover_handler = () => $$invalidate(3, _hovering = true);
3747
+ const mouseover_handler = () => $$invalidate(4, _hovering = true);
3734
3748
 
3735
- const mouseout_handler = () => $$invalidate(3, _hovering = false);
3749
+ const mouseout_handler = () => $$invalidate(4, _hovering = false);
3736
3750
 
3737
- const focus_handler = () => $$invalidate(3, _hovering = false);
3751
+ const focus_handler = () => $$invalidate(4, _hovering = false);
3738
3752
 
3739
- const blur_handler = () => $$invalidate(3, _hovering = false);
3753
+ const blur_handler = () => $$invalidate(4, _hovering = false);
3740
3754
 
3741
3755
  $$self.$$set = $$props => {
3742
3756
  if ('leadingicon' in $$props) $$invalidate(0, leadingicon = $$props.leadingicon);
3743
- if ('error' in $$props) $$invalidate(7, error = $$props.error);
3744
- if ('deletable' in $$props) $$invalidate(8, deletable = $$props.deletable);
3757
+ if ('error' in $$props) $$invalidate(8, error = $$props.error);
3758
+ if ('deletable' in $$props) $$invalidate(9, deletable = $$props.deletable);
3745
3759
  if ('content' in $$props) $$invalidate(1, content = $$props.content);
3760
+ if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
3746
3761
  };
3747
3762
 
3748
3763
  $$self.$$.update = () => {
3749
3764
  if ($$self.$$.dirty &
3750
3765
  /*error*/
3751
- 128) {
3752
- $$invalidate(4, _error = toBoolean(error));
3766
+ 256) {
3767
+ $$invalidate(5, _error = toBoolean(error));
3753
3768
  }
3754
3769
 
3755
3770
  if ($$self.$$.dirty &
3756
3771
  /*deletable*/
3757
- 256) {
3758
- $$invalidate(5, _deletable = toBoolean(deletable));
3772
+ 512) {
3773
+ $$invalidate(6, _deletable = toBoolean(deletable));
3759
3774
  }
3760
3775
  };
3761
3776
 
3762
- return [leadingicon, content, el, _hovering, _error, _deletable, onDelete, error, deletable, div1_binding, click_handler, mouseover_handler, mouseout_handler, focus_handler, blur_handler];
3777
+ return [leadingicon, content, variant, el, _hovering, _error, _deletable, onDelete, error, deletable, div1_binding, click_handler, mouseover_handler, mouseout_handler, focus_handler, blur_handler];
3763
3778
  }
3764
3779
 
3765
3780
  class Chip extends SvelteElement {
@@ -3772,9 +3787,10 @@
3772
3787
  customElement: true
3773
3788
  }, instance$s, create_fragment$u, safe_not_equal, {
3774
3789
  leadingicon: 0,
3775
- error: 7,
3776
- deletable: 8,
3777
- content: 1
3790
+ error: 8,
3791
+ deletable: 9,
3792
+ content: 1,
3793
+ variant: 2
3778
3794
  }, null);
3779
3795
 
3780
3796
  if (options) {
@@ -3790,7 +3806,7 @@
3790
3806
  }
3791
3807
 
3792
3808
  static get observedAttributes() {
3793
- return ["leadingicon", "error", "deletable", "content"];
3809
+ return ["leadingicon", "error", "deletable", "content", "variant"];
3794
3810
  }
3795
3811
 
3796
3812
  get leadingicon() {
@@ -3805,7 +3821,7 @@
3805
3821
  }
3806
3822
 
3807
3823
  get error() {
3808
- return this.$$.ctx[7];
3824
+ return this.$$.ctx[8];
3809
3825
  }
3810
3826
 
3811
3827
  set error(error) {
@@ -3816,7 +3832,7 @@
3816
3832
  }
3817
3833
 
3818
3834
  get deletable() {
3819
- return this.$$.ctx[8];
3835
+ return this.$$.ctx[9];
3820
3836
  }
3821
3837
 
3822
3838
  set deletable(deletable) {
@@ -3837,6 +3853,17 @@
3837
3853
  flush();
3838
3854
  }
3839
3855
 
3856
+ get variant() {
3857
+ return this.$$.ctx[2];
3858
+ }
3859
+
3860
+ set variant(variant) {
3861
+ this.$$set({
3862
+ variant
3863
+ });
3864
+ flush();
3865
+ }
3866
+
3840
3867
  }
3841
3868
 
3842
3869
  customElements.define("goa-chip", Chip);
@@ -4555,7 +4582,7 @@
4555
4582
  attr(div0, "class", "title");
4556
4583
  attr(div1, "class", "actions");
4557
4584
  attr(header, "class", header_class_value = "heading--" +
4558
- /*headingsize*/
4585
+ /*accent*/
4559
4586
  ctx[1]);
4560
4587
  attr(div2, "class", "content");
4561
4588
  attr(div3, "class", div3_class_value = `
@@ -4566,10 +4593,10 @@
4566
4593
  padding--${
4567
4594
  /*padding*/
4568
4595
  ctx[2]}
4596
+ accent--${
4597
+ /*accent*/
4598
+ ctx[1]}
4569
4599
  `);
4570
- toggle_class(div3, "colored",
4571
- /*_colored*/
4572
- ctx[3]);
4573
4600
  },
4574
4601
 
4575
4602
  m(target, anchor) {
@@ -4584,16 +4611,16 @@
4584
4611
 
4585
4612
  p(ctx, [dirty]) {
4586
4613
  if (dirty &
4587
- /*headingsize*/
4614
+ /*accent*/
4588
4615
  2 && header_class_value !== (header_class_value = "heading--" +
4589
- /*headingsize*/
4616
+ /*accent*/
4590
4617
  ctx[1])) {
4591
4618
  attr(header, "class", header_class_value);
4592
4619
  }
4593
4620
 
4594
4621
  if (dirty &
4595
- /*type, padding*/
4596
- 5 && div3_class_value !== (div3_class_value = `
4622
+ /*type, padding, accent*/
4623
+ 7 && div3_class_value !== (div3_class_value = `
4597
4624
  goa-container
4598
4625
  goa-container--${
4599
4626
  /*type*/
@@ -4601,17 +4628,12 @@
4601
4628
  padding--${
4602
4629
  /*padding*/
4603
4630
  ctx[2]}
4631
+ accent--${
4632
+ /*accent*/
4633
+ ctx[1]}
4604
4634
  `)) {
4605
4635
  attr(div3, "class", div3_class_value);
4606
4636
  }
4607
-
4608
- if (dirty &
4609
- /*type, padding, _colored*/
4610
- 13) {
4611
- toggle_class(div3, "colored",
4612
- /*_colored*/
4613
- ctx[3]);
4614
- }
4615
4637
  },
4616
4638
 
4617
4639
  i: noop,
@@ -4625,16 +4647,11 @@
4625
4647
  }
4626
4648
 
4627
4649
  function instance$q($$self, $$props, $$invalidate) {
4628
- let _colored;
4629
-
4630
4650
  let {
4631
- type = 'non-interactive'
4651
+ type = 'interactive'
4632
4652
  } = $$props;
4633
4653
  let {
4634
- colored = "false"
4635
- } = $$props;
4636
- let {
4637
- headingsize = 'large'
4654
+ accent = 'filled'
4638
4655
  } = $$props;
4639
4656
  let {
4640
4657
  padding = "relaxed"
@@ -4642,34 +4659,24 @@
4642
4659
 
4643
4660
  $$self.$$set = $$props => {
4644
4661
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
4645
- if ('colored' in $$props) $$invalidate(4, colored = $$props.colored);
4646
- if ('headingsize' in $$props) $$invalidate(1, headingsize = $$props.headingsize);
4662
+ if ('accent' in $$props) $$invalidate(1, accent = $$props.accent);
4647
4663
  if ('padding' in $$props) $$invalidate(2, padding = $$props.padding);
4648
4664
  };
4649
4665
 
4650
- $$self.$$.update = () => {
4651
- if ($$self.$$.dirty &
4652
- /*colored*/
4653
- 16) {
4654
- $$invalidate(3, _colored = toBoolean(colored));
4655
- }
4656
- };
4657
-
4658
- return [type, headingsize, padding, _colored, colored];
4666
+ return [type, accent, padding];
4659
4667
  }
4660
4668
 
4661
4669
  class Container extends SvelteElement {
4662
4670
  constructor(options) {
4663
4671
  super();
4664
- 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{padding:0.5rem 0}.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>`;
4672
+ 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.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.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--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>`;
4665
4673
  init(this, {
4666
4674
  target: this.shadowRoot,
4667
4675
  props: attribute_to_object(this.attributes),
4668
4676
  customElement: true
4669
4677
  }, instance$q, create_fragment$s, safe_not_equal, {
4670
4678
  type: 0,
4671
- colored: 4,
4672
- headingsize: 1,
4679
+ accent: 1,
4673
4680
  padding: 2
4674
4681
  }, null);
4675
4682
 
@@ -4686,7 +4693,7 @@
4686
4693
  }
4687
4694
 
4688
4695
  static get observedAttributes() {
4689
- return ["type", "colored", "headingsize", "padding"];
4696
+ return ["type", "accent", "padding"];
4690
4697
  }
4691
4698
 
4692
4699
  get type() {
@@ -4700,24 +4707,13 @@
4700
4707
  flush();
4701
4708
  }
4702
4709
 
4703
- get colored() {
4704
- return this.$$.ctx[4];
4705
- }
4706
-
4707
- set colored(colored) {
4708
- this.$$set({
4709
- colored
4710
- });
4711
- flush();
4712
- }
4713
-
4714
- get headingsize() {
4710
+ get accent() {
4715
4711
  return this.$$.ctx[1];
4716
4712
  }
4717
4713
 
4718
- set headingsize(headingsize) {
4714
+ set accent(accent) {
4719
4715
  this.$$set({
4720
- headingsize
4716
+ accent
4721
4717
  });
4722
4718
  flush();
4723
4719
  }
@@ -13943,8 +13939,8 @@
13943
13939
  set_custom_element_data(goa_container, "type",
13944
13940
  /*type*/
13945
13941
  ctx[3]);
13946
- set_custom_element_data(goa_container, "headingsize",
13947
- /*headingsize*/
13942
+ set_custom_element_data(goa_container, "accent",
13943
+ /*accent*/
13948
13944
  ctx[4]);
13949
13945
  },
13950
13946
 
@@ -14006,10 +14002,10 @@
14006
14002
  }
14007
14003
 
14008
14004
  if (dirty &
14009
- /*headingsize*/
14005
+ /*accent*/
14010
14006
  16) {
14011
- set_custom_element_data(goa_container, "headingsize",
14012
- /*headingsize*/
14007
+ set_custom_element_data(goa_container, "accent",
14008
+ /*accent*/
14013
14009
  ctx[4]);
14014
14010
  }
14015
14011
  },
@@ -14040,7 +14036,7 @@
14040
14036
  type = "default"
14041
14037
  } = $$props;
14042
14038
  let {
14043
- headingsize = "large"
14039
+ accent = "thick"
14044
14040
  } = $$props;
14045
14041
 
14046
14042
  $$self.$$set = $$props => {
@@ -14048,10 +14044,10 @@
14048
14044
  if ('actions' in $$props) $$invalidate(1, actions = $$props.actions);
14049
14045
  if ('content' in $$props) $$invalidate(2, content = $$props.content);
14050
14046
  if ('type' in $$props) $$invalidate(3, type = $$props.type);
14051
- if ('headingsize' in $$props) $$invalidate(4, headingsize = $$props.headingsize);
14047
+ if ('accent' in $$props) $$invalidate(4, accent = $$props.accent);
14052
14048
  };
14053
14049
 
14054
- return [title, actions, content, type, headingsize];
14050
+ return [title, actions, content, type, accent];
14055
14051
  }
14056
14052
 
14057
14053
  class ContainerWrapper_test extends SvelteElement {
@@ -14066,7 +14062,7 @@
14066
14062
  actions: 1,
14067
14063
  content: 2,
14068
14064
  type: 3,
14069
- headingsize: 4
14065
+ accent: 4
14070
14066
  }, null);
14071
14067
 
14072
14068
  if (options) {
@@ -14082,7 +14078,7 @@
14082
14078
  }
14083
14079
 
14084
14080
  static get observedAttributes() {
14085
- return ["title", "actions", "content", "type", "headingsize"];
14081
+ return ["title", "actions", "content", "type", "accent"];
14086
14082
  }
14087
14083
 
14088
14084
  get title() {
@@ -14129,13 +14125,13 @@
14129
14125
  flush();
14130
14126
  }
14131
14127
 
14132
- get headingsize() {
14128
+ get accent() {
14133
14129
  return this.$$.ctx[4];
14134
14130
  }
14135
14131
 
14136
- set headingsize(headingsize) {
14132
+ set accent(accent) {
14137
14133
  this.$$set({
14138
- headingsize
14134
+ accent
14139
14135
  });
14140
14136
  flush();
14141
14137
  }
@@ -14520,6 +14516,7 @@
14520
14516
  deletable = _c === void 0 ? false : _c,
14521
14517
  _d = _a.error,
14522
14518
  error = _d === void 0 ? false : _d,
14519
+ variant = _a.variant,
14523
14520
  content = _a.content,
14524
14521
  onClick = _a.onClick;
14525
14522
  var el = react.useRef(null);
@@ -14542,7 +14539,8 @@
14542
14539
  leadingicon: leadingIcon,
14543
14540
  error: error,
14544
14541
  deletable: deletable,
14545
- content: content
14542
+ content: content,
14543
+ variant: variant
14546
14544
  }, void 0);
14547
14545
  };
14548
14546
 
@@ -14562,10 +14560,8 @@
14562
14560
  };
14563
14561
 
14564
14562
  var GoAContainer = function GoAContainer(_a) {
14565
- var headingSize = _a.headingSize,
14563
+ var accent = _a.accent,
14566
14564
  title = _a.title,
14567
- _b = _a.colored,
14568
- colored = _b === void 0 ? false : _b,
14569
14565
  padding = _a.padding,
14570
14566
  children = _a.children,
14571
14567
  actions = _a.actions,
@@ -14573,8 +14569,7 @@
14573
14569
  return jsxRuntime.jsxs("goa-container", __assign({
14574
14570
  type: type,
14575
14571
  padding: padding,
14576
- headingsize: headingSize,
14577
- colored: colored
14572
+ accent: accent
14578
14573
  }, {
14579
14574
  children: [title && jsxRuntime.jsx("div", __assign({
14580
14575
  slot: "title"