@abgov/react-components 4.17.0-alpha.1 → 4.17.0-alpha.3

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.
Files changed (64) hide show
  1. package/lib/accordion/accordion.d.ts +6 -6
  2. package/lib/app-header/app-header.d.ts +3 -3
  3. package/lib/app-header-menu/app-header-menu.d.ts +1 -1
  4. package/lib/badge/badge.d.ts +13 -13
  5. package/lib/block/block.d.ts +4 -3
  6. package/lib/button/button.d.ts +15 -12
  7. package/lib/button-group/button-group.d.ts +10 -9
  8. package/lib/calendar/calendar.d.ts +9 -9
  9. package/lib/callout/callout.d.ts +10 -9
  10. package/lib/card/card-actions.d.ts +3 -3
  11. package/lib/card/card-content.d.ts +3 -3
  12. package/lib/card/card-group.d.ts +3 -3
  13. package/lib/card/card-image.d.ts +3 -3
  14. package/lib/card/card.d.ts +3 -3
  15. package/lib/checkbox/checkbox.d.ts +6 -5
  16. package/lib/chip/chip.d.ts +6 -6
  17. package/lib/circular-progress/circular-progress.d.ts +11 -9
  18. package/lib/container/container.d.ts +12 -12
  19. package/lib/date-picker/date-picker.d.ts +9 -9
  20. package/lib/details/details.d.ts +4 -3
  21. package/lib/divider/divider.d.ts +4 -3
  22. package/lib/dropdown/dropdown-item.d.ts +4 -4
  23. package/lib/dropdown/dropdown.d.ts +3 -3
  24. package/lib/file-upload-card/file-upload-card.d.ts +3 -3
  25. package/lib/file-upload-input/file-upload-input.d.ts +6 -6
  26. package/lib/footer/footer.d.ts +4 -3
  27. package/lib/footer-meta-section/footer-meta-section.d.ts +4 -3
  28. package/lib/footer-nav-section/footer-nav-section.d.ts +3 -3
  29. package/lib/form/form-item.d.ts +9 -8
  30. package/lib/form-step/form-step.d.ts +4 -3
  31. package/lib/form-stepper/form-stepper.d.ts +4 -3
  32. package/lib/grid/grid.d.ts +3 -3
  33. package/lib/hero-banner/hero-banner-actions.d.ts +2 -2
  34. package/lib/hero-banner/hero-banner.d.ts +3 -3
  35. package/lib/icon/icon.d.ts +14 -11
  36. package/lib/icon-button/icon-button.d.ts +10 -9
  37. package/lib/input/input.d.ts +22 -21
  38. package/lib/microsite-header/microsite-header.d.ts +15 -12
  39. package/lib/modal/modal.d.ts +17 -15
  40. package/lib/notification/notification.d.ts +11 -9
  41. package/lib/one-column-layout/one-column-layout.d.ts +4 -3
  42. package/lib/page-block/page-block.d.ts +4 -3
  43. package/lib/pages/pages.d.ts +3 -3
  44. package/lib/pagination/pagination.d.ts +4 -3
  45. package/lib/popover/popover.d.ts +6 -6
  46. package/lib/radio-group/radio-group.d.ts +8 -7
  47. package/lib/radio-group/radio.d.ts +3 -3
  48. package/lib/side-menu/side-menu.d.ts +4 -3
  49. package/lib/side-menu-group/side-menu-group.d.ts +3 -3
  50. package/lib/side-menu-heading/side-menu-heading.d.ts +3 -3
  51. package/lib/skeleton/skeleton.d.ts +11 -9
  52. package/lib/spacer/spacer.d.ts +4 -3
  53. package/lib/spinner/spinner.d.ts +4 -3
  54. package/lib/tab/tab.d.ts +4 -3
  55. package/lib/table/table-sort-header.d.ts +3 -3
  56. package/lib/table/table.d.ts +8 -6
  57. package/lib/tabs/tabs.d.ts +3 -3
  58. package/lib/textarea/textarea.d.ts +3 -3
  59. package/lib/three-column-layout/three-column-layout.d.ts +3 -3
  60. package/lib/tooltip/tooltip.d.ts +10 -8
  61. package/lib/two-column-layout/two-column-layout.d.ts +3 -3
  62. package/package.json +1 -1
  63. package/react-components.esm.js +136 -136
  64. package/react-components.umd.js +90 -90
