@purpurds/card
Advanced tools
Comparing version 5.20.1 to 5.21.0
@@ -1,26 +0,26 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),o=require("react");require("react-dom");function J(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var q={exports:{}};/*! | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),o=require("react");require("react-dom");function Q(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var L={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(q);var Q=q.exports;const l=J(Q),rr={"purpur-card":"_purpur-card_1owb4_1"};function ar(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var L={exports:{}};/*! | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(L);var rr=L.exports;const l=Q(rr),ar={"purpur-card":"_purpur-card_1owb4_1"};function er(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var I={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(L);var er=L.exports;const tr=ar(er),nr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},ur={name:"alert",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["alert"],category:"status"},pr={name:"check-circle",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["check-circle"],category:"status"},ir={name:"error",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',keywords:["error"],category:"status"},sr={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},or={name:"offering",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',keywords:["offering"],category:"other"},lr={name:"question",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["question"],category:"status"},cr={name:"tag",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',keywords:["tag"],category:"other"},dr=tr.bind(nr),C="purpur-icon",_r="md",gr=a=>a.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),mr=({content:a="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],p=n?`<title>${n}</title>`:"";return`<svg ${gr(e)}>${p}${a}</svg>`},fr=a=>a.replace(/<(\/?)svg([^>]*)>/g,"").trim(),hr=({["data-testid"]:a,svg:n,allyTitle:e,className:p,size:i=_r,...r})=>{const t=mr({content:fr(n.svg),title:e}),u=dr(p,C,`${C}--${i}`);return s.jsx("span",{"aria-label":e,className:u,"data-testid":a,dangerouslySetInnerHTML:{__html:t},...r})};function vr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var B={exports:{}};/*! | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(I);var tr=I.exports;const nr=er(tr),ur={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},pr={name:"alert",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["alert"],category:"status"},ir={name:"check-circle",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["check-circle"],category:"status"},sr={name:"error",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',keywords:["error"],category:"status"},or={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},lr={name:"offering",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',keywords:["offering"],category:"other"},cr={name:"question",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["question"],category:"status"},dr={name:"tag",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',keywords:["tag"],category:"other"},_r=nr.bind(ur),A="purpur-icon",gr="md",mr=a=>a.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),fr=({content:a="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],p=n?`<title>${n}</title>`:"";return`<svg ${mr(e)}>${p}${a}</svg>`},hr=a=>a.replace(/<(\/?)svg([^>]*)>/g,"").trim(),B=({["data-testid"]:a,svg:n,allyTitle:e,className:p,size:i=gr,...r})=>{const t=fr({content:hr(n.svg),title:e}),u=_r(p,A,`${A}--${i}`);return s.jsx("span",{"aria-label":e,className:u,"data-testid":a,dangerouslySetInnerHTML:{__html:t},...r})};B.displayName="Icon";function vr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var H={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(B);var yr=B.exports;const wr=vr(yr),A={"purpur-badge":"_purpur-badge_1r1mu_1","purpur-badge--attention":"_purpur-badge--attention_1r1mu_13","purpur-badge--special":"_purpur-badge--special_1r1mu_17","purpur-badge--neutral":"_purpur-badge--neutral_1r1mu_21","purpur-badge--information":"_purpur-badge--information_1r1mu_25","purpur-badge--success":"_purpur-badge--success_1r1mu_29","purpur-badge--warning":"_purpur-badge--warning_1r1mu_33","purpur-badge--error":"_purpur-badge--error_1r1mu_37","purpur-badge--black-friday":"_purpur-badge--black-friday_1r1mu_41"},S="purpur-badge",_={ATTENTION:"attention",SPECIAL:"special",NEUTRAL:"neutral",INFORMATION:"information",SUCCESS:"success",WARNING:"warning",ERROR:"error",BLACK_FRIDAY:"black-friday"},xr=a=>{switch(a){case _.ATTENTION:case _.SPECIAL:return or;case _.INFORMATION:return sr;case _.SUCCESS:return pr;case _.WARNING:return ur;case _.ERROR:return ir;case _.NEUTRAL:return lr;case _.BLACK_FRIDAY:return cr;default:return}},$r=({children:a,showIcon:n=!0,variant:e,["data-testid"]:p,allyLabel:i,className:r="",...t})=>{const u=xr(e),c=wr([r,A[S],A[`${S}--${e}`]]);return s.jsxs("span",{"aria-label":i,className:c,"data-testid":p,...t,children:[n&&u&&s.jsx(hr,{"data-testid":`${p}-icon`,allyTitle:i,size:"xs",svg:u}),a]})},br={"purpur-card-badge":"_purpur-card-badge_r7moe_1"},jr=l.bind(br),Nr="purpur-card-badge",Cr=({["data-testid"]:a="purpur-card-badge",variant:n,text:e})=>n&&e?s.jsx($r,{className:jr(Nr),variant:n,showIcon:!1,"data-testid":a,children:e}):null,Ar={"purpur-card-content":"_purpur-card-content_2uc00_1"},Sr=l.bind(Ar),kr="purpur-card-content",Or=({["data-testid"]:a="purpur-card-content",children:n})=>s.jsx("div",{className:Sr(kr),"data-testid":a,children:n}),Mr={"purpur-card-content-container":"_purpur-card-content-container_1oawn_1","purpur-card-content-container--footer":"_purpur-card-content-container--footer_1oawn_12"},Er=l.bind(Mr),k="purpur-card-content-container",Zr=({["data-testid"]:a="purpur-card-content-container",children:n,isFooter:e=!1})=>s.jsx("div",{className:Er([k,{[`${k}--footer`]:e}]),"data-testid":a,children:n});function Rr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var I={exports:{}};/*! | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(H);var yr=H.exports;const wr=vr(yr),S={"purpur-badge":"_purpur-badge_1r1mu_1","purpur-badge--attention":"_purpur-badge--attention_1r1mu_13","purpur-badge--special":"_purpur-badge--special_1r1mu_17","purpur-badge--neutral":"_purpur-badge--neutral_1r1mu_21","purpur-badge--information":"_purpur-badge--information_1r1mu_25","purpur-badge--success":"_purpur-badge--success_1r1mu_29","purpur-badge--warning":"_purpur-badge--warning_1r1mu_33","purpur-badge--error":"_purpur-badge--error_1r1mu_37","purpur-badge--black-friday":"_purpur-badge--black-friday_1r1mu_41"},k="purpur-badge",_={ATTENTION:"attention",SPECIAL:"special",NEUTRAL:"neutral",INFORMATION:"information",SUCCESS:"success",WARNING:"warning",ERROR:"error",BLACK_FRIDAY:"black-friday"},xr=a=>{switch(a){case _.ATTENTION:case _.SPECIAL:return lr;case _.INFORMATION:return or;case _.SUCCESS:return ir;case _.WARNING:return pr;case _.ERROR:return sr;case _.NEUTRAL:return cr;case _.BLACK_FRIDAY:return dr;default:return}},$r=({children:a,showIcon:n=!0,variant:e,["data-testid"]:p,allyLabel:i,className:r="",...t})=>{const u=xr(e),c=wr([r,S[k],S[`${k}--${e}`]]);return s.jsxs("span",{"aria-label":i,className:c,"data-testid":p,...t,children:[n&&u&&s.jsx(B,{"data-testid":`${p}-icon`,allyTitle:i,size:"xs",svg:u}),a]})},br={"purpur-card-badge":"_purpur-card-badge_r7moe_1"},jr=l.bind(br),Nr="purpur-card-badge",Cr=({["data-testid"]:a="purpur-card-badge",variant:n,text:e})=>n&&e?s.jsx($r,{className:jr(Nr),variant:n,showIcon:!1,"data-testid":a,children:e}):null,Ar={"purpur-card-content":"_purpur-card-content_2uc00_1"},Sr=l.bind(Ar),kr="purpur-card-content",Or=({["data-testid"]:a="purpur-card-content",children:n})=>s.jsx("div",{className:Sr(kr),"data-testid":a,children:n}),Mr={"purpur-card-content-container":"_purpur-card-content-container_1oawn_1","purpur-card-content-container--footer":"_purpur-card-content-container--footer_1oawn_12"},Er=l.bind(Mr),O="purpur-card-content-container",Zr=({["data-testid"]:a="purpur-card-content-container",children:n,isFooter:e=!1})=>s.jsx("div",{className:Er([O,{[`${O}--footer`]:e}]),"data-testid":a,children:n});function Rr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var V={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(I);var zr=I.exports;const O=Rr(zr),Pr="_rotate_1xozj_1",qr="_dash_1xozj_1",v={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:Pr,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:qr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},y="purpur-spinner",Lr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},H=({["data-testid"]:a,disabled:n=!1,negative:e=!1,size:p=Lr.SM,...i})=>s.jsx("div",{className:O([v[y],v[`${y}--${p}`]]),"data-testid":a,...i,children:s.jsx("svg",{viewBox:"0 0 50 50",children:s.jsx("circle",{className:O(v[`${y}__circle`],{[v[`${y}__circle--disabled`]]:n,[v[`${y}__circle--negative`]]:e}),cx:"25",cy:"25",r:"20"})})}),Br={"purpur-card-cta":"_purpur-card-cta_1fd16_1","purpur-card-cta--sm":"_purpur-card-cta--sm_1fd16_33","purpur-card-cta--icon-only":"_purpur-card-cta--icon-only_1fd16_36","purpur-card-cta--md":"_purpur-card-cta--md_1fd16_39","purpur-card-cta--lg":"_purpur-card-cta--lg_1fd16_45","purpur-card-cta--full-width":"_purpur-card-cta--full-width_1fd16_51","purpur-card-cta--primary":"_purpur-card-cta--primary_1fd16_54","purpur-card-cta--disabled":"_purpur-card-cta--disabled_1fd16_58","purpur-card-cta--primary-negative":"_purpur-card-cta--primary-negative_1fd16_64","purpur-card-cta--secondary":"_purpur-card-cta--secondary_1fd16_76","purpur-card-cta--secondary-negative":"_purpur-card-cta--secondary-negative_1fd16_87","purpur-card-cta--expressive":"_purpur-card-cta--expressive_1fd16_98","purpur-card-cta--expressive-negative":"_purpur-card-cta--expressive-negative_1fd16_108","purpur-card-cta--text":"_purpur-card-cta--text_1fd16_128"},Ir=l.bind(Br),g="purpur-card-cta",Hr=({["data-testid"]:a="purpur-card-cta",className:n,children:e,disabled:p=!1,iconPosition:i="right",loading:r=!1,text:t,...u})=>s.jsx("div",{className:`${Ir([g,n,`${g}--md`,`${g}--secondary`,{[`${g}--disabled`]:p,[`${g}--icon-only`]:!t,[`${g}--text`]:!!t}])} ${g}`,"data-testid":a,...u,children:r?s.jsx(H,{"data-testid":`${a}-spinner`,size:"xs",disabled:p}):s.jsxs(s.Fragment,{children:[i==="left"&&e,t,i==="right"&&e]})});function Vr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var V={exports:{}};/*! | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(V);var zr=V.exports;const M=Rr(zr),Pr="_rotate_1xozj_1",qr="_dash_1xozj_1",v={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:Pr,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:qr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},y="purpur-spinner",Lr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},T=({["data-testid"]:a,disabled:n=!1,negative:e=!1,size:p=Lr.SM,...i})=>s.jsx("div",{className:M([v[y],v[`${y}--${p}`]]),"data-testid":a,...i,children:s.jsx("svg",{viewBox:"0 0 50 50",children:s.jsx("circle",{className:M(v[`${y}__circle`],{[v[`${y}__circle--disabled`]]:n,[v[`${y}__circle--negative`]]:e}),cx:"25",cy:"25",r:"20"})})}),Ir={"purpur-card-cta":"_purpur-card-cta_1fd16_1","purpur-card-cta--sm":"_purpur-card-cta--sm_1fd16_33","purpur-card-cta--icon-only":"_purpur-card-cta--icon-only_1fd16_36","purpur-card-cta--md":"_purpur-card-cta--md_1fd16_39","purpur-card-cta--lg":"_purpur-card-cta--lg_1fd16_45","purpur-card-cta--full-width":"_purpur-card-cta--full-width_1fd16_51","purpur-card-cta--primary":"_purpur-card-cta--primary_1fd16_54","purpur-card-cta--disabled":"_purpur-card-cta--disabled_1fd16_58","purpur-card-cta--primary-negative":"_purpur-card-cta--primary-negative_1fd16_64","purpur-card-cta--secondary":"_purpur-card-cta--secondary_1fd16_76","purpur-card-cta--secondary-negative":"_purpur-card-cta--secondary-negative_1fd16_87","purpur-card-cta--expressive":"_purpur-card-cta--expressive_1fd16_98","purpur-card-cta--expressive-negative":"_purpur-card-cta--expressive-negative_1fd16_108","purpur-card-cta--text":"_purpur-card-cta--text_1fd16_128"},Br=l.bind(Ir),g="purpur-card-cta",Hr=({["data-testid"]:a="purpur-card-cta",className:n,children:e,disabled:p=!1,iconPosition:i="right",loading:r=!1,text:t,...u})=>s.jsx("div",{className:`${Br([g,n,`${g}--md`,`${g}--secondary`,{[`${g}--disabled`]:p,[`${g}--icon-only`]:!t,[`${g}--text`]:!!t}])} ${g}`,"data-testid":a,...u,children:r?s.jsx(T,{"data-testid":`${a}-spinner`,size:"xs",disabled:p}):s.jsxs(s.Fragment,{children:[i==="left"&&e,t,i==="right"&&e]})});function Vr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var D={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(V);var Tr=V.exports;const Dr=Vr(Tr),Fr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Gr={name:"arrow-right",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',keywords:["arrow-right"],category:"utility"},Ur={name:"checkmark",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',keywords:["checkmark"],category:"utility"},T=a=>s.jsx(F,{...a,svg:Gr});T.displayName="IconArrowRight";const D=a=>s.jsx(F,{...a,svg:Ur});D.displayName="IconCheckmark";const Xr=Dr.bind(Fr),M="purpur-icon",Kr="md",Wr=a=>a.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),Yr=({content:a="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],p=n?`<title>${n}</title>`:"";return`<svg ${Wr(e)}>${p}${a}</svg>`},Jr=a=>a.replace(/<(\/?)svg([^>]*)>/g,"").trim(),F=({["data-testid"]:a,svg:n,allyTitle:e,className:p,size:i=Kr,...r})=>{const t=Yr({content:Jr(n.svg),title:e}),u=Xr(p,M,`${M}--${i}`);return s.jsx("span",{"aria-label":e,className:u,"data-testid":a,dangerouslySetInnerHTML:{__html:t},...r})};function Qr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var G={exports:{}};/*! | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p.call(this,u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,this&&this[u]||u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(D);var Tr=D.exports;const Dr=Vr(Tr),Fr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Gr={name:"arrow-right",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',keywords:["arrow-right"],category:"utility"},Ur={name:"checkmark",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',keywords:["checkmark"],category:"utility"},F=a=>s.jsx(N,{...a,svg:Gr});F.displayName="IconArrowRight";const G=a=>s.jsx(N,{...a,svg:Ur});G.displayName="IconCheckmark";const Xr=Dr.bind(Fr),E="purpur-icon",Kr="md",Wr=a=>a.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),Yr=({content:a="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],p=n?`<title>${n}</title>`:"";return`<svg ${Wr(e)}>${p}${a}</svg>`},Jr=a=>a.replace(/<(\/?)svg([^>]*)>/g,"").trim(),N=({["data-testid"]:a,svg:n,allyTitle:e,className:p,size:i=Kr,...r})=>{const t=Yr({content:Jr(n.svg),title:e}),u=Xr(p,E,`${E}--${i}`);return s.jsx("span",{"aria-label":e,className:u,"data-testid":a,dangerouslySetInnerHTML:{__html:t},...r})};N.displayName="Icon";function Qr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var U={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(G);var ra=G.exports;const aa=Qr(ra),w={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},ea={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},x="purpur-paragraph",N=({["data-testid"]:a,children:n,className:e,disabled:p,enableHyphenation:i=!1,negative:r=!1,variant:t=ea.PARAGRAPH100,...u})=>{const c=aa([e,w[x],w[`${x}--${t}`],{[w[`${x}--hyphens`]]:i,[w[`${x}--disabled`]]:p,[w[`${x}--negative`]]:r}]);return s.jsx("p",{...u,className:c,"data-testid":a,children:n})};N.displayName="Paragraph";const ta={"purpur-card-feature-list":"_purpur-card-feature-list_ej4qm_1","purpur-card-feature-list__list-item":"_purpur-card-feature-list__list-item_ej4qm_6"},E=l.bind(ta),Z="purpur-card-feature-list",na=({["data-testid"]:a="purpur-card-feature-list",listItems:n})=>n&&n.length>0?s.jsx("ul",{className:E(Z),"data-testid":a,children:n.map(e=>s.jsxs("li",{className:E(`${Z}__list-item`),"data-testid":`${a}-item`,children:[s.jsx(D,{size:"xs"}),s.jsx(N,{children:e})]},e))}):null,ua={"purpur-card-link-arrow":"_purpur-card-link-arrow_1r4zu_1","purpur-card-link-arrow--sm":"_purpur-card-link-arrow--sm_1r4zu_33","purpur-card-link-arrow--icon-only":"_purpur-card-link-arrow--icon-only_1r4zu_36","purpur-card-link-arrow--md":"_purpur-card-link-arrow--md_1r4zu_39","purpur-card-link-arrow--lg":"_purpur-card-link-arrow--lg_1r4zu_45","purpur-card-link-arrow--full-width":"_purpur-card-link-arrow--full-width_1r4zu_51","purpur-card-link-arrow--primary":"_purpur-card-link-arrow--primary_1r4zu_54","purpur-card-link-arrow--disabled":"_purpur-card-link-arrow--disabled_1r4zu_58","purpur-card-link-arrow--primary-negative":"_purpur-card-link-arrow--primary-negative_1r4zu_64","purpur-card-link-arrow--secondary":"_purpur-card-link-arrow--secondary_1r4zu_76","purpur-card-link-arrow--secondary-negative":"_purpur-card-link-arrow--secondary-negative_1r4zu_87","purpur-card-link-arrow--expressive":"_purpur-card-link-arrow--expressive_1r4zu_98","purpur-card-link-arrow--expressive-negative":"_purpur-card-link-arrow--expressive-negative_1r4zu_108"},pa=l.bind(ua),f="purpur-card-link-arrow",ia=({["data-testid"]:a="purpur-card-link-arrow",className:n,disabled:e=!1,loading:p=!1,...i})=>s.jsx("div",{className:`${pa([f,n,`${f}--md`,`${f}--icon-only`,`${f}--secondary`,{[`${f}--disabled`]:e}])} ${f}`,"data-testid":a,...i,children:p?s.jsx(H,{"data-testid":`${a}-spinner`,size:"xs",disabled:e}):s.jsx(T,{"data-testid":`${a}-arrow`,size:"md"})}),sa={"purpur-card-overline":"_purpur-card-overline_192fe_1"},oa=l.bind(sa),la="purpur-card-overline",ca=({["data-testid"]:a="purpur-card-overline",overline:n})=>n?s.jsx(N,{className:oa(la),"data-testid":a,children:n}):null,da={"purpur-card-root":"_purpur-card-root_bqk1d_1","purpur-card-root--primary":"_purpur-card-root--primary_bqk1d_8","purpur-card-root--secondary":"_purpur-card-root--secondary_bqk1d_11","purpur-card-root--full-height":"_purpur-card-root--full-height_bqk1d_14"},_a={"purpur-card-trigger-item":"_purpur-card-trigger-item_1sp43_1","purpur-card-trigger-item--button":"_purpur-card-trigger-item--button_1sp43_6","purpur-card-trigger-item--disabled":"_purpur-card-trigger-item--disabled_1sp43_11"};function h(){return h=Object.assign?Object.assign.bind():function(a){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var p in e)({}).hasOwnProperty.call(e,p)&&(a[p]=e[p])}return a},h.apply(null,arguments)}function ga(a,n){typeof a=="function"?a(n):a!=null&&(a.current=n)}function ma(...a){return n=>a.forEach(e=>ga(e,n))}const U=o.forwardRef((a,n)=>{const{children:e,...p}=a,i=o.Children.toArray(e),r=i.find(ha);if(r){const t=r.props.children,u=i.map(c=>c===r?o.Children.count(t)>1?o.Children.only(null):o.isValidElement(t)?t.props.children:null:c);return o.createElement(j,h({},p,{ref:n}),o.isValidElement(t)?o.cloneElement(t,void 0,u):null)}return o.createElement(j,h({},p,{ref:n}),e)});U.displayName="Slot";const j=o.forwardRef((a,n)=>{const{children:e,...p}=a;return o.isValidElement(e)?o.cloneElement(e,{...va(p,e.props),ref:n?ma(n,e.ref):e.ref}):o.Children.count(e)>1?o.Children.only(null):null});j.displayName="SlotClone";const fa=({children:a})=>o.createElement(o.Fragment,null,a);function ha(a){return o.isValidElement(a)&&a.type===fa}function va(a,n){const e={...n};for(const p in n){const i=a[p],r=n[p];/^on[A-Z]/.test(p)?i&&r?e[p]=(...t)=>{r(...t),i(...t)}:i&&(e[p]=i):p==="style"?e[p]={...i,...r}:p==="className"&&(e[p]=[i,r].filter(Boolean).join(" "))}return{...a,...e}}const ya=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wa=ya.reduce((a,n)=>{const e=o.forwardRef((p,i)=>{const{asChild:r,...t}=p,u=r?U:n;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(u,h({},t,{ref:i}))});return e.displayName=`Primitive.${n}`,{...a,[n]:e}},{}),xa=o.forwardRef((a,n)=>o.createElement(wa.span,h({},a,{ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...a.style}}))),$a=xa,R=({asChild:a,children:n,className:e="",["data-testid"]:p})=>s.jsx($a,{asChild:a,"data-testid":p,className:e,children:n}),z=l.bind(_a),m="purpur-card-trigger-item",ba=({["data-testid"]:a="purpur-card-trigger-item",disabled:n=!1,href:e,onClick:p,screenReaderText:i})=>{const r=u=>{n?u.preventDefault():p&&p()},t=`${m} ${n?`${m}--disabled`:""}`;return e?s.jsx("a",{"aria-disabled":n,className:`${z([m,{[`${m}--disabled`]:n}])} ${t}`,"data-testid":a,href:n?void 0:e,tabIndex:n?0:void 0,children:s.jsx(R,{children:i})}):s.jsx("button",{"aria-disabled":n,className:`${z([m,`${m}--button`,{[`${m}--disabled`]:n}])} ${t}`,"data-testid":a,type:"button",onClick:r,children:s.jsx(R,{children:i})})},ja=l.bind(da),$="purpur-card-root",X=o.forwardRef(({["data-testid"]:a="purpur-card-root",children:n,className:e,disabled:p,fullHeight:i,href:r,onClick:t,screenReaderText:u,variant:c,...K},W)=>{const Y=ja([$,e,{[`${$}--${c}`]:c,[`${$}--full-height`]:i}]);return s.jsxs("div",{className:Y,"data-testid":a,ref:W,...K,children:[n,(t||r)&&u&&s.jsx(ba,{disabled:p,href:r,onClick:t,screenReaderText:u})]})});X.displayName="CardRoot";const P=l.bind(rr),b="purpur-card",d=({children:a,className:n,...e})=>{const p=P([b,n,{[`${b}--is-interactive`]:e.onClick||e.href,[`${b}--disabled`]:e.disabled}]);return s.jsx(X,{className:P(p),...e,children:a})};d.Badge=Cr;d.LinkArrow=ia;d.Content=Or;d.ContentContainer=Zr;d.Cta=Hr;d.FeatureList=na;d.Overline=ca;d.displayName="Card";exports.Card=d; | ||
*/(function(a){(function(){var n={}.hasOwnProperty;function e(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=i(r,p(u)))}return r}function p(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var u in r)n.call(r,u)&&r[u]&&(t=i(t,u));return t}function i(r,t){return t?r?r+" "+t:r+t:r}a.exports?(e.default=e,a.exports=e):window.classNames=e})()})(U);var ra=U.exports;const aa=Qr(ra),w={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},ea={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},x="purpur-paragraph",C=({["data-testid"]:a,children:n,className:e,disabled:p,enableHyphenation:i=!1,negative:r=!1,variant:t=ea.PARAGRAPH100,...u})=>{const c=aa([e,w[x],w[`${x}--${t}`],{[w[`${x}--hyphens`]]:i,[w[`${x}--disabled`]]:p,[w[`${x}--negative`]]:r}]);return s.jsx("p",{...u,className:c,"data-testid":a,children:n})};C.displayName="Paragraph";const ta={"purpur-card-feature-list":"_purpur-card-feature-list_ej4qm_1","purpur-card-feature-list__list-item":"_purpur-card-feature-list__list-item_ej4qm_6"},Z=l.bind(ta),R="purpur-card-feature-list",na=({["data-testid"]:a="purpur-card-feature-list",listItems:n})=>n&&n.length>0?s.jsx("ul",{className:Z(R),"data-testid":a,children:n.map(e=>s.jsxs("li",{className:Z(`${R}__list-item`),"data-testid":`${a}-item`,children:[s.jsx(G,{size:"xs"}),s.jsx(C,{children:e})]},e))}):null,ua={"purpur-card-link-arrow":"_purpur-card-link-arrow_1r4zu_1","purpur-card-link-arrow--sm":"_purpur-card-link-arrow--sm_1r4zu_33","purpur-card-link-arrow--icon-only":"_purpur-card-link-arrow--icon-only_1r4zu_36","purpur-card-link-arrow--md":"_purpur-card-link-arrow--md_1r4zu_39","purpur-card-link-arrow--lg":"_purpur-card-link-arrow--lg_1r4zu_45","purpur-card-link-arrow--full-width":"_purpur-card-link-arrow--full-width_1r4zu_51","purpur-card-link-arrow--primary":"_purpur-card-link-arrow--primary_1r4zu_54","purpur-card-link-arrow--disabled":"_purpur-card-link-arrow--disabled_1r4zu_58","purpur-card-link-arrow--primary-negative":"_purpur-card-link-arrow--primary-negative_1r4zu_64","purpur-card-link-arrow--secondary":"_purpur-card-link-arrow--secondary_1r4zu_76","purpur-card-link-arrow--secondary-negative":"_purpur-card-link-arrow--secondary-negative_1r4zu_87","purpur-card-link-arrow--expressive":"_purpur-card-link-arrow--expressive_1r4zu_98","purpur-card-link-arrow--expressive-negative":"_purpur-card-link-arrow--expressive-negative_1r4zu_108"},pa=l.bind(ua),f="purpur-card-link-arrow",ia=({["data-testid"]:a="purpur-card-link-arrow",className:n,disabled:e=!1,loading:p=!1,...i})=>s.jsx("div",{className:`${pa([f,n,`${f}--md`,`${f}--icon-only`,`${f}--secondary`,{[`${f}--disabled`]:e}])} ${f}`,"data-testid":a,...i,children:p?s.jsx(T,{"data-testid":`${a}-spinner`,size:"xs",disabled:e}):s.jsx(F,{"data-testid":`${a}-arrow`,size:"md"})}),sa={"purpur-card-overline":"_purpur-card-overline_192fe_1"},oa=l.bind(sa),la="purpur-card-overline",ca=({["data-testid"]:a="purpur-card-overline",overline:n})=>n?s.jsx(C,{className:oa(la),"data-testid":a,children:n}):null,da={"purpur-card-root":"_purpur-card-root_bqk1d_1","purpur-card-root--primary":"_purpur-card-root--primary_bqk1d_8","purpur-card-root--secondary":"_purpur-card-root--secondary_bqk1d_11","purpur-card-root--full-height":"_purpur-card-root--full-height_bqk1d_14"},_a={"purpur-card-trigger-item":"_purpur-card-trigger-item_1sp43_1","purpur-card-trigger-item--button":"_purpur-card-trigger-item--button_1sp43_6","purpur-card-trigger-item--disabled":"_purpur-card-trigger-item--disabled_1sp43_11"};function h(){return h=Object.assign?Object.assign.bind():function(a){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var p in e)({}).hasOwnProperty.call(e,p)&&(a[p]=e[p])}return a},h.apply(null,arguments)}function ga(a,n){typeof a=="function"?a(n):a!=null&&(a.current=n)}function ma(...a){return n=>a.forEach(e=>ga(e,n))}const X=o.forwardRef((a,n)=>{const{children:e,...p}=a,i=o.Children.toArray(e),r=i.find(ha);if(r){const t=r.props.children,u=i.map(c=>c===r?o.Children.count(t)>1?o.Children.only(null):o.isValidElement(t)?t.props.children:null:c);return o.createElement(j,h({},p,{ref:n}),o.isValidElement(t)?o.cloneElement(t,void 0,u):null)}return o.createElement(j,h({},p,{ref:n}),e)});X.displayName="Slot";const j=o.forwardRef((a,n)=>{const{children:e,...p}=a;return o.isValidElement(e)?o.cloneElement(e,{...va(p,e.props),ref:n?ma(n,e.ref):e.ref}):o.Children.count(e)>1?o.Children.only(null):null});j.displayName="SlotClone";const fa=({children:a})=>o.createElement(o.Fragment,null,a);function ha(a){return o.isValidElement(a)&&a.type===fa}function va(a,n){const e={...n};for(const p in n){const i=a[p],r=n[p];/^on[A-Z]/.test(p)?i&&r?e[p]=(...t)=>{r(...t),i(...t)}:i&&(e[p]=i):p==="style"?e[p]={...i,...r}:p==="className"&&(e[p]=[i,r].filter(Boolean).join(" "))}return{...a,...e}}const ya=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wa=ya.reduce((a,n)=>{const e=o.forwardRef((p,i)=>{const{asChild:r,...t}=p,u=r?X:n;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(u,h({},t,{ref:i}))});return e.displayName=`Primitive.${n}`,{...a,[n]:e}},{}),xa=o.forwardRef((a,n)=>o.createElement(wa.span,h({},a,{ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...a.style}}))),$a=xa,z=({asChild:a,children:n,className:e="",["data-testid"]:p})=>s.jsx($a,{asChild:a,"data-testid":p,className:e,children:n}),P=l.bind(_a),m="purpur-card-trigger-item",ba=({["data-testid"]:a="purpur-card-trigger-item",disabled:n=!1,href:e,onClick:p,screenReaderText:i})=>{const r=u=>{n?u.preventDefault():p&&p()},t=`${m} ${n?`${m}--disabled`:""}`;return e?s.jsx("a",{"aria-disabled":n,className:`${P([m,{[`${m}--disabled`]:n}])} ${t}`,"data-testid":a,href:n?void 0:e,tabIndex:n?0:void 0,children:s.jsx(z,{children:i})}):s.jsx("button",{"aria-disabled":n,className:`${P([m,`${m}--button`,{[`${m}--disabled`]:n}])} ${t}`,"data-testid":a,type:"button",onClick:r,children:s.jsx(z,{children:i})})},ja=l.bind(da),$="purpur-card-root",K=o.forwardRef(({["data-testid"]:a="purpur-card-root",children:n,className:e,disabled:p,fullHeight:i,href:r,onClick:t,screenReaderText:u,variant:c,...W},Y)=>{const J=ja([$,e,{[`${$}--${c}`]:c,[`${$}--full-height`]:i}]);return s.jsxs("div",{className:J,"data-testid":a,ref:Y,...W,children:[n,(t||r)&&u&&s.jsx(ba,{disabled:p,href:r,onClick:t,screenReaderText:u})]})});K.displayName="CardRoot";const q=l.bind(ar),b="purpur-card",d=({children:a,className:n,...e})=>{const p=q([b,n,{[`${b}--is-interactive`]:e.onClick||e.href,[`${b}--disabled`]:e.disabled}]);return s.jsx(K,{className:q(p),...e,children:a})};d.Badge=Cr;d.LinkArrow=ia;d.Content=Or;d.ContentContainer=Zr;d.Cta=Hr;d.FeatureList=na;d.Overline=ca;d.displayName="Card";exports.Card=d; | ||
//# sourceMappingURL=card.cjs.js.map |
@@ -1,8 +0,8 @@ | ||
import { jsxs as C, jsx as o, Fragment as er } from "react/jsx-runtime"; | ||
import { forwardRef as x, Children as $, isValidElement as N, createElement as b, cloneElement as H, useEffect as nr, Fragment as ur } from "react"; | ||
import { jsxs as C, jsx as o, Fragment as nr } from "react/jsx-runtime"; | ||
import { forwardRef as x, Children as $, isValidElement as N, createElement as b, cloneElement as D, useEffect as ur, Fragment as pr } from "react"; | ||
import "react-dom"; | ||
function pr(a) { | ||
function ir(a) { | ||
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a; | ||
} | ||
var D = { exports: {} }; | ||
var T = { exports: {} }; | ||
/*! | ||
@@ -42,11 +42,11 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(D); | ||
var ir = D.exports; | ||
const s = /* @__PURE__ */ pr(ir), or = { | ||
})(T); | ||
var or = T.exports; | ||
const s = /* @__PURE__ */ ir(or), sr = { | ||
"purpur-card": "_purpur-card_1owb4_1" | ||
}; | ||
function sr(a) { | ||
function cr(a) { | ||
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a; | ||
} | ||
var T = { exports: {} }; | ||
var V = { exports: {} }; | ||
/*! | ||
@@ -86,5 +86,5 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(T); | ||
var cr = T.exports; | ||
const lr = /* @__PURE__ */ sr(cr), dr = { | ||
})(V); | ||
var lr = V.exports; | ||
const dr = /* @__PURE__ */ cr(lr), _r = { | ||
"purpur-icon": "_purpur-icon_8u1lq_1", | ||
@@ -97,3 +97,3 @@ "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4", | ||
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24" | ||
}, _r = { | ||
}, gr = { | ||
name: "alert", | ||
@@ -103,3 +103,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>', | ||
category: "status" | ||
}, gr = { | ||
}, mr = { | ||
name: "check-circle", | ||
@@ -109,3 +109,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>', | ||
category: "status" | ||
}, mr = { | ||
}, fr = { | ||
name: "error", | ||
@@ -120,3 +120,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>', | ||
category: "status" | ||
}, fr = { | ||
}, vr = { | ||
name: "offering", | ||
@@ -126,3 +126,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>', | ||
category: "other" | ||
}, vr = { | ||
}, yr = { | ||
name: "question", | ||
@@ -132,3 +132,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>', | ||
category: "status" | ||
}, yr = { | ||
}, wr = { | ||
name: "tag", | ||
@@ -138,3 +138,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>', | ||
category: "other" | ||
}, wr = lr.bind(dr), j = "purpur-icon", $r = "md", br = (a) => a.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), xr = ({ content: a = "", title: n } = {}) => { | ||
}, $r = dr.bind(_r), M = "purpur-icon", br = "md", xr = (a) => a.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Nr = ({ content: a = "", title: n } = {}) => { | ||
const t = [ | ||
@@ -146,4 +146,4 @@ { name: "xmlns", value: "http://www.w3.org/2000/svg" }, | ||
], p = n ? `<title>${n}</title>` : ""; | ||
return `<svg ${br(t)}>${p}${a}</svg>`; | ||
}, Nr = (a) => a.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Cr = ({ | ||
return `<svg ${xr(t)}>${p}${a}</svg>`; | ||
}, Cr = (a) => a.replace(/<(\/?)svg([^>]*)>/g, "").trim(), F = ({ | ||
["data-testid"]: a, | ||
@@ -153,9 +153,9 @@ svg: n, | ||
className: p, | ||
size: i = $r, | ||
size: i = br, | ||
...r | ||
}) => { | ||
const e = xr({ | ||
content: Nr(n.svg), | ||
const e = Nr({ | ||
content: Cr(n.svg), | ||
title: t | ||
}), u = wr(p, j, `${j}--${i}`); | ||
}), u = $r(p, M, `${M}--${i}`); | ||
return /* @__PURE__ */ o( | ||
@@ -172,6 +172,7 @@ "span", | ||
}; | ||
F.displayName = "Icon"; | ||
function Ar(a) { | ||
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a; | ||
} | ||
var V = { exports: {} }; | ||
var G = { exports: {} }; | ||
/*! | ||
@@ -211,5 +212,5 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(V); | ||
var kr = V.exports; | ||
const Sr = /* @__PURE__ */ Ar(kr), M = { | ||
})(G); | ||
var kr = G.exports; | ||
const Sr = /* @__PURE__ */ Ar(kr), Z = { | ||
"purpur-badge": "_purpur-badge_1r1mu_1", | ||
@@ -224,3 +225,3 @@ "purpur-badge--attention": "_purpur-badge--attention_1r1mu_13", | ||
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41" | ||
}, Z = "purpur-badge", l = { | ||
}, z = "purpur-badge", l = { | ||
ATTENTION: "attention", | ||
@@ -238,15 +239,15 @@ SPECIAL: "special", | ||
case l.SPECIAL: | ||
return fr; | ||
return vr; | ||
case l.INFORMATION: | ||
return hr; | ||
case l.SUCCESS: | ||
return mr; | ||
case l.WARNING: | ||
return gr; | ||
case l.WARNING: | ||
return _r; | ||
case l.ERROR: | ||
return mr; | ||
return fr; | ||
case l.NEUTRAL: | ||
return vr; | ||
return yr; | ||
case l.BLACK_FRIDAY: | ||
return yr; | ||
return wr; | ||
default: | ||
@@ -264,5 +265,5 @@ return; | ||
}) => { | ||
const u = Or(t), c = Sr([r, M[Z], M[`${Z}--${t}`]]); | ||
const u = Or(t), c = Sr([r, Z[z], Z[`${z}--${t}`]]); | ||
return /* @__PURE__ */ C("span", { "aria-label": i, className: c, "data-testid": p, ...e, children: [ | ||
n && u && /* @__PURE__ */ o(Cr, { "data-testid": `${p}-icon`, allyTitle: i, size: "xs", svg: u }), | ||
n && u && /* @__PURE__ */ o(F, { "data-testid": `${p}-icon`, allyTitle: i, size: "xs", svg: u }), | ||
a | ||
@@ -290,6 +291,6 @@ ] }); | ||
children: n | ||
}) => /* @__PURE__ */ o("div", { className: Pr(Lr), "data-testid": a, children: n }), Br = { | ||
}) => /* @__PURE__ */ o("div", { className: Pr(Lr), "data-testid": a, children: n }), Ir = { | ||
"purpur-card-content-container": "_purpur-card-content-container_1oawn_1", | ||
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_1oawn_12" | ||
}, Ir = s.bind(Br), z = "purpur-card-content-container", Hr = ({ | ||
}, Br = s.bind(Ir), R = "purpur-card-content-container", Hr = ({ | ||
["data-testid"]: a = "purpur-card-content-container", | ||
@@ -301,6 +302,6 @@ children: n, | ||
{ | ||
className: Ir([ | ||
z, | ||
className: Br([ | ||
R, | ||
{ | ||
[`${z}--footer`]: t | ||
[`${R}--footer`]: t | ||
} | ||
@@ -315,3 +316,3 @@ ]), | ||
} | ||
var F = { exports: {} }; | ||
var U = { exports: {} }; | ||
/*! | ||
@@ -351,5 +352,5 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(F); | ||
var Tr = F.exports; | ||
const R = /* @__PURE__ */ Dr(Tr), Vr = "_rotate_1xozj_1", Fr = "_dash_1xozj_1", f = { | ||
})(U); | ||
var Tr = U.exports; | ||
const E = /* @__PURE__ */ Dr(Tr), Vr = "_rotate_1xozj_1", Fr = "_dash_1xozj_1", h = { | ||
"purpur-spinner": "_purpur-spinner_1xozj_1", | ||
@@ -372,3 +373,3 @@ rotate: Vr, | ||
LG: "lg" | ||
}, G = ({ | ||
}, X = ({ | ||
["data-testid"]: a, | ||
@@ -382,3 +383,3 @@ disabled: n = !1, | ||
{ | ||
className: R([f[v], f[`${v}--${p}`]]), | ||
className: E([h[v], h[`${v}--${p}`]]), | ||
"data-testid": a, | ||
@@ -389,5 +390,5 @@ ...i, | ||
{ | ||
className: R(f[`${v}__circle`], { | ||
[f[`${v}__circle--disabled`]]: n, | ||
[f[`${v}__circle--negative`]]: t | ||
className: E(h[`${v}__circle`], { | ||
[h[`${v}__circle--disabled`]]: n, | ||
[h[`${v}__circle--negative`]]: t | ||
}), | ||
@@ -440,3 +441,3 @@ cx: "25", | ||
...u, | ||
children: r ? /* @__PURE__ */ o(G, { "data-testid": `${a}-spinner`, size: "xs", disabled: p }) : /* @__PURE__ */ C(er, { children: [ | ||
children: r ? /* @__PURE__ */ o(X, { "data-testid": `${a}-spinner`, size: "xs", disabled: p }) : /* @__PURE__ */ C(nr, { children: [ | ||
i === "left" && t, | ||
@@ -451,3 +452,3 @@ e, | ||
} | ||
var U = { exports: {} }; | ||
var K = { exports: {} }; | ||
/*! | ||
@@ -487,4 +488,4 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(U); | ||
var Yr = U.exports; | ||
})(K); | ||
var Yr = K.exports; | ||
const Jr = /* @__PURE__ */ Wr(Yr), Qr = { | ||
@@ -508,4 +509,4 @@ "purpur-icon": "_purpur-icon_8u1lq_1", | ||
category: "utility" | ||
}, X = (a) => /* @__PURE__ */ o( | ||
W, | ||
}, W = (a) => /* @__PURE__ */ o( | ||
O, | ||
{ | ||
@@ -516,5 +517,5 @@ ...a, | ||
); | ||
X.displayName = "IconArrowRight"; | ||
const K = (a) => /* @__PURE__ */ o( | ||
W, | ||
W.displayName = "IconArrowRight"; | ||
const Y = (a) => /* @__PURE__ */ o( | ||
O, | ||
{ | ||
@@ -525,4 +526,4 @@ ...a, | ||
); | ||
K.displayName = "IconCheckmark"; | ||
const ta = Jr.bind(Qr), E = "purpur-icon", ea = "md", na = (a) => a.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), ua = ({ content: a = "", title: n } = {}) => { | ||
Y.displayName = "IconCheckmark"; | ||
const ta = Jr.bind(Qr), P = "purpur-icon", ea = "md", na = (a) => a.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), ua = ({ content: a = "", title: n } = {}) => { | ||
const t = [ | ||
@@ -535,3 +536,3 @@ { name: "xmlns", value: "http://www.w3.org/2000/svg" }, | ||
return `<svg ${na(t)}>${p}${a}</svg>`; | ||
}, pa = (a) => a.replace(/<(\/?)svg([^>]*)>/g, "").trim(), W = ({ | ||
}, pa = (a) => a.replace(/<(\/?)svg([^>]*)>/g, "").trim(), O = ({ | ||
["data-testid"]: a, | ||
@@ -547,3 +548,3 @@ svg: n, | ||
title: t | ||
}), u = ta(p, E, `${E}--${i}`); | ||
}), u = ta(p, P, `${P}--${i}`); | ||
return /* @__PURE__ */ o( | ||
@@ -560,6 +561,7 @@ "span", | ||
}; | ||
O.displayName = "Icon"; | ||
function ia(a) { | ||
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a; | ||
} | ||
var Y = { exports: {} }; | ||
var J = { exports: {} }; | ||
/*! | ||
@@ -599,4 +601,4 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(Y); | ||
var oa = Y.exports; | ||
})(J); | ||
var oa = J.exports; | ||
const sa = /* @__PURE__ */ ia(oa), y = { | ||
@@ -628,3 +630,3 @@ "purpur-paragraph": "_purpur-paragraph_1rh57_1", | ||
OVERLINE200: "overline-200" | ||
}, w = "purpur-paragraph", O = ({ | ||
}, w = "purpur-paragraph", j = ({ | ||
["data-testid"]: a, | ||
@@ -651,17 +653,17 @@ children: n, | ||
}; | ||
O.displayName = "Paragraph"; | ||
j.displayName = "Paragraph"; | ||
const la = { | ||
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1", | ||
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6" | ||
}, P = s.bind(la), L = "purpur-card-feature-list", da = ({ | ||
}, L = s.bind(la), q = "purpur-card-feature-list", da = ({ | ||
["data-testid"]: a = "purpur-card-feature-list", | ||
listItems: n | ||
}) => n && n.length > 0 ? /* @__PURE__ */ o("ul", { className: P(L), "data-testid": a, children: n.map((t) => /* @__PURE__ */ C( | ||
}) => n && n.length > 0 ? /* @__PURE__ */ o("ul", { className: L(q), "data-testid": a, children: n.map((t) => /* @__PURE__ */ C( | ||
"li", | ||
{ | ||
className: P(`${L}__list-item`), | ||
className: L(`${q}__list-item`), | ||
"data-testid": `${a}-item`, | ||
children: [ | ||
/* @__PURE__ */ o(K, { size: "xs" }), | ||
/* @__PURE__ */ o(O, { children: t }) | ||
/* @__PURE__ */ o(Y, { size: "xs" }), | ||
/* @__PURE__ */ o(j, { children: t }) | ||
] | ||
@@ -705,10 +707,10 @@ }, | ||
...i, | ||
children: p ? /* @__PURE__ */ o(G, { "data-testid": `${a}-spinner`, size: "xs", disabled: t }) : /* @__PURE__ */ o(X, { "data-testid": `${a}-arrow`, size: "md" }) | ||
children: p ? /* @__PURE__ */ o(X, { "data-testid": `${a}-spinner`, size: "xs", disabled: t }) : /* @__PURE__ */ o(W, { "data-testid": `${a}-arrow`, size: "md" }) | ||
} | ||
), ha = { | ||
), fa = { | ||
"purpur-card-overline": "_purpur-card-overline_192fe_1" | ||
}, fa = s.bind(ha), va = "purpur-card-overline", ya = ({ | ||
}, ha = s.bind(fa), va = "purpur-card-overline", ya = ({ | ||
["data-testid"]: a = "purpur-card-overline", | ||
overline: n | ||
}) => n ? /* @__PURE__ */ o(O, { className: fa(va), "data-testid": a, children: n }) : null, wa = { | ||
}) => n ? /* @__PURE__ */ o(j, { className: ha(va), "data-testid": a, children: n }) : null, wa = { | ||
"purpur-card-root": "_purpur-card-root_bqk1d_1", | ||
@@ -723,4 +725,4 @@ "purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8", | ||
}; | ||
function h() { | ||
return h = Object.assign ? Object.assign.bind() : function(a) { | ||
function f() { | ||
return f = Object.assign ? Object.assign.bind() : function(a) { | ||
for (var n = 1; n < arguments.length; n++) { | ||
@@ -731,3 +733,3 @@ var t = arguments[n]; | ||
return a; | ||
}, h.apply(null, arguments); | ||
}, f.apply(null, arguments); | ||
} | ||
@@ -742,18 +744,18 @@ function ba(a, n) { | ||
} | ||
const J = /* @__PURE__ */ x((a, n) => { | ||
const Q = /* @__PURE__ */ x((a, n) => { | ||
const { children: t, ...p } = a, i = $.toArray(t), r = i.find(Ca); | ||
if (r) { | ||
const e = r.props.children, u = i.map((c) => c === r ? $.count(e) > 1 ? $.only(null) : /* @__PURE__ */ N(e) ? e.props.children : null : c); | ||
return /* @__PURE__ */ b(S, h({}, p, { | ||
return /* @__PURE__ */ b(S, f({}, p, { | ||
ref: n | ||
}), /* @__PURE__ */ N(e) ? /* @__PURE__ */ H(e, void 0, u) : null); | ||
}), /* @__PURE__ */ N(e) ? /* @__PURE__ */ D(e, void 0, u) : null); | ||
} | ||
return /* @__PURE__ */ b(S, h({}, p, { | ||
return /* @__PURE__ */ b(S, f({}, p, { | ||
ref: n | ||
}), t); | ||
}); | ||
J.displayName = "Slot"; | ||
Q.displayName = "Slot"; | ||
const S = /* @__PURE__ */ x((a, n) => { | ||
const { children: t, ...p } = a; | ||
return /* @__PURE__ */ N(t) ? /* @__PURE__ */ H(t, { | ||
return /* @__PURE__ */ N(t) ? /* @__PURE__ */ D(t, { | ||
...Aa(p, t.props), | ||
@@ -764,3 +766,3 @@ ref: n ? xa(n, t.ref) : t.ref | ||
S.displayName = "SlotClone"; | ||
const Na = ({ children: a }) => /* @__PURE__ */ b(ur, null, a); | ||
const Na = ({ children: a }) => /* @__PURE__ */ b(pr, null, a); | ||
function Ca(a) { | ||
@@ -809,6 +811,6 @@ return /* @__PURE__ */ N(a) && a.type === Na; | ||
const t = /* @__PURE__ */ x((p, i) => { | ||
const { asChild: r, ...e } = p, u = r ? J : n; | ||
return nr(() => { | ||
const { asChild: r, ...e } = p, u = r ? Q : n; | ||
return ur(() => { | ||
window[Symbol.for("radix-ui")] = !0; | ||
}, []), /* @__PURE__ */ b(u, h({}, e, { | ||
}, []), /* @__PURE__ */ b(u, f({}, e, { | ||
ref: i | ||
@@ -821,3 +823,3 @@ })); | ||
}; | ||
}, {}), Oa = /* @__PURE__ */ x((a, n) => /* @__PURE__ */ b(Sa.span, h({}, a, { | ||
}, {}), Oa = /* @__PURE__ */ x((a, n) => /* @__PURE__ */ b(Sa.span, f({}, a, { | ||
ref: n, | ||
@@ -838,3 +840,3 @@ style: { | ||
} | ||
}))), ja = Oa, q = ({ | ||
}))), ja = Oa, I = ({ | ||
asChild: a, | ||
@@ -869,3 +871,3 @@ children: n, | ||
tabIndex: n ? 0 : void 0, | ||
children: /* @__PURE__ */ o(q, { children: i }) | ||
children: /* @__PURE__ */ o(I, { children: i }) | ||
} | ||
@@ -887,6 +889,6 @@ ) | ||
onClick: r, | ||
children: /* @__PURE__ */ o(q, { children: i }) | ||
children: /* @__PURE__ */ o(I, { children: i }) | ||
} | ||
); | ||
}, Za = s.bind(wa), A = "purpur-card-root", Q = x( | ||
}, Za = s.bind(wa), A = "purpur-card-root", rr = x( | ||
({ | ||
@@ -902,5 +904,5 @@ ["data-testid"]: a = "purpur-card-root", | ||
variant: c, | ||
...rr | ||
}, ar) => { | ||
const tr = Za([ | ||
...ar | ||
}, tr) => { | ||
const er = Za([ | ||
A, | ||
@@ -913,3 +915,3 @@ t, | ||
]); | ||
return /* @__PURE__ */ C("div", { className: tr, "data-testid": a, ref: ar, ...rr, children: [ | ||
return /* @__PURE__ */ C("div", { className: er, "data-testid": a, ref: tr, ...ar, children: [ | ||
n, | ||
@@ -928,5 +930,5 @@ (e || r) && u && /* @__PURE__ */ o( | ||
); | ||
Q.displayName = "CardRoot"; | ||
const I = s.bind(or), k = "purpur-card", d = ({ children: a, className: n, ...t }) => { | ||
const p = I([ | ||
rr.displayName = "CardRoot"; | ||
const H = s.bind(sr), k = "purpur-card", d = ({ children: a, className: n, ...t }) => { | ||
const p = H([ | ||
k, | ||
@@ -939,3 +941,3 @@ n, | ||
]); | ||
return /* @__PURE__ */ o(Q, { className: I(p), ...t, children: a }); | ||
return /* @__PURE__ */ o(rr, { className: H(p), ...t, children: a }); | ||
}; | ||
@@ -942,0 +944,0 @@ d.Badge = Rr; |
@@ -36,3 +36,3 @@ Name: classnames | ||
Name: @purpurds/badge | ||
Version: 5.20.0 | ||
Version: 5.20.1 | ||
License: AGPL-3.0-only | ||
@@ -44,3 +44,3 @@ Private: false | ||
Name: @purpurds/spinner | ||
Version: 5.20.0 | ||
Version: 5.20.1 | ||
License: AGPL-3.0-only | ||
@@ -52,3 +52,3 @@ Private: false | ||
Name: @purpurds/icon | ||
Version: 5.20.0 | ||
Version: 5.20.1 | ||
License: AGPL-3.0-only | ||
@@ -60,3 +60,3 @@ Private: false | ||
Name: @purpurds/paragraph | ||
Version: 5.20.0 | ||
Version: 5.20.1 | ||
License: AGPL-3.0-only | ||
@@ -68,4 +68,4 @@ Private: false | ||
Name: @purpurds/visually-hidden | ||
Version: 5.20.0 | ||
Version: 5.20.1 | ||
License: AGPL-3.0-only | ||
Private: false |
{ | ||
"name": "@purpurds/card", | ||
"version": "5.20.1", | ||
"version": "5.21.0", | ||
"license": "AGPL-3.0-only", | ||
@@ -18,13 +18,13 @@ "main": "./dist/card.cjs.js", | ||
"classnames": "~2.5.0", | ||
"@purpurds/badge": "5.20.1", | ||
"@purpurds/paragraph": "5.20.1", | ||
"@purpurds/icon": "5.20.1", | ||
"@purpurds/spinner": "5.20.1", | ||
"@purpurds/tokens": "5.20.1", | ||
"@purpurds/visually-hidden": "5.20.1" | ||
"@purpurds/badge": "5.21.0", | ||
"@purpurds/paragraph": "5.21.0", | ||
"@purpurds/icon": "5.21.0", | ||
"@purpurds/tokens": "5.21.0", | ||
"@purpurds/spinner": "5.21.0", | ||
"@purpurds/visually-hidden": "5.21.0" | ||
}, | ||
"devDependencies": { | ||
"@rushstack/eslint-patch": "~1.10.0", | ||
"@storybook/react": "^8.2.6", | ||
"storybook": "^8.2.6", | ||
"@storybook/react": "^8.3.5", | ||
"storybook": "^8.3.5", | ||
"@telia/base-rig": "~8.2.0", | ||
@@ -46,10 +46,10 @@ "@telia/react-rig": "~3.2.0", | ||
"react": "^18.3.1", | ||
"typescript": "^5.5.4", | ||
"vite": "5.3.4", | ||
"vitest": "~1.5.0", | ||
"@purpurds/action": "5.20.1", | ||
"@purpurds/button": "5.20.1", | ||
"@purpurds/grid": "5.20.1", | ||
"typescript": "^5.6.3", | ||
"vite": "5.4.8", | ||
"vitest": "^2.1.2", | ||
"@purpurds/button": "5.21.0", | ||
"@purpurds/action": "5.21.0", | ||
"@purpurds/component-rig": "1.0.0", | ||
"@purpurds/heading": "5.20.1" | ||
"@purpurds/heading": "5.21.0", | ||
"@purpurds/grid": "5.21.0" | ||
}, | ||
@@ -56,0 +56,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1127520
2283
+ Added@purpurds/badge@5.21.0(transitive)
+ Added@purpurds/icon@5.21.0(transitive)
+ Added@purpurds/paragraph@5.21.0(transitive)
+ Added@purpurds/spinner@5.21.0(transitive)
+ Added@purpurds/tokens@5.21.0(transitive)
+ Added@purpurds/visually-hidden@5.21.0(transitive)
- Removed@purpurds/badge@5.20.1(transitive)
- Removed@purpurds/icon@5.20.1(transitive)
- Removed@purpurds/paragraph@5.20.1(transitive)
- Removed@purpurds/spinner@5.20.1(transitive)
- Removed@purpurds/tokens@5.20.1(transitive)
- Removed@purpurds/visually-hidden@5.20.1(transitive)
Updated@purpurds/badge@5.21.0
Updated@purpurds/icon@5.21.0
Updated@purpurds/paragraph@5.21.0
Updated@purpurds/spinner@5.21.0
Updated@purpurds/tokens@5.21.0