diff --git a/assets/BaseImageCaption-vks4WUeh.js b/assets/BaseImageCaption-DGqx0YEt.js similarity index 85% rename from assets/BaseImageCaption-vks4WUeh.js rename to assets/BaseImageCaption-DGqx0YEt.js index b36d8157..6a8f4c5b 100644 --- a/assets/BaseImageCaption-vks4WUeh.js +++ b/assets/BaseImageCaption-DGqx0YEt.js @@ -1,4 +1,4 @@ -import{B as t}from"./BaseLink-BM1wc07I.js";const p=({caption:s,credit:a,url:e,linkText:n,computedClass:i})=>` +import{B as t}from"./BaseLink-DVdOPU1x.js";const p=({caption:s,credit:a,url:e,linkText:n,computedClass:i})=>`
${s}
diff --git a/assets/BaseImageCaption.stories-H_QKf9GM.js b/assets/BaseImageCaption.stories-DE2XeFk-.js similarity index 94% rename from assets/BaseImageCaption.stories-H_QKf9GM.js rename to assets/BaseImageCaption.stories-DE2XeFk-.js index e2374a34..7354b603 100644 --- a/assets/BaseImageCaption.stories-H_QKf9GM.js +++ b/assets/BaseImageCaption.stories-DE2XeFk-.js @@ -1 +1 @@ -import{B as a}from"./BaseImageCaption-vks4WUeh.js";const i={title:"Components/Base/BaseImageCaption",excludeStories:/.*Data$/,argTypes:{caption:{type:{name:"string",required:!0},description:"Accepts rich text and plain text."},credit:{type:{name:"string",required:!1},description:"Optional credit information. Limited rich text accepted (text styles and links only, no line or paragraph breaks)."},url:{type:{name:"string",required:!1},description:"Link to a page with more information/details."},linkText:{type:{name:"string",required:!1},description:"Link text."}},parameters:{viewMode:"docs",docs:{description:{component:"Caption text used with both images and videos."}}}},t={caption:'

Aliquam finibus accumsan dapibus. In sagittis et sapien nec vehicula. Suspendisse euismod consequat risus, vel dignissim elit scelerisque sed. Nullam elit ipsum, suscipit ut quam et, molestie aliquam leo.

',credit:"NASA/JPL",url:"#",linkText:"Full Image Details"},e=a.bind({});e.storyName="BaseImageCaption";e.args=t;const s=["BaseImageCaptionData","Default"],o=Object.freeze(Object.defineProperty({__proto__:null,BaseImageCaptionData:t,Default:e,__namedExportsOrder:s,default:i},Symbol.toStringTag,{value:"Module"}));export{o as B}; +import{B as a}from"./BaseImageCaption-DGqx0YEt.js";const i={title:"Components/Base/BaseImageCaption",excludeStories:/.*Data$/,argTypes:{caption:{type:{name:"string",required:!0},description:"Accepts rich text and plain text."},credit:{type:{name:"string",required:!1},description:"Optional credit information. Limited rich text accepted (text styles and links only, no line or paragraph breaks)."},url:{type:{name:"string",required:!1},description:"Link to a page with more information/details."},linkText:{type:{name:"string",required:!1},description:"Link text."}},parameters:{viewMode:"docs",docs:{description:{component:"Caption text used with both images and videos."}}}},t={caption:'

Aliquam finibus accumsan dapibus. In sagittis et sapien nec vehicula. Suspendisse euismod consequat risus, vel dignissim elit scelerisque sed. Nullam elit ipsum, suscipit ut quam et, molestie aliquam leo.

',credit:"NASA/JPL",url:"#",linkText:"Full Image Details"},e=a.bind({});e.storyName="BaseImageCaption";e.args=t;const s=["BaseImageCaptionData","Default"],o=Object.freeze(Object.defineProperty({__proto__:null,BaseImageCaptionData:t,Default:e,__namedExportsOrder:s,default:i},Symbol.toStringTag,{value:"Module"}));export{o as B}; diff --git a/assets/BaseLink-BM1wc07I.js b/assets/BaseLink-BM1wc07I.js deleted file mode 100644 index 0791a588..00000000 --- a/assets/BaseLink-BM1wc07I.js +++ /dev/null @@ -1,15 +0,0 @@ -import{M as d}from"./MixinAnimationCaret-BbklVmGz.js";import{I as y,a as x}from"./IconDownload-BH8PYKeu.js";import{I}from"./IconExternal-D74KcMPJ.js";const k=({text:t,variant:i,link:m,icon:e,caret:s,caretInline:u,caretWrapperClass:l,target:f,externalTargetBlank:v,computedClass:o,linkClass:p,wrapperClass:h})=>{e||(e="");let n=t||"Full Image Details",r=i?i.toLowerCase():"";l||(l=""),u&&s?n=d({text:t,customClass:"caret-inline"}):(r==="primary"||s)&&(n=d({text:t,customClass:l}));let a="";f?a=f:m&&v&&(a="_blank");let c="";a==="_blank"&&(c="noopener"),r==="primary"||r==="secondary"?o=`${r==="primary"?"-primary":"-secondary"} text-subtitle text-theme-color can-hover:hover:text-theme-color-hover`:r==="default"&&(o="-default underline text-theme-color can-hover:hover:text-theme-color-hover");let $="";h&&($=` class="${h}"`);const T=e==="document"?y({}):e==="internal"?x({}):e==="external"?I({}):"";return` - - - - ${n} - - ${T} - -
- `};export{k as B}; diff --git a/assets/BaseLink-DVdOPU1x.js b/assets/BaseLink-DVdOPU1x.js new file mode 100644 index 00000000..5177ce60 --- /dev/null +++ b/assets/BaseLink-DVdOPU1x.js @@ -0,0 +1,15 @@ +import{M as d}from"./MixinAnimationCaret-Btc0cg8a.js";import{I as y,a as x}from"./IconDownload-BH8PYKeu.js";import{I}from"./IconExternal-D74KcMPJ.js";const k=({text:a,variant:l,link:s,icon:e,caret:m,caretInline:u,caretWrapperClass:n,target:f,externalTargetBlank:v,computedClass:r,linkClass:p,wrapperClass:c})=>{e||(e="");let i=a||"Full Image Details",t=l?l.toLowerCase():"";n||(n=""),u&&m?i=d({text:a,customClass:"caret-inline"}):(t==="primary"||m)&&(i=d({text:a,customClass:n}));let o="";f?o=f:s&&v&&(o="_blank");let $="";o==="_blank"&&($="noopener"),t==="primary"||t==="secondary"?r=`${t==="primary"?"-primary":"-secondary"} text-subtitle text-action can-hover:hover:text-action-hover`:t==="default"&&(r="-default underline text-action can-hover:hover:text-action-hover");let h="";c&&(h=` class="${c}"`);const T=e==="document"?y({}):e==="internal"?x({}):e==="external"?I({}):"";return` + + + + ${i} + + ${T} + +
+ `};export{k as B}; diff --git a/assets/BaseLink.stories-MMwWASH5.js b/assets/BaseLink.stories-B4fxgUYb.js similarity index 96% rename from assets/BaseLink.stories-MMwWASH5.js rename to assets/BaseLink.stories-B4fxgUYb.js index c87b5244..9371629b 100644 --- a/assets/BaseLink.stories-MMwWASH5.js +++ b/assets/BaseLink.stories-B4fxgUYb.js @@ -1 +1 @@ -import{B as e}from"./BaseLink-BM1wc07I.js";const l={title:"Components/Base/BaseLink",argTypes:{text:{type:"string",description:"Link text"},variant:{type:"string",description:"Link variant type",control:{type:"select",options:["primary","secondary","default","none"]},table:{defaultValue:{summary:"default"}}},link:{type:"string",description:"Link URL"},target:{type:"string",description:"Link to a target ID. Overrides `externalTargetBlank`"},externalTargetBlank:{type:"boolean",description:"Open link in a new window.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}},caret:{type:"boolean",description:"Display the caret. Note: the `primary` variant will always display the caret. Use this option to add a caret to other variants.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}},caretInline:{type:"boolean",description:"Set to `true` to have caret wrap with text. Must use with `caret: true`. ",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}}},parameters:{viewMode:"docs",docs:{description:{component:"Simple link with several style variations."}}}},t=e.bind({});t.storyName="Primary";t.args={text:"Explore",variant:"primary",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const a=e.bind({});a.args={text:"Explore",variant:"secondary",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const r=e.bind({});r.args={text:"Explore",variant:"default",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const n=e.bind({});n.args={text:"Explore",variant:"none",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const o=["Default","Secondary","Default_Body","Unstyled"],s=Object.freeze(Object.defineProperty({__proto__:null,Default:t,Default_Body:r,Secondary:a,Unstyled:n,__namedExportsOrder:o,default:l},Symbol.toStringTag,{value:"Module"}));export{s as B}; +import{B as e}from"./BaseLink-DVdOPU1x.js";const l={title:"Components/Base/BaseLink",argTypes:{text:{type:"string",description:"Link text"},variant:{type:"string",description:"Link variant type",control:{type:"select",options:["primary","secondary","default","none"]},table:{defaultValue:{summary:"default"}}},link:{type:"string",description:"Link URL"},target:{type:"string",description:"Link to a target ID. Overrides `externalTargetBlank`"},externalTargetBlank:{type:"boolean",description:"Open link in a new window.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}},caret:{type:"boolean",description:"Display the caret. Note: the `primary` variant will always display the caret. Use this option to add a caret to other variants.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}},caretInline:{type:"boolean",description:"Set to `true` to have caret wrap with text. Must use with `caret: true`. ",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}}},parameters:{viewMode:"docs",docs:{description:{component:"Simple link with several style variations."}}}},t=e.bind({});t.storyName="Primary";t.args={text:"Explore",variant:"primary",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const a=e.bind({});a.args={text:"Explore",variant:"secondary",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const r=e.bind({});r.args={text:"Explore",variant:"default",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const n=e.bind({});n.args={text:"Explore",variant:"none",link:"#",target:"",externalTargetBlank:!1,caret:!1,caretInline:!1};const o=["Default","Secondary","Default_Body","Unstyled"],s=Object.freeze(Object.defineProperty({__proto__:null,Default:t,Default_Body:r,Secondary:a,Unstyled:n,__namedExportsOrder:o,default:l},Symbol.toStringTag,{value:"Module"}));export{s as B}; diff --git a/assets/BlockAccordion.stories-13QSp1UG.js b/assets/BlockAccordion.stories-DU4wRkrn.js similarity index 98% rename from assets/BlockAccordion.stories-13QSp1UG.js rename to assets/BlockAccordion.stories-DU4wRkrn.js index 8c08bf89..d2afc998 100644 --- a/assets/BlockAccordion.stories-13QSp1UG.js +++ b/assets/BlockAccordion.stories-DU4wRkrn.js @@ -1,4 +1,4 @@ -import{B as m}from"./BlockAccordionItem-QrLzZwqN.js";const u=({accordion_id:e,heading_level:i,items:t,allow_multiple_open:o})=>{e||(e=""),i||(i="h2"),t||(t=[]),o||(o=!1);const d="group_id_"+e;let r=[];if(t.length>0)for(const[b,s]of t.entries())r+=`${m({heading_level:i,item_id:`${d}_${s.item_id}`,title:s.title,body:s.body})}`;let l="data-allow-multiple";o||(l="");let n=null;return r.length>0&&(n=` +import{B as m}from"./BlockAccordionItem-DZLUnOQC.js";const u=({accordion_id:e,heading_level:i,items:t,allow_multiple_open:o})=>{e||(e=""),i||(i="h2"),t||(t=[]),o||(o=!1);const d="group_id_"+e;let r=[];if(t.length>0)for(const[b,s]of t.entries())r+=`${m({heading_level:i,item_id:`${d}_${s.item_id}`,title:s.title,body:s.body})}`;let l="data-allow-multiple";o||(l="");let n=null;return r.length>0&&(n=`
${r}
diff --git a/assets/BlockAccordionItem-QrLzZwqN.js b/assets/BlockAccordionItem-DZLUnOQC.js similarity index 70% rename from assets/BlockAccordionItem-QrLzZwqN.js rename to assets/BlockAccordionItem-DZLUnOQC.js index f05f4134..05fbc5f9 100644 --- a/assets/BlockAccordionItem-QrLzZwqN.js +++ b/assets/BlockAccordionItem-DZLUnOQC.js @@ -1,30 +1,30 @@ -import{I as s}from"./IconPlus-8-RyMFvs.js";import{B as l}from"./BlockText-D3Sm5k3y.js";const d=({item_id:e,heading_level:n,title:o,body:t})=>{e||(e=""),n||(n="h2"),o||(o=""),t||(t="");const r="item_heading_"+e,a="item_panel_"+e;return` +import{I as s}from"./IconPlus-8-RyMFvs.js";import{B as i}from"./BlockText-D3Sm5k3y.js";const d=({item_id:e,heading_level:n,title:o,body:t})=>{e||(e=""),n||(n="h2"),o||(o=""),t||(t="");const a="item_heading_"+e,r="item_panel_"+e;return`
<${n} class="text-body-lg tracking-normal font-normal"> -
diff --git a/assets/BlockAccordionItem.stories-CV8nj3vp.js b/assets/BlockAccordionItem.stories-xegSOci0.js similarity index 95% rename from assets/BlockAccordionItem.stories-CV8nj3vp.js rename to assets/BlockAccordionItem.stories-xegSOci0.js index 9a0eba62..bcd3f26e 100644 --- a/assets/BlockAccordionItem.stories-CV8nj3vp.js +++ b/assets/BlockAccordionItem.stories-xegSOci0.js @@ -1 +1 @@ -import{B as o}from"./BlockAccordionItem-QrLzZwqN.js";import"./IconPlus-8-RyMFvs.js";import"./BlockText-D3Sm5k3y.js";const a={title:"Components/Blocks/BlockAccordion/BlockAccordionItem",decorators:[t=>`
${t()}
`],argTypes:{item_id:{type:{name:"string",required:!0},description:"A unique ID for each expandable item."},heading_level:{type:{name:"string",required:!1},description:"The semantic heading level for each accordion item. Usually set at the accordion group level."},title:{type:{name:"string",required:!0}},body:{type:{name:"string",required:!0},description:"The content for the accordion item. Supports richtext. Any component could theoretically be used within an accordion item. This template uses `BlockText` as a default."}},parameters:{html:{root:"#storyRoot"},viewMode:"docs",docs:{inlineStories:!1,iframeHeight:250}},excludeStories:/.*Data$/},i={heading_level:"h2",item_id:"group_id_itemIdNumber",title:"Lorem ipsum dolor sit amet",body:'

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent venenatis, sapien sed mattis auctor, mauris tortor hendrerit leo, vestibulum pellentesque ex mi sed risus.

Vestibulum auctor facilisis velit, vel consequat ipsum fermentum sed. Nulla sed eleifend arcu, porttitor commodo lorem.

'},e=o.bind({});e.storyName="BlockAccordionItem";e.args=i;const n=["AccordionItem"];export{e as AccordionItem,n as __namedExportsOrder,a as default}; +import{B as o}from"./BlockAccordionItem-DZLUnOQC.js";import"./IconPlus-8-RyMFvs.js";import"./BlockText-D3Sm5k3y.js";const a={title:"Components/Blocks/BlockAccordion/BlockAccordionItem",decorators:[t=>`
${t()}
`],argTypes:{item_id:{type:{name:"string",required:!0},description:"A unique ID for each expandable item."},heading_level:{type:{name:"string",required:!1},description:"The semantic heading level for each accordion item. Usually set at the accordion group level."},title:{type:{name:"string",required:!0}},body:{type:{name:"string",required:!0},description:"The content for the accordion item. Supports richtext. Any component could theoretically be used within an accordion item. This template uses `BlockText` as a default."}},parameters:{html:{root:"#storyRoot"},viewMode:"docs",docs:{inlineStories:!1,iframeHeight:250}},excludeStories:/.*Data$/},i={heading_level:"h2",item_id:"group_id_itemIdNumber",title:"Lorem ipsum dolor sit amet",body:'

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent venenatis, sapien sed mattis auctor, mauris tortor hendrerit leo, vestibulum pellentesque ex mi sed risus.

Vestibulum auctor facilisis velit, vel consequat ipsum fermentum sed. Nulla sed eleifend arcu, porttitor commodo lorem.

'},e=o.bind({});e.storyName="BlockAccordionItem";e.args=i;const n=["AccordionItem"];export{e as AccordionItem,n as __namedExportsOrder,a as default}; diff --git a/assets/BlockCardGroup.stories-P-ycVltm.js b/assets/BlockCardGroup.stories-DqgKE0Of.js similarity index 97% rename from assets/BlockCardGroup.stories-P-ycVltm.js rename to assets/BlockCardGroup.stories-DqgKE0Of.js index 368124aa..fafa183d 100644 --- a/assets/BlockCardGroup.stories-P-ycVltm.js +++ b/assets/BlockCardGroup.stories-DqgKE0Of.js @@ -1,4 +1,4 @@ -import{M as d}from"./MixinCarousel-j2hWeceL.js";import{B as n}from"./BlockCard-BBwBDYHX.js";const p=({items:e})=>{function s(i,m){let r="";if(i.length>0)for(const[f,t]of i.entries())r+=n({type:t.type,title:t.title,text:t.text,image:t.image,customClass:m?"swiper-slide md:mb-0 mb-5":""});return r}const a=s(e,!1),l=s(e,!0),c=d({customClass:"md:hidden sm:px-10 sm:-ml-10 py-10 -mt-10",variant:"-tiles",slot:l,indent:"col-1",slideTemplate:"BlockCard",noLinks:!0});return` +import{M as d}from"./MixinCarousel-Ds8tkY1y.js";import{B as n}from"./BlockCard-BBwBDYHX.js";const p=({items:e})=>{function s(i,m){let r="";if(i.length>0)for(const[f,t]of i.entries())r+=n({type:t.type,title:t.title,text:t.text,image:t.image,customClass:m?"swiper-slide md:mb-0 mb-5":""});return r}const a=s(e,!1),l=s(e,!0),c=d({customClass:"md:hidden sm:px-10 sm:-ml-10 py-10 -mt-10",variant:"-tiles",slot:l,indent:"col-1",slideTemplate:"BlockCard",noLinks:!0});return`