@@ -299,7 +299,7 @@ function close(e){if(!_isClosable){return;}_rootEl===null||_rootEl===void 0?void
299
299
  }}function header_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_headerEl=$$value;($$invalidate(6,_headerEl),$$invalidate(7,_isOpen)),$$invalidate(2,open);});}function goa_scrollable_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_scrollEl=$$value;($$invalidate(5,_scrollEl),$$invalidate(7,_isOpen)),$$invalidate(2,open);});}function div2_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_contentEl=$$value;($$invalidate(4,_contentEl),$$invalidate(7,_isOpen)),$$invalidate(2,open);});}function div6_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_rootEl=$$value;($$invalidate(8,_rootEl),$$invalidate(7,_isOpen)),$$invalidate(2,open);});}$$self.$$set=$$props=>{if('heading'in $$props)$$invalidate(1,heading=$$props.heading);if('closable'in $$props)$$invalidate(14,closable=$$props.closable);if('open'in $$props)$$invalidate(2,open=$$props.open);if('transition'in $$props)$$invalidate(15,transition=$$props.transition);if('calloutvariant'in $$props)$$invalidate(3,calloutvariant=$$props.calloutvariant);if('maxwidth'in $$props)$$invalidate(0,maxwidth=$$props.maxwidth);if('width'in $$props)$$invalidate(16,width=$$props.width);};$$self.$$.update=()=>{if($$self.$$.dirty&/*closable*/16384){// Reactive
300
300
  $$invalidate(9,_isClosable=toBoolean(closable));}if($$self.$$.dirty&/*open*/4){setTimeout(()=>$$invalidate(7,_isOpen=toBoolean(open)),1);}if($$self.$$.dirty&/*_isOpen*/128){if(!_isOpen){// prevent null issues
301
301
  $$invalidate(4,_contentEl=$$invalidate(5,_scrollEl=$$invalidate(8,_rootEl=$$invalidate(6,_headerEl=null))));window.removeEventListener('keydown',onInputKeyDown);}}if($$self.$$.dirty&/*_isOpen, _scrollEl, _contentEl*/176){if(_isOpen&&_scrollEl&&_contentEl){const hasScroll=_scrollEl.scrollHeight>_scrollEl.offsetHeight;if(hasScroll){_contentEl.classList.add("scroll-top");}}}if($$self.$$.dirty&/*_isOpen, _contentEl, _headerEl*/208){if(_isOpen&&_contentEl){window.addEventListener('keydown',onInputKeyDown);const children=getChildren();if(_headerEl.querySelector("div.modal-title").textContent||_headerEl.querySelector("div.modal-close")||children.length){_headerEl.classList.add("has-content");}}}if($$self.$$.dirty&/*transition*/32768){$$invalidate(11,_transitionTime=transition==="none"?0:transition==="slow"?400:200);}if($$self.$$.dirty&/*calloutvariant*/8){$$invalidate(10,_iconType=calloutvariant==="emergency"?"warning":calloutvariant==="important"?"alert-circle":calloutvariant==="information"?"information-circle":calloutvariant==="success"?"checkmark-circle":calloutvariant==="event"?"calendar":"");}};return [maxwidth,heading,open,calloutvariant,_contentEl,_scrollEl,_headerEl,_isOpen,_rootEl,_isClosable,_iconType,_transitionTime,close,handleScroll,closable,transition,width,header_binding,goa_scrollable_binding,div2_binding,div6_binding];}class Modal extends SvelteElement{constructor(options){super();const style=document.createElement('style');style.textContent=`:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}@media screen and (min-width: 1024px){.modal-pane{max-width:var(--maxwidth)}}.modal-pane{background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}`;this.shadowRoot.appendChild(style);init(this,{target:this.shadowRoot,props:attribute_to_object(this.attributes),customElement:true},instance$t,create_fragment$w,safe_not_equal,{heading:1,closable:14,open:2,transition:15,calloutvariant:3,maxwidth:0,width:16},null);if(options){if(options.target){insert(options.target,this,options.anchor);}if(options.props){this.$set(options.props);flush();}}}static get observedAttributes(){return ["heading","closable","open","transition","calloutvariant","maxwidth","width"];}get heading(){return this.$$.ctx[1];}set heading(heading){this.$$set({heading});flush();}get closable(){return this.$$.ctx[14];}set closable(closable){this.$$set({closable});flush();}get open(){return this.$$.ctx[2];}set open(open){this.$$set({open});flush();}get transition(){return this.$$.ctx[15];}set transition(transition){this.$$set({transition});flush();}get calloutvariant(){return this.$$.ctx[3];}set calloutvariant(calloutvariant){this.$$set({calloutvariant});flush();}get maxwidth(){return this.$$.ctx[0];}set maxwidth(maxwidth){this.$$set({maxwidth});flush();}get width(){return this.$$.ctx[16];}set width(width){this.$$set({width});flush();}}customElements.define("goa-modal",Modal);/* src/components/notification/Notification.svelte generated by Svelte v3.59.2 */function create_if_block$g(ctx){let div4;let div3;let div0;let goa_icon0;let goa_icon0_inverted_value;let t0;let div1;let t1;let div2;let button;let goa_icon1;let goa_icon1_inverted_value;let div4_class_value;let div4_style_value;let div4_transition;let current;let mounted;let dispose;return {c(){div4=element("div");div3=element("div");div0=element("div");goa_icon0=element("goa-icon");t0=space();div1=element("div");div1.innerHTML=`<slot></slot>`;t1=space();div2=element("div");button=element("button");goa_icon1=element("goa-icon");set_custom_element_data(goa_icon0,"type",/*iconType*/ctx[4]);set_custom_element_data(goa_icon0,"inverted",goa_icon0_inverted_value=/*type*/ctx[0]==="important"?"false":"true");attr(div0,"class","icon");attr(div1,"class","content");set_custom_element_data(goa_icon1,"type","close");set_custom_element_data(goa_icon1,"inverted",goa_icon1_inverted_value=/*type*/ctx[0]==="important"?"false":"true");attr(button,"class",/*type*/ctx[0]);attr(div2,"class","close");attr(div3,"class","content-container");attr(div3,"role","alert");attr(div3,"aria-live",/*arialive*/ctx[2]);attr(div3,"aria-atomic","true");attr(div4,"class",div4_class_value="notification "+/*type*/ctx[0]);attr(div4,"style",div4_style_value=`--max-content-width: ${/*maxcontentwidth*/ctx[1]}`);},m(target,anchor){insert(target,div4,anchor);append(div4,div3);append(div3,div0);append(div0,goa_icon0);append(div3,t0);append(div3,div1);append(div3,t1);append(div3,div2);append(div2,button);append(button,goa_icon1);current=true;if(!mounted){dispose=listen(button,"click",/*close*/ctx[5]);mounted=true;}},p(ctx,dirty){if(!current||dirty&/*iconType*/16){set_custom_element_data(goa_icon0,"type",/*iconType*/ctx[4]);}if(!current||dirty&/*type*/1&&goa_icon0_inverted_value!==(goa_icon0_inverted_value=/*type*/ctx[0]==="important"?"false":"true")){set_custom_element_data(goa_icon0,"inverted",goa_icon0_inverted_value);}if(!current||dirty&/*type*/1&&goa_icon1_inverted_value!==(goa_icon1_inverted_value=/*type*/ctx[0]==="important"?"false":"true")){set_custom_element_data(goa_icon1,"inverted",goa_icon1_inverted_value);}if(!current||dirty&/*type*/1){attr(button,"class",/*type*/ctx[0]);}if(!current||dirty&/*arialive*/4){attr(div3,"aria-live",/*arialive*/ctx[2]);}if(!current||dirty&/*type*/1&&div4_class_value!==(div4_class_value="notification "+/*type*/ctx[0])){attr(div4,"class",div4_class_value);}if(!current||dirty&/*maxcontentwidth*/2&&div4_style_value!==(div4_style_value=`--max-content-width: ${/*maxcontentwidth*/ctx[1]}`)){attr(div4,"style",div4_style_value);}},i(local){if(current)return;add_render_callback(()=>{if(!current)return;if(!div4_transition)div4_transition=create_bidirectional_transition(div4,fade,{},true);div4_transition.run(1);});current=true;},o(local){if(!div4_transition)div4_transition=create_bidirectional_transition(div4,fade,{},false);div4_transition.run(0);current=false;},d(detaching){if(detaching)detach(div4);if(detaching&&div4_transition)div4_transition.end();mounted=false;dispose();}};}function create_fragment$v(ctx){let if_block_anchor;let current;let if_block=/*show*/ctx[3]&&create_if_block$g(ctx);return {c(){if(if_block)if_block.c();if_block_anchor=empty();this.c=noop;},m(target,anchor){if(if_block)if_block.m(target,anchor);insert(target,if_block_anchor,anchor);current=true;},p(ctx,[dirty]){if(/*show*/ctx[3]){if(if_block){if_block.p(ctx,dirty);if(dirty&/*show*/8){transition_in(if_block,1);}}else {if_block=create_if_block$g(ctx);if_block.c();transition_in(if_block,1);if_block.m(if_block_anchor.parentNode,if_block_anchor);}}else if(if_block){group_outros();transition_out(if_block,1,1,()=>{if_block=null;});check_outros();}},i(local){if(current)return;transition_in(if_block);current=true;},o(local){transition_out(if_block);current=false;},d(detaching){if(if_block)if_block.d(detaching);if(detaching)detach(if_block_anchor);}};}function instance$s($$self,$$props,$$invalidate){let iconType;const[Types,validateType]=typeValidator("Notification type",["emergency","important","information","event"],true);const[AriaLiveTypes,validateAriaLiveType]=typeValidator("Aria-Live type",["assertive","off","polite"],true);let{type=""}=$$props;let{maxcontentwidth="100%"}=$$props;let{arialive="polite"}=$$props;let show=true;onMount(()=>{validateAriaLiveType(arialive);setTimeout(()=>validateType(type),1);});function close(e){$$invalidate(3,show=false);e.target.dispatchEvent(new CustomEvent("_dismiss",{composed:true}));e.stopPropagation();}$$self.$$set=$$props=>{if('type'in $$props)$$invalidate(0,type=$$props.type);if('maxcontentwidth'in $$props)$$invalidate(1,maxcontentwidth=$$props.maxcontentwidth);if('arialive'in $$props)$$invalidate(2,arialive=$$props.arialive);};$$self.$$.update=()=>{if($$self.$$.dirty&/*type*/1){$$invalidate(4,iconType=type==="emergency"?"warning":type==="important"?"alert-circle":type==="information"?"information-circle":type==="event"?"calendar":"");}};return [type,maxcontentwidth,arialive,show,iconType,close];}class Notification extends SvelteElement{constructor(options){super();const style=document.createElement('style');style.textContent=`:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:var(--goa-space-l) var(--goa-space-m);display:flex}@media screen and (max-width: 623px){@media not (max-color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media screen and (min-width: 1024px){.notification{padding:var(--goa-space-l) calc(3 * var(--goa-space-l))}}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.information,.event{background-color:var(--goa-color-info-default);color:var(--goa-color-text-light)}.icon{flex:0 0 auto}.content-container{display:flex;flex-direction:row;flex:1 1 auto;gap:var(--goa-space-m);margin:0 auto;max-width:min(var(--max-content-width), 100%)}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}::slotted(a:focus){outline:auto!important;border-radius:var(--goa-border-radius-m)}.notification.important ::slotted(a:focus){outline:unset!important;box-shadow:0 0 0 3px var(--goa-color-greyscale-black);border-radius:var(--goa-border-radius-m)}.close{flex:0 0 auto}.close button{background-color:transparent;border:none;cursor:pointer;padding:var(--goa-space-2xs);margin:0;outline:none;border-radius:var(--goa-border-radius-m);display:inline-flex}.close button.information:hover,.close button.information:focus,.close button.event:hover,.close button.event:focus{background-color:var(--goa-color-info-dark)}.close button.information:focus,.close button.event:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}.close button.important:hover,.close button.important:focus{background-color:var(--goa-color-warning-dark)}.close button.important:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-black)}.close button.emergency:hover,.close button.emergency:focus{background-color:var(--goa-color-emergency-dark)}.close button.emergency:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}`;this.shadowRoot.appendChild(style);init(this,{target:this.shadowRoot,props:attribute_to_object(this.attributes),customElement:true},instance$s,create_fragment$v,safe_not_equal,{type:0,maxcontentwidth:1,arialive:2},null);if(options){if(options.target){insert(options.target,this,options.anchor);}if(options.props){this.$set(options.props);flush();}}}static get observedAttributes(){return ["type","maxcontentwidth","arialive"];}get type(){return this.$$.ctx[0];}set type(type){this.$$set({type});flush();}get maxcontentwidth(){return this.$$.ctx[1];}set maxcontentwidth(maxcontentwidth){this.$$set({maxcontentwidth});flush();}get arialive(){return this.$$.ctx[2];}set arialive(arialive){this.$$set({arialive});flush();}}customElements.define("goa-notification",Notification);const dimensionRegex=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function isValidDimension(value){return dimensionRegex.test(value);}/* src/components/page-block/PageBlock.svelte generated by Svelte v3.59.2 */function create_fragment$u(ctx){let div;let slot;let div_style_value;return {c(){div=element("div");slot=element("slot");this.c=noop;attr(div,"class","page-content");attr(div,"style",div_style_value=`--max-width: ${/*_width*/ctx[0]}`);},m(target,anchor){insert(target,div,anchor);append(div,slot);},p(ctx,[dirty]){if(dirty&/*_width*/1&&div_style_value!==(div_style_value=`--max-width: ${/*_width*/ctx[0]}`)){attr(div,"style",div_style_value);}},i:noop,o:noop,d(detaching){if(detaching)detach(div);}};}function instance$r($$self,$$props,$$invalidate){const Sizes={"full":"100%"};let{width}=$$props;let{_width}=$$props;function isValidSize(value){if(["full"].includes(width))return true;if(isValidDimension(value))return true;return false;}onMount(()=>{if(!isValidSize(width)){console.error("Invalid PageBlock width");}$$invalidate(0,_width=Sizes[width]||width);});$$self.$$set=$$props=>{if('width'in $$props)$$invalidate(1,width=$$props.width);if('_width'in $$props)$$invalidate(0,_width=$$props._width);};return [_width,width];}class PageBlock extends SvelteElement{constructor(options){super();const style=document.createElement('style');style.textContent=`:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1rem}@media screen and (max-width: 623px){@media not (max-color:2147477350){.page-content{padding:0 2rem}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.page-content{padding:0 2rem}}}@media screen and (min-width: 1024px){.page-content{padding:0 4.5rem}}`;this.shadowRoot.appendChild(style);init(this,{target:this.shadowRoot,props:attribute_to_object(this.attributes),customElement:true},instance$r,create_fragment$u,safe_not_equal,{width:1,_width:0},null);if(options){if(options.target){insert(options.target,this,options.anchor);}if(options.props){this.$set(options.props);flush();}}}static get observedAttributes(){return ["width","_width"];}get width(){return this.$$.ctx[1];}set width(width){this.$$set({width});flush();}get _width(){return this.$$.ctx[0];}set _width(_width){this.$$set({_width});flush();}}customElements.define("goa-page-block",PageBlock);/* src/components/pagination/Pagination.svelte generated by Svelte v3.59.2 */function get_each_context$5(ctx,list,i){const child_ctx=ctx.slice();child_ctx[18]=list[i];child_ctx[20]=i;return child_ctx;}// (78:4) {#if variant === "all"}
302
- function create_if_block$f(ctx){let goa_block;let span0;let t1;let input;let t2;let goa_dropdown;let t3;let span1;let t4;let t5;let each_value={length:/*_pageCount*/ctx[8]};let each_blocks=[];for(let i=0;i<each_value.length;i+=1){each_blocks[i]=create_each_block$5(get_each_context$5(ctx,each_value,i));}return {c(){goa_block=element("goa-block");span0=element("span");span0.textContent="Page";t1=space();input=element("input");t2=space();goa_dropdown=element("goa-dropdown");for(let i=0;i<each_blocks.length;i+=1){each_blocks[i].c();}t3=space();span1=element("span");t4=text("of ");t5=text(/*_pageCount*/ctx[8]);attr(input,"type","hidden");set_custom_element_data(goa_dropdown,"value",/*pagenumber*/ctx[0]);set_custom_element_data(goa_dropdown,"width","70px");set_custom_element_data(goa_block,"data-testid","page-selector");set_custom_element_data(goa_block,"alignment","center");set_custom_element_data(goa_block,"gap","s");},m(target,anchor){insert(target,goa_block,anchor);append(goa_block,span0);append(goa_block,t1);append(goa_block,input);/*input_binding*/ctx[12](input);append(goa_block,t2);append(goa_block,goa_dropdown);for(let i=0;i<each_blocks.length;i+=1){if(each_blocks[i]){each_blocks[i].m(goa_dropdown,null);}}/*goa_dropdown_binding*/ctx[13](goa_dropdown);append(goa_block,t3);append(goa_block,span1);append(span1,t4);append(span1,t5);},p(ctx,dirty){if(dirty&/*_pageCount*/256){each_value={length:/*_pageCount*/ctx[8]};let i;for(i=0;i<each_value.length;i+=1){const child_ctx=get_each_context$5(ctx,each_value,i);if(each_blocks[i]){each_blocks[i].p(child_ctx,dirty);}else {each_blocks[i]=create_each_block$5(child_ctx);each_blocks[i].c();each_blocks[i].m(goa_dropdown,null);}}for(;i<each_blocks.length;i+=1){each_blocks[i].d(1);}each_blocks.length=each_value.length;}if(dirty&/*pagenumber*/1){set_custom_element_data(goa_dropdown,"value",/*pagenumber*/ctx[0]);}if(dirty&/*_pageCount*/256)set_data(t5,/*_pageCount*/ctx[8]);},d(detaching){if(detaching)detach(goa_block);/*input_binding*/ctx[12](null);destroy_each(each_blocks,detaching);/*goa_dropdown_binding*/ctx[13](null);}};}// (83:10) {#each {length: _pageCount} as _, i}
302
+ function create_if_block$f(ctx){let goa_block;let span0;let t1;let input;let t2;let goa_dropdown;let t3;let span1;let t4;let t5;let each_value={length:/*_pageCount*/ctx[8]};let each_blocks=[];for(let i=0;i<each_value.length;i+=1){each_blocks[i]=create_each_block$5(get_each_context$5(ctx,each_value,i));}return {c(){goa_block=element("goa-block");span0=element("span");span0.textContent="Page";t1=space();input=element("input");t2=space();goa_dropdown=element("goa-dropdown");for(let i=0;i<each_blocks.length;i+=1){each_blocks[i].c();}t3=space();span1=element("span");t4=text("of ");t5=text(/*_pageCount*/ctx[8]);attr(input,"type","hidden");set_custom_element_data(goa_dropdown,"value",/*pagenumber*/ctx[0]);set_custom_element_data(goa_block,"data-testid","page-selector");set_custom_element_data(goa_block,"alignment","center");set_custom_element_data(goa_block,"gap","s");},m(target,anchor){insert(target,goa_block,anchor);append(goa_block,span0);append(goa_block,t1);append(goa_block,input);/*input_binding*/ctx[12](input);append(goa_block,t2);append(goa_block,goa_dropdown);for(let i=0;i<each_blocks.length;i+=1){if(each_blocks[i]){each_blocks[i].m(goa_dropdown,null);}}/*goa_dropdown_binding*/ctx[13](goa_dropdown);append(goa_block,t3);append(goa_block,span1);append(span1,t4);append(span1,t5);},p(ctx,dirty){if(dirty&/*_pageCount*/256){each_value={length:/*_pageCount*/ctx[8]};let i;for(i=0;i<each_value.length;i+=1){const child_ctx=get_each_context$5(ctx,each_value,i);if(each_blocks[i]){each_blocks[i].p(child_ctx,dirty);}else {each_blocks[i]=create_each_block$5(child_ctx);each_blocks[i].c();each_blocks[i].m(goa_dropdown,null);}}for(;i<each_blocks.length;i+=1){each_blocks[i].d(1);}each_blocks.length=each_value.length;}if(dirty&/*pagenumber*/1){set_custom_element_data(goa_dropdown,"value",/*pagenumber*/ctx[0]);}if(dirty&/*_pageCount*/256)set_data(t5,/*_pageCount*/ctx[8]);},d(detaching){if(detaching)detach(goa_block);/*input_binding*/ctx[12](null);destroy_each(each_blocks,detaching);/*goa_dropdown_binding*/ctx[13](null);}};}// (83:10) {#each {length: _pageCount} as _, i}
303
303
  function create_each_block$5(ctx){let goa_dropdown_item;return {c(){goa_dropdown_item=element("goa-dropdown-item");set_custom_element_data(goa_dropdown_item,"value",/*i*/ctx[20]+1);set_custom_element_data(goa_dropdown_item,"label",/*i*/ctx[20]+1);},m(target,anchor){insert(target,goa_dropdown_item,anchor);},p:noop,d(detaching){if(detaching)detach(goa_dropdown_item);}};}function create_fragment$t(ctx){let goa_block1;let div;let t0;let goa_block0;let goa_button0;let t1;let goa_button0_disabled_value;let t2;let goa_button1;let t3;let goa_button1_disabled_value;let mounted;let dispose;let if_block=/*variant*/ctx[1]==="all"&&create_if_block$f(ctx);return {c(){goa_block1=element("goa-block");div=element("div");if(if_block)if_block.c();t0=space();goa_block0=element("goa-block");goa_button0=element("goa-button");t1=text("Previous");t2=space();goa_button1=element("goa-button");t3=text("Next");this.c=noop;set_custom_element_data(goa_button0,"type","tertiary");set_custom_element_data(goa_button0,"leadingicon","arrow-back");set_custom_element_data(goa_button0,"disabled",goa_button0_disabled_value=/*pagenumber*/ctx[0]==1?"true":"false");set_custom_element_data(goa_button1,"type","tertiary");set_custom_element_data(goa_button1,"trailingicon","arrow-forward");set_custom_element_data(goa_button1,"disabled",goa_button1_disabled_value=/*pagenumber*/ctx[0]==/*_pageCount*/ctx[8]?"true":"false");set_custom_element_data(goa_block0,"alignment","center");set_custom_element_data(goa_block0,"gap","m");set_custom_element_data(goa_block0,"data-testid","page-links");attr(div,"class","controls");set_custom_element_data(goa_block1,"id","root");set_custom_element_data(goa_block1,"ml",/*ml*/ctx[5]);set_custom_element_data(goa_block1,"mr",/*mr*/ctx[3]);set_custom_element_data(goa_block1,"mb",/*mb*/ctx[4]);set_custom_element_data(goa_block1,"mt",/*mt*/ctx[2]);},m(target,anchor){insert(target,goa_block1,anchor);append(goa_block1,div);if(if_block)if_block.m(div,null);append(div,t0);append(div,goa_block0);append(goa_block0,goa_button0);append(goa_button0,t1);append(goa_block0,t2);append(goa_block0,goa_button1);append(goa_button1,t3);if(!mounted){dispose=[listen(goa_button0,"click",/*click_handler*/ctx[14]),listen(goa_button1,"click",/*click_handler_1*/ctx[15])];mounted=true;}},p(ctx,[dirty]){if(/*variant*/ctx[1]==="all"){if(if_block){if_block.p(ctx,dirty);}else {if_block=create_if_block$f(ctx);if_block.c();if_block.m(div,t0);}}else if(if_block){if_block.d(1);if_block=null;}if(dirty&/*pagenumber*/1&&goa_button0_disabled_value!==(goa_button0_disabled_value=/*pagenumber*/ctx[0]==1?"true":"false")){set_custom_element_data(goa_button0,"disabled",goa_button0_disabled_value);}if(dirty&/*pagenumber, _pageCount*/257&&goa_button1_disabled_value!==(goa_button1_disabled_value=/*pagenumber*/ctx[0]==/*_pageCount*/ctx[8]?"true":"false")){set_custom_element_data(goa_button1,"disabled",goa_button1_disabled_value);}if(dirty&/*ml*/32){set_custom_element_data(goa_block1,"ml",/*ml*/ctx[5]);}if(dirty&/*mr*/8){set_custom_element_data(goa_block1,"mr",/*mr*/ctx[3]);}if(dirty&/*mb*/16){set_custom_element_data(goa_block1,"mb",/*mb*/ctx[4]);}if(dirty&/*mt*/4){set_custom_element_data(goa_block1,"mt",/*mt*/ctx[2]);}},i:noop,o:noop,d(detaching){if(detaching)detach(goa_block1);if(if_block)if_block.d();mounted=false;run_all(dispose);}};}function instance$q($$self,$$props,$$invalidate){let _pageCount;const[Variants,validateVariant]=typeValidator("Pagination variant",["all","links-only"]);let{pagenumber}=$$props;let{itemcount}=$$props;let{perpagecount=10}=$$props;let{variant="all"}=$$props;let{mt=null}=$$props;let{mr=null}=$$props;let{mb="m"}=$$props;let{ml=null}=$$props;// private
304
304
  let pageDropdownEl=null;let hiddenEl=null;// needed to allow the inputEl's event to be cancelled
305
305
  // hooks
@@ -1538,7 +1538,7 @@ function addKeyboardEventListeners(){_rootEl.addEventListener("focus",handleKeyd
1538
1538
  _tabItems[index].setAttribute("open","true");// display tab content
1539
1539
  }});_panelEl.setAttribute("aria-labelledby",`tab-${_currentTab}`);_panelEl.setAttribute("id",`tabpanel-${_currentTab}`);}function handleKeydownEvents(){_rootEl.addEventListener("keydown",onKeyDown);}function onKeyDown(e){let isHandled=false;switch(e.key){case'ArrowUp':case'ArrowLeft':if(_currentTab===1){setCurrentTab(_tabItems.length);}else {setCurrentTab(_currentTab-1);}isHandled=true;break;case'ArrowDown':case'ArrowRight':if(_currentTab===_tabItems.length){setCurrentTab(1);}else {setCurrentTab(_currentTab+1);}isHandled=true;break;case'Home':setCurrentTab(1);isHandled=true;break;case'End':setCurrentTab(_tabItems.length);isHandled=true;break;}if(isHandled){e.stopPropagation();e.preventDefault();}}function div0_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_tabs=$$value;$$invalidate(1,_tabs);});}function div1_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_panelEl=$$value;$$invalidate(2,_panelEl);});}function div2_binding($$value){binding_callbacks[$$value?'unshift':'push'](()=>{_rootEl=$$value;$$invalidate(0,_rootEl);});}$$self.$$set=$$props=>{if('initialtab'in $$props)$$invalidate(3,initialtab=$$props.initialtab);};return [_rootEl,_tabs,_panelEl,initialtab,div0_binding,div1_binding,div2_binding];}class Tabs extends SvelteElement{constructor(options){super();const style=document.createElement('style');style.textContent=`:host{box-sizing:border-box;font:var(--goa-typography-body-m)}.tab{display:flex;gap:var(--goa-space-xs)}[role="tab"]{background:none;overflow:hidden;white-space:nowrap;cursor:pointer;border:none;font:var(--goa-typography-body-m);color:var(--goa-color-text-default);letter-spacing:0.03125rem}[role="tab"][aria-selected="true"]{font:var(--goa-typography-heading-s)}[role="tab"]:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}[role="tab"]:hover:not([aria-selected="true"]),[role="tab"]:focus:not([aria-selected="true"]),[role="tab"]:focus-visible:not([aria-selected="true"]){border-color:var(--goa-color-greyscale-200)}@media screen and (max-width: 623px){@media not (max-color:2147477350){[role="tablist"]{border-bottom:none}.tabs{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);display:flex;gap:var(--goa-space-xl)}[role="tab"]{padding:var(--goa-space-s) var(--goa-space-m);border-bottom:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){[role="tablist"]{border-bottom:none}.tabs{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);display:flex;gap:var(--goa-space-xl)}[role="tab"]{padding:var(--goa-space-s) var(--goa-space-m);border-bottom:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default)}}}@media screen and (max-width: 623px){[role="tab"]{width:100%;padding:var(--goa-space-xs) 0;padding-left:12px;border-left:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default);background:var(--goa-color-info-background)}}`;this.shadowRoot.appendChild(style);init(this,{target:this.shadowRoot,props:attribute_to_object(this.attributes),customElement:true},instance,create_fragment,safe_not_equal,{initialtab:3},null);if(options){if(options.target){insert(options.target,this,options.anchor);}if(options.props){this.$set(options.props);flush();}}}static get observedAttributes(){return ["initialtab"];}get initialtab(){return this.$$.ctx[3];}set initialtab(initialtab){this.$$set({initialtab});flush();}}customElements.define("goa-tabs",Tabs);
1540
1540
 
1541
- const GoADatePicker = ({
1541
+ function GoADatePicker({
1542
1542
  name,
1543
1543
  value,
1544
1544
  min,
@@ -1548,7 +1548,7 @@ const GoADatePicker = ({
1548
1548
  mb,
1549
1549
  ml,
1550
1550
  onChange
1551
- }) => {
1551
+ }) {
1552
1552
  const ref = useRef(null);
1553
1553
  useEffect(() => {
1554
1554
  if (!ref.current) {
@@ -1571,9 +1571,9 @@ const GoADatePicker = ({
1571
1571
  mb: mb,
1572
1572
  ml: ml
1573
1573
  }, void 0);
1574
- };
1574
+ }
1575
1575
 
1576
- const GoACalendar = ({
1576
+ function GoACalendar({
1577
1577
  name,
1578
1578
  value,
1579
1579
  min,
@@ -1583,7 +1583,7 @@ const GoACalendar = ({
1583
1583
  mb,
1584
1584
  ml,
1585
1585
  onChange
1586
- }) => {
1586
+ }) {
1587
1587
  const ref = useRef(null);
1588
1588
  useEffect(() => {
1589
1589
  if (!ref.current) {
@@ -1606,7 +1606,7 @@ const GoACalendar = ({
1606
1606
  mb: mb,
1607
1607
  ml: ml
1608
1608
  }, void 0);
1609
- };
1609
+ }
1610
1610
 
1611
1611
  function GoASideMenuGroup(props) {
1612
1612
  return jsx("goa-side-menu-group", Object.assign({
@@ -1718,7 +1718,7 @@ function GoAFileUploadInput({
1718
1718
  }, void 0);
1719
1719
  }
1720
1720
 
1721
- const GoAAccordion = ({
1721
+ function GoAAccordion({
1722
1722
  open,
1723
1723
  heading,
1724
1724
  headingSize,
@@ -1730,7 +1730,7 @@ const GoAAccordion = ({
1730
1730
  mr,
1731
1731
  mb,
1732
1732
  ml
1733
- }) => {
1733
+ }) {
1734
1734
  return jsxs("goa-accordion", Object.assign({
1735
1735
  open: open,
1736
1736
  headingSize: headingSize,
@@ -1748,7 +1748,7 @@ const GoAAccordion = ({
1748
1748
  children: headingContent
1749
1749
  }), void 0), children]
1750
1750
  }), void 0);
1751
- };
1751
+ }
1752
1752
 
1753
1753
  function GoAFormStep(props) {
1754
1754
  return jsx("goa-form-step", {
@@ -1800,13 +1800,13 @@ function GoAFormStepper({
1800
1800
  }), void 0);
1801
1801
  }
1802
1802
 
1803
- const GoAAppHeader = ({
1803
+ function GoAAppHeader({
1804
1804
  heading,
1805
1805
  url,
1806
1806
  maxContentWidth,
1807
1807
  testId,
1808
1808
  children
1809
- }) => {
1809
+ }) {
1810
1810
  return jsx("goa-app-header", Object.assign({
1811
1811
  heading: heading,
1812
1812
  url: url,
@@ -1815,9 +1815,9 @@ const GoAAppHeader = ({
1815
1815
  }, {
1816
1816
  children: children
1817
1817
  }), void 0);
1818
- };
1818
+ }
1819
1819
 
1820
- const GoABadge = ({
1820
+ function GoABadge({
1821
1821
  type,
1822
1822
  content,
1823
1823
  icon,
@@ -1827,7 +1827,7 @@ const GoABadge = ({
1827
1827
  mb,
1828
1828
  ml,
1829
1829
  ariaLabel
1830
- }) => {
1830
+ }) {
1831
1831
  return jsx("goa-badge", {
1832
1832
  type: type,
1833
1833
  content: content,
@@ -1839,12 +1839,12 @@ const GoABadge = ({
1839
1839
  mb: mb,
1840
1840
  ml: ml
1841
1841
  }, void 0);
1842
- };
1842
+ }
1843
1843
  /**
1844
1844
  * @deprecated
1845
1845
  */
1846
1846
 
1847
- const GoAInfoBadge = ({
1847
+ function GoAInfoBadge({
1848
1848
  content,
1849
1849
  testId,
1850
1850
  icon,
@@ -1853,7 +1853,7 @@ const GoAInfoBadge = ({
1853
1853
  mb,
1854
1854
  ml,
1855
1855
  ariaLabel
1856
- }) => {
1856
+ }) {
1857
1857
  return jsx(GoABadge, {
1858
1858
  type: "information",
1859
1859
  icon: icon,
@@ -1865,12 +1865,12 @@ const GoAInfoBadge = ({
1865
1865
  mb: mb,
1866
1866
  ml: ml
1867
1867
  }, void 0);
1868
- };
1868
+ }
1869
1869
  /**
1870
1870
  * @deprecated
1871
1871
  */
1872
1872
 
1873
- const GoASuccessBadge = ({
1873
+ function GoASuccessBadge({
1874
1874
  content,
1875
1875
  testId,
1876
1876
  icon,
@@ -1879,7 +1879,7 @@ const GoASuccessBadge = ({
1879
1879
  mb,
1880
1880
  ml,
1881
1881
  ariaLabel
1882
- }) => {
1882
+ }) {
1883
1883
  return jsx(GoABadge, {
1884
1884
  type: "success",
1885
1885
  icon: icon,
@@ -1891,12 +1891,12 @@ const GoASuccessBadge = ({
1891
1891
  mb: mb,
1892
1892
  ml: ml
1893
1893
  }, void 0);
1894
- };
1894
+ }
1895
1895
  /**
1896
1896
  * @deprecated
1897
1897
  */
1898
1898
 
1899
- const GoAImportantBadge = ({
1899
+ function GoAImportantBadge({
1900
1900
  content,
1901
1901
  testId,
1902
1902
  icon,
@@ -1905,7 +1905,7 @@ const GoAImportantBadge = ({
1905
1905
  mb,
1906
1906
  ml,
1907
1907
  ariaLabel
1908
- }) => {
1908
+ }) {
1909
1909
  return jsx(GoABadge, {
1910
1910
  type: "important",
1911
1911
  icon: icon,
@@ -1917,12 +1917,12 @@ const GoAImportantBadge = ({
1917
1917
  mb: mb,
1918
1918
  ml: ml
1919
1919
  }, void 0);
1920
- };
1920
+ }
1921
1921
  /**
1922
1922
  * @deprecated
1923
1923
  */
1924
1924
 
1925
- const GoAEmergencyBadge = ({
1925
+ function GoAEmergencyBadge({
1926
1926
  content,
1927
1927
  testId,
1928
1928
  icon,
@@ -1931,7 +1931,7 @@ const GoAEmergencyBadge = ({
1931
1931
  mb,
1932
1932
  ml,
1933
1933
  ariaLabel
1934
- }) => {
1934
+ }) {
1935
1935
  return jsx(GoABadge, {
1936
1936
  type: "emergency",
1937
1937
  icon: icon,
@@ -1943,7 +1943,7 @@ const GoAEmergencyBadge = ({
1943
1943
  mb: mb,
1944
1944
  ml: ml
1945
1945
  }, void 0);
1946
- };
1946
+ }
1947
1947
 
1948
1948
  function GoABlock(props) {
1949
1949
  return jsx("goa-block", Object.assign({
@@ -1960,7 +1960,7 @@ function GoABlock(props) {
1960
1960
  }), void 0);
1961
1961
  }
1962
1962
 
1963
- const GoAButtonGroup = ({
1963
+ function GoAButtonGroup({
1964
1964
  alignment,
1965
1965
  gap,
1966
1966
  testId,
@@ -1969,7 +1969,7 @@ const GoAButtonGroup = ({
1969
1969
  mr,
1970
1970
  mb,
1971
1971
  ml
1972
- }) => {
1972
+ }) {
1973
1973
  return jsx("goa-button-group", Object.assign({
1974
1974
  alignment: alignment,
1975
1975
  gap: gap,
@@ -1981,11 +1981,11 @@ const GoAButtonGroup = ({
1981
1981
  }, {
1982
1982
  children: children
1983
1983
  }), void 0);
1984
- };
1984
+ }
1985
1985
 
1986
- const GoAButton = ({
1987
- disabled: _disabled = false,
1988
- type: _type = "primary",
1986
+ function GoAButton({
1987
+ disabled = false,
1988
+ type = "primary",
1989
1989
  size,
1990
1990
  variant,
1991
1991
  leadingIcon,
@@ -1997,7 +1997,7 @@ const GoAButton = ({
1997
1997
  mr,
1998
1998
  mb,
1999
1999
  ml
2000
- }) => {
2000
+ }) {
2001
2001
  const el = useRef(null);
2002
2002
  useEffect(() => {
2003
2003
  if (!el.current) {
@@ -2021,10 +2021,10 @@ const GoAButton = ({
2021
2021
  }, [el, onClick]);
2022
2022
  return jsx("goa-button", Object.assign({
2023
2023
  ref: el,
2024
- type: _type,
2024
+ type: type,
2025
2025
  size: size,
2026
2026
  variant: variant,
2027
- disabled: _disabled,
2027
+ disabled: disabled,
2028
2028
  leadingicon: leadingIcon,
2029
2029
  trailingicon: trailingIcon,
2030
2030
  "data-testid": testId,
@@ -2035,7 +2035,7 @@ const GoAButton = ({
2035
2035
  }, {
2036
2036
  children: children
2037
2037
  }), void 0);
2038
- };
2038
+ }
2039
2039
 
2040
2040
  const GoACallout = ({
2041
2041
  heading,
@@ -2062,7 +2062,7 @@ const GoACallout = ({
2062
2062
  }), void 0);
2063
2063
  };
2064
2064
 
2065
- const GoACheckbox = ({
2065
+ function GoACheckbox({
2066
2066
  id,
2067
2067
  name,
2068
2068
  testId,
@@ -2079,7 +2079,7 @@ const GoACheckbox = ({
2079
2079
  mr,
2080
2080
  mb,
2081
2081
  ml
2082
- }) => {
2082
+ }) {
2083
2083
  const el = useRef(null);
2084
2084
  useEffect(() => {
2085
2085
  if (!el.current) {
@@ -2117,7 +2117,7 @@ const GoACheckbox = ({
2117
2117
  }, {
2118
2118
  children: children
2119
2119
  }), void 0);
2120
- };
2120
+ }
2121
2121
 
2122
2122
  const GoAChip = ({
2123
2123
  leadingIcon: _leadingIcon = "",
@@ -2180,7 +2180,7 @@ const GoACircularProgress = ({
2180
2180
  }, void 0);
2181
2181
  };
2182
2182
 
2183
- const GoAContainer = ({
2183
+ function GoAContainer({
2184
2184
  accent,
2185
2185
  heading,
2186
2186
  title,
@@ -2193,7 +2193,7 @@ const GoAContainer = ({
2193
2193
  mb,
2194
2194
  ml,
2195
2195
  testId
2196
- }) => {
2196
+ }) {
2197
2197
  const headingContent = heading || title;
2198
2198
  return jsxs("goa-container", Object.assign({
2199
2199
  type: type,
@@ -2215,7 +2215,7 @@ const GoAContainer = ({
2215
2215
  children: actions
2216
2216
  }), void 0)]
2217
2217
  }), void 0);
2218
- };
2218
+ }
2219
2219
 
2220
2220
  function GoADetails(props) {
2221
2221
  return jsx("goa-details", Object.assign({
@@ -2252,7 +2252,7 @@ function stringify(value) {
2252
2252
  return JSON.stringify(value);
2253
2253
  }
2254
2254
 
2255
- const GoADropdown = props => {
2255
+ function GoADropdown(props) {
2256
2256
  const el = useRef(null);
2257
2257
  useEffect(() => {
2258
2258
  if (!el.current) {
@@ -2300,7 +2300,7 @@ const GoADropdown = props => {
2300
2300
  }, {
2301
2301
  children: props.children
2302
2302
  }), void 0);
2303
- };
2303
+ }
2304
2304
 
2305
2305
  function GoADropdownOption(props) {
2306
2306
  useEffect(() => {
@@ -2363,7 +2363,7 @@ function GoAAppFooter({
2363
2363
  }), void 0);
2364
2364
  }
2365
2365
 
2366
- const GoAFormItem = ({
2366
+ function GoAFormItem({
2367
2367
  children,
2368
2368
  helpText,
2369
2369
  error,
@@ -2376,7 +2376,7 @@ const GoAFormItem = ({
2376
2376
  ml,
2377
2377
  testId,
2378
2378
  id
2379
- }) => {
2379
+ }) {
2380
2380
  return jsx("goa-form-item", Object.assign({
2381
2381
  label: label,
2382
2382
  labelsize: labelSize,
@@ -2392,9 +2392,9 @@ const GoAFormItem = ({
2392
2392
  }, {
2393
2393
  children: children
2394
2394
  }), void 0);
2395
- };
2395
+ }
2396
2396
 
2397
- const GoAGrid = ({
2397
+ function GoAGrid({
2398
2398
  gap,
2399
2399
  minChildWidth,
2400
2400
  mt,
@@ -2403,7 +2403,7 @@ const GoAGrid = ({
2403
2403
  ml,
2404
2404
  testId,
2405
2405
  children
2406
- }) => {
2406
+ }) {
2407
2407
  return jsx("goa-grid", Object.assign({
2408
2408
  gap: gap,
2409
2409
  mt: mt,
@@ -2415,9 +2415,9 @@ const GoAGrid = ({
2415
2415
  }, {
2416
2416
  children: children
2417
2417
  }), void 0);
2418
- };
2418
+ }
2419
2419
 
2420
- const GoAHeroBanner = ({
2420
+ function GoAHeroBanner({
2421
2421
  heading,
2422
2422
  backgroundUrl,
2423
2423
  minHeight,
@@ -2426,7 +2426,7 @@ const GoAHeroBanner = ({
2426
2426
  textColor,
2427
2427
  children,
2428
2428
  testId
2429
- }) => {
2429
+ }) {
2430
2430
  return jsx("goa-hero-banner", Object.assign({
2431
2431
  heading: heading,
2432
2432
  backgroundurl: backgroundUrl,
@@ -2438,24 +2438,24 @@ const GoAHeroBanner = ({
2438
2438
  }, {
2439
2439
  children: children
2440
2440
  }), void 0);
2441
- };
2441
+ }
2442
2442
 
2443
- const GoAHeroBannerActions = ({
2443
+ function GoAHeroBannerActions({
2444
2444
  children
2445
- }) => {
2445
+ }) {
2446
2446
  return jsx("div", Object.assign({
2447
2447
  slot: "actions"
2448
2448
  }, {
2449
2449
  children: children
2450
2450
  }), void 0);
2451
- };
2451
+ }
2452
2452
 
2453
- const GoAIconButton = ({
2453
+ function GoAIconButton({
2454
2454
  icon,
2455
2455
  disabled,
2456
- variant: _variant = "color",
2456
+ variant = "color",
2457
2457
  onClick,
2458
- size: _size = "medium",
2458
+ size = "medium",
2459
2459
  title,
2460
2460
  testId,
2461
2461
  children,
@@ -2463,7 +2463,7 @@ const GoAIconButton = ({
2463
2463
  mr,
2464
2464
  mb,
2465
2465
  ml
2466
- }) => {
2466
+ }) {
2467
2467
  const ref = useRef(null);
2468
2468
  useEffect(() => {
2469
2469
  if (!ref.current) {
@@ -2489,8 +2489,8 @@ const GoAIconButton = ({
2489
2489
  ref: ref,
2490
2490
  icon: icon,
2491
2491
  disabled: disabled,
2492
- variant: _variant,
2493
- size: _size,
2492
+ variant: variant,
2493
+ size: size,
2494
2494
  title: title,
2495
2495
  mt: mt,
2496
2496
  mr: mr,
@@ -2500,7 +2500,7 @@ const GoAIconButton = ({
2500
2500
  }, {
2501
2501
  children: children
2502
2502
  }), void 0);
2503
- };
2503
+ }
2504
2504
 
2505
2505
  function GoAIcon({
2506
2506
  type,
@@ -2551,7 +2551,7 @@ function __rest(s, e) {
2551
2551
  return t;
2552
2552
  }
2553
2553
 
2554
- const GoAInput = ({
2554
+ function GoAInput({
2555
2555
  id,
2556
2556
  debounce,
2557
2557
  name,
@@ -2559,7 +2559,7 @@ const GoAInput = ({
2559
2559
  autoCapitalize,
2560
2560
  leadingIcon,
2561
2561
  trailingIcon,
2562
- variant: _variant = "goa",
2562
+ variant = "goa",
2563
2563
  focused,
2564
2564
  disabled,
2565
2565
  readonly,
@@ -2585,7 +2585,7 @@ const GoAInput = ({
2585
2585
  onChange,
2586
2586
  onFocus,
2587
2587
  onBlur
2588
- }) => {
2588
+ }) {
2589
2589
  const ref = useRef(null);
2590
2590
  useEffect(() => {
2591
2591
  if (!ref.current) {
@@ -2643,7 +2643,7 @@ const GoAInput = ({
2643
2643
  id: id,
2644
2644
  leadingicon: leadingIcon,
2645
2645
  trailingicon: trailingIcon,
2646
- variant: _variant,
2646
+ variant: variant,
2647
2647
  disabled: disabled,
2648
2648
  readonly: readonly,
2649
2649
  placeholder: placeholder,
@@ -2674,7 +2674,7 @@ const GoAInput = ({
2674
2674
  children: trailingContent
2675
2675
  }), void 0)]
2676
2676
  }), void 0);
2677
- };
2677
+ }
2678
2678
 
2679
2679
  const onDateChangeHandler = onChange => {
2680
2680
  return (name, value) => {
@@ -2716,17 +2716,17 @@ function toString(value, tmpl = "yyyy-MM-dd") {
2716
2716
  return format$1(value, tmpl);
2717
2717
  }
2718
2718
 
2719
- const GoAInputText = props => {
2719
+ function GoAInputText(props) {
2720
2720
  return jsx(GoAInput, Object.assign({}, props, {
2721
2721
  type: "text"
2722
2722
  }), void 0);
2723
- };
2724
- const GoAInputPassword = props => {
2723
+ }
2724
+ function GoAInputPassword(props) {
2725
2725
  return jsx(GoAInput, Object.assign({}, props, {
2726
2726
  type: "password"
2727
2727
  }), void 0);
2728
- };
2729
- const GoAInputDate = _a => {
2728
+ }
2729
+ function GoAInputDate(_a) {
2730
2730
  var {
2731
2731
  value,
2732
2732
  min = "",
@@ -2741,8 +2741,8 @@ const GoAInputDate = _a => {
2741
2741
  max: toString(max),
2742
2742
  value: toString(value)
2743
2743
  }), void 0);
2744
- };
2745
- const GoAInputTime = _a => {
2744
+ }
2745
+ function GoAInputTime(_a) {
2746
2746
  var {
2747
2747
  value,
2748
2748
  min = "",
@@ -2755,8 +2755,8 @@ const GoAInputTime = _a => {
2755
2755
  value: value,
2756
2756
  type: "time"
2757
2757
  }), void 0);
2758
- };
2759
- const GoAInputDateTime = _a => {
2758
+ }
2759
+ function GoAInputDateTime(_a) {
2760
2760
  var {
2761
2761
  value,
2762
2762
  min = "",
@@ -2769,29 +2769,29 @@ const GoAInputDateTime = _a => {
2769
2769
  value: toString(value, "yyyy-MM-dd'T'HH:mm"),
2770
2770
  type: "datetime-local"
2771
2771
  }), void 0);
2772
- };
2773
- const GoAInputEmail = props => {
2772
+ }
2773
+ function GoAInputEmail(props) {
2774
2774
  return jsx(GoAInput, Object.assign({}, props, {
2775
2775
  type: "email"
2776
2776
  }), void 0);
2777
- };
2778
- const GoAInputSearch = props => {
2777
+ }
2778
+ function GoAInputSearch(props) {
2779
2779
  return jsx(GoAInput, Object.assign({}, props, {
2780
2780
  type: "search",
2781
2781
  trailingIcon: "search"
2782
2782
  }), void 0);
2783
- };
2784
- const GoAInputUrl = props => {
2783
+ }
2784
+ function GoAInputUrl(props) {
2785
2785
  return jsx(GoAInput, Object.assign({}, props, {
2786
2786
  type: "url"
2787
2787
  }), void 0);
2788
- };
2789
- const GoAInputTel = props => {
2788
+ }
2789
+ function GoAInputTel(props) {
2790
2790
  return jsx(GoAInput, Object.assign({}, props, {
2791
2791
  type: "tel"
2792
2792
  }), void 0);
2793
- };
2794
- const GoAInputFile = props => {
2793
+ }
2794
+ function GoAInputFile(props) {
2795
2795
  return jsx("input", {
2796
2796
  id: props.id,
2797
2797
  name: props.name,
@@ -2801,13 +2801,13 @@ const GoAInputFile = props => {
2801
2801
  backgroundColor: "revert"
2802
2802
  }
2803
2803
  }, void 0);
2804
- };
2805
- const GoAInputMonth = props => {
2804
+ }
2805
+ function GoAInputMonth(props) {
2806
2806
  return jsx(GoAInput, Object.assign({}, props, {
2807
2807
  type: "month"
2808
2808
  }), void 0);
2809
- };
2810
- const GoAInputNumber = _a => {
2809
+ }
2810
+ function GoAInputNumber(_a) {
2811
2811
  var {
2812
2812
  min = Number.MIN_VALUE,
2813
2813
  max = Number.MAX_VALUE,
@@ -2840,14 +2840,14 @@ const GoAInputNumber = _a => {
2840
2840
  onBlur: onBlur,
2841
2841
  type: "number"
2842
2842
  }), void 0);
2843
- };
2844
- const GoAInputRange = props => {
2843
+ }
2844
+ function GoAInputRange(props) {
2845
2845
  return jsx(GoAInput, Object.assign({}, props, {
2846
2846
  type: "range"
2847
2847
  }), void 0);
2848
- };
2848
+ }
2849
2849
 
2850
- const GoAMicrositeHeader = ({
2850
+ function GoAMicrositeHeader({
2851
2851
  type,
2852
2852
  version,
2853
2853
  feedbackUrl,
@@ -2855,7 +2855,7 @@ const GoAMicrositeHeader = ({
2855
2855
  feedbackUrlTarget,
2856
2856
  headerUrlTarget,
2857
2857
  testId
2858
- }) => {
2858
+ }) {
2859
2859
  return jsx("goa-microsite-header", {
2860
2860
  type: type,
2861
2861
  version: version,
@@ -2865,9 +2865,9 @@ const GoAMicrositeHeader = ({
2865
2865
  feedbackurltarget: feedbackUrlTarget,
2866
2866
  headerurltarget: headerUrlTarget
2867
2867
  }, void 0);
2868
- };
2868
+ }
2869
2869
 
2870
- const GoAModal = ({
2870
+ function GoAModal({
2871
2871
  heading,
2872
2872
  children,
2873
2873
  maxWidth,
@@ -2879,7 +2879,7 @@ const GoAModal = ({
2879
2879
  onClose,
2880
2880
  testId,
2881
2881
  width
2882
- }) => {
2882
+ }) {
2883
2883
  const el = useRef(null); // deprecation
2884
2884
 
2885
2885
  useEffect(() => {
@@ -2913,7 +2913,7 @@ const GoAModal = ({
2913
2913
  closable: !!onClose,
2914
2914
  maxwidth: maxWidth,
2915
2915
  transition: transition,
2916
- calloutVariant: calloutVariant,
2916
+ calloutvariant: calloutVariant,
2917
2917
  "data-testid": testId
2918
2918
  }, {
2919
2919
  children: [heading && jsx("div", Object.assign({
@@ -2926,7 +2926,7 @@ const GoAModal = ({
2926
2926
  children: actions
2927
2927
  }), void 0), children]
2928
2928
  }), void 0);
2929
- };
2929
+ }
2930
2930
 
2931
2931
  const GoANotification = ({
2932
2932
  type: _type = "information",
@@ -2970,16 +2970,16 @@ function GoAOneColumnLayout(props) {
2970
2970
  }, void 0);
2971
2971
  }
2972
2972
 
2973
- const GoAPageBlock = props => {
2973
+ function GoAPageBlock(props) {
2974
2974
  return jsx("goa-page-block", Object.assign({
2975
2975
  width: props.width,
2976
2976
  "data-testid": props.testId
2977
2977
  }, {
2978
2978
  children: props.children
2979
2979
  }), void 0);
2980
- };
2980
+ }
2981
2981
 
2982
- const GoARadioItem = ({
2982
+ function GoARadioItem({
2983
2983
  name,
2984
2984
  label,
2985
2985
  value,
@@ -2989,7 +2989,7 @@ const GoARadioItem = ({
2989
2989
  error,
2990
2990
  testId,
2991
2991
  children
2992
- }) => {
2992
+ }) {
2993
2993
  return jsx("goa-radio-item", Object.assign({
2994
2994
  name: name,
2995
2995
  label: label,
@@ -3002,15 +3002,15 @@ const GoARadioItem = ({
3002
3002
  }, {
3003
3003
  children: children
3004
3004
  }), void 0);
3005
- };
3005
+ }
3006
3006
 
3007
- const GoARadioGroup = ({
3007
+ function GoARadioGroup({
3008
3008
  name,
3009
3009
  value,
3010
3010
  children,
3011
- orientation: _orientation = "vertical",
3012
- disabled: _disabled = false,
3013
- error: _error = false,
3011
+ orientation = "vertical",
3012
+ disabled = false,
3013
+ error = false,
3014
3014
  testId,
3015
3015
  ariaLabel,
3016
3016
  mt,
@@ -3018,7 +3018,7 @@ const GoARadioGroup = ({
3018
3018
  mb,
3019
3019
  ml,
3020
3020
  onChange
3021
- }) => {
3021
+ }) {
3022
3022
  const el = useRef(null);
3023
3023
  useEffect(() => {
3024
3024
  if (!el.current) {
@@ -3045,9 +3045,9 @@ const GoARadioGroup = ({
3045
3045
  ref: el,
3046
3046
  name: name,
3047
3047
  value: value,
3048
- orientation: _orientation,
3049
- disabled: _disabled,
3050
- error: _error,
3048
+ orientation: orientation,
3049
+ disabled: disabled,
3050
+ error: error,
3051
3051
  arialabel: ariaLabel,
3052
3052
  mt: mt,
3053
3053
  mr: mr,
@@ -3056,7 +3056,7 @@ const GoARadioGroup = ({
3056
3056
  }, {
3057
3057
  children: children
3058
3058
  }), void 0);
3059
- };
3059
+ }
3060
3060
 
3061
3061
  function GoAPagination(props) {
3062
3062
  const ref = useRef();
@@ -3093,7 +3093,7 @@ function GoAPagination(props) {
3093
3093
  }, void 0);
3094
3094
  }
3095
3095
 
3096
- const GoAPopover = ({
3096
+ function GoAPopover({
3097
3097
  target,
3098
3098
  testId,
3099
3099
  maxWidth,
@@ -3105,7 +3105,7 @@ const GoAPopover = ({
3105
3105
  mr,
3106
3106
  mb,
3107
3107
  ml
3108
- }) => {
3108
+ }) {
3109
3109
  return jsxs("goa-popover", Object.assign({
3110
3110
  "data-testid": testId,
3111
3111
  maxwidth: maxWidth,
@@ -3123,7 +3123,7 @@ const GoAPopover = ({
3123
3123
  children: target
3124
3124
  }), void 0)]
3125
3125
  }), void 0);
3126
- };
3126
+ }
3127
3127
 
3128
3128
  const GoASkeleton = ({
3129
3129
  maxWidth,
@@ -3157,13 +3157,13 @@ function GoASpacer(props) {
3157
3157
  }, void 0);
3158
3158
  }
3159
3159
 
3160
- const GoASpinner = ({
3160
+ function GoASpinner({
3161
3161
  type,
3162
3162
  size,
3163
3163
  progress,
3164
3164
  invert,
3165
3165
  testId
3166
- }) => {
3166
+ }) {
3167
3167
  return jsx("goa-spinner", {
3168
3168
  type: type,
3169
3169
  size: size,
@@ -3171,7 +3171,7 @@ const GoASpinner = ({
3171
3171
  invert: invert,
3172
3172
  "data-testid": testId
3173
3173
  }, void 0);
3174
- };
3174
+ }
3175
3175
 
3176
3176
  function GoATable(props) {
3177
3177
  const ref = useRef(null);
@@ -3218,20 +3218,20 @@ function GoATable(props) {
3218
3218
  }), void 0);
3219
3219
  }
3220
3220
 
3221
- const GoATableSortHeader = ({
3221
+ function GoATableSortHeader({
3222
3222
  name,
3223
- direction: _direction = "none",
3223
+ direction = "none",
3224
3224
  children
3225
- }) => {
3225
+ }) {
3226
3226
  return jsx("goa-table-sort-header", Object.assign({
3227
3227
  name: name,
3228
- direction: _direction
3228
+ direction: direction
3229
3229
  }, {
3230
3230
  children: children
3231
3231
  }), void 0);
3232
- };
3232
+ }
3233
3233
 
3234
- const GoATextArea = ({
3234
+ function GoATextArea({
3235
3235
  name,
3236
3236
  value,
3237
3237
  placeholder,
@@ -3248,7 +3248,7 @@ const GoATextArea = ({
3248
3248
  mb,
3249
3249
  ml,
3250
3250
  onChange
3251
- }) => {
3251
+ }) {
3252
3252
  const el = useRef(null);
3253
3253
  useEffect(() => {
3254
3254
  if (!el.current) {
@@ -3288,9 +3288,9 @@ const GoATextArea = ({
3288
3288
  mb: mb,
3289
3289
  ml: ml
3290
3290
  }, void 0);
3291
- };
3291
+ }
3292
3292
 
3293
- const GoATooltip = props => {
3293
+ function GoATooltip(props) {
3294
3294
  return jsx("goa-tooltip", Object.assign({
3295
3295
  position: props.position,
3296
3296
  content: props.content,
@@ -3303,7 +3303,7 @@ const GoATooltip = props => {
3303
3303
  }, {
3304
3304
  children: props.children
3305
3305
  }), void 0);
3306
- };
3306
+ }
3307
3307
 
3308
3308
  function GoATwoColumnLayout(props) {
3309
3309
  return jsxs("goa-two-column-layout", Object.assign({
@@ -3367,10 +3367,10 @@ function GoATabs({
3367
3367
  }), void 0);
3368
3368
  }
3369
3369
 
3370
- const GoATab = ({
3370
+ function GoATab({
3371
3371
  heading,
3372
3372
  children
3373
- }) => {
3373
+ }) {
3374
3374
  return jsxs("goa-tab", {
3375
3375
  children: [heading && jsx("span", Object.assign({
3376
3376
  slot: "heading"
@@ -3378,6 +3378,6 @@ const GoATab = ({
3378
3378
  children: heading
3379
3379
  }), void 0), children]
3380
3380
  }, void 0);
3381
- };
3381
+ }
3382
3382
 
3383
3383
  export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoAAppHeaderMenu, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACalendar, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADatePicker, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFileUploadCard, GoAFileUploadInput, GoAFormItem, GoAFormStep, GoAFormStepper, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPages, GoAPagination, GoAPopover, GoARadioGroup, GoARadioItem, GoASideMenu, GoASideMenuGroup, GoASideMenuHeading, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATab, GoATable, GoATableSortHeader, GoATabs, GoATextArea, GoAThreeColumnLayout, GoATooltip, GoATwoColumnLayout };