Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@purpurds/text-field

Package Overview
Dependencies
Maintainers
0
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@purpurds/text-field - npm Package Compare versions

Comparing version 5.7.0 to 5.8.0

12

dist/LICENSE.txt
Name: @purpurds/button
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -9,3 +9,3 @@ Private: false

Name: @purpurds/field-error-text
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -17,3 +17,3 @@ Private: false

Name: @purpurds/field-helper-text
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -25,3 +25,3 @@ Private: false

Name: @purpurds/icon
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -33,3 +33,3 @@ Private: false

Name: @purpurds/label
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -41,3 +41,3 @@ Private: false

Name: @purpurds/spinner
Version: 5.6.0
Version: 5.7.0
License: AGPL-3.0-only

@@ -44,0 +44,0 @@ Private: false

@@ -1,38 +0,38 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),s=require("react");require("react-dom");const B={SM:"sm",MD:"md",LG:"lg"};function dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var W={exports:{}};/*!
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("react");require("react-dom");const B={SM:"sm",MD:"md",LG:"lg"};function dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var W={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(W);var _r=W.exports;const F=dr(_r),fr="_rotate_1xozj_1",vr="_dash_1xozj_1",$={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:fr,"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:vr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},j="purpur-spinner",xr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},mr=({["data-testid"]:e,disabled:i=!1,negative:n=!1,size:a=xr.SM,...o})=>l.jsx("div",{className:F([$[j],$[`${j}--${a}`]]),"data-testid":e,...o,children:l.jsx("svg",{viewBox:"0 0 50 50",children:l.jsx("circle",{className:F($[`${j}__circle`],{[$[`${j}__circle--disabled`]]:i,[$[`${j}__circle--negative`]]:n}),cx:"25",cy:"25",r:"20"})})});function gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(W);var _r=W.exports;const F=dr(_r),fr="_rotate_1xozj_1",vr="_dash_1xozj_1",j={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:fr,"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:vr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},$="purpur-spinner",xr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},mr=({["data-testid"]:e,disabled:i=!1,negative:n=!1,size:a=xr.SM,...l})=>o.jsx("div",{className:F([j[$],j[`${$}--${a}`]]),"data-testid":e,...l,children:o.jsx("svg",{viewBox:"0 0 50 50",children:o.jsx("circle",{className:F(j[`${$}__circle`],{[j[`${$}__circle--disabled`]]:i,[j[`${$}__circle--negative`]]:n}),cx:"25",cy:"25",r:"20"})})});function gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,this&&this[u]||u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Y);var yr=Y.exports;const br=gr(yr),hr={"purpur-button":"_purpur-button_u2yv5_1","purpur-button--sm":"_purpur-button--sm_u2yv5_33","purpur-button--icon-only":"_purpur-button--icon-only_u2yv5_36","purpur-button--md":"_purpur-button--md_u2yv5_39","purpur-button--lg":"_purpur-button--lg_u2yv5_45","purpur-button--full-width":"_purpur-button--full-width_u2yv5_51","purpur-button--primary":"_purpur-button--primary_u2yv5_54","purpur-button--disabled":"_purpur-button--disabled_u2yv5_58","purpur-button--primary-negative":"_purpur-button--primary-negative_u2yv5_64","purpur-button--secondary":"_purpur-button--secondary_u2yv5_76","purpur-button--secondary-negative":"_purpur-button--secondary-negative_u2yv5_87","purpur-button--expressive":"_purpur-button--expressive_u2yv5_98","purpur-button--expressive-negative":"_purpur-button--expressive-negative_u2yv5_108","purpur-button--negative":"_purpur-button--negative_u2yv5_120","purpur-button--destructive":"_purpur-button--destructive_u2yv5_127","purpur-button--destructive-negative":"_purpur-button--destructive-negative_u2yv5_137","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_u2yv5_147","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_u2yv5_160","purpur-button--text-negative":"_purpur-button--text-negative_u2yv5_175","purpur-button--text":"_purpur-button--text_u2yv5_175"},$r=br.bind(hr),m="purpur-button",jr=({children:e,className:i,["data-testid"]:n,disabled:a=!1,fullWidth:o=!1,iconOnly:r,loading:t=!1,negative:u=!1,onClick:v,size:x=B.MD,variant:y,type:N="button",...p},g)=>{if(r&&y==="destructive")return null;const z=$r([m,`${m}--${u?`${y}-negative`:y}`,`${m}--${x}`],{[`${m}--icon-only`]:r,[`${m}--negative`]:u,[`${m}--full-width`]:o,[`${m}--disabled`]:a||t},i),b=h=>{a||t?h.preventDefault():v&&v(h)},d=!!p["aria-disabled"]||a||t;return l.jsxs("button",{className:z,"data-testid":n,type:N,ref:g,"aria-disabled":d,onClick:b,...p,children:[t&&l.jsx(mr,{size:x===B.LG?"xs":"xxs",negative:u,disabled:d})," ",e]})},J=s.forwardRef(jr);J.displayName="Button";function wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var K={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,this&&this[u]||u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Y);var yr=Y.exports;const br=gr(yr),hr={"purpur-button":"_purpur-button_u2yv5_1","purpur-button--sm":"_purpur-button--sm_u2yv5_33","purpur-button--icon-only":"_purpur-button--icon-only_u2yv5_36","purpur-button--md":"_purpur-button--md_u2yv5_39","purpur-button--lg":"_purpur-button--lg_u2yv5_45","purpur-button--full-width":"_purpur-button--full-width_u2yv5_51","purpur-button--primary":"_purpur-button--primary_u2yv5_54","purpur-button--disabled":"_purpur-button--disabled_u2yv5_58","purpur-button--primary-negative":"_purpur-button--primary-negative_u2yv5_64","purpur-button--secondary":"_purpur-button--secondary_u2yv5_76","purpur-button--secondary-negative":"_purpur-button--secondary-negative_u2yv5_87","purpur-button--expressive":"_purpur-button--expressive_u2yv5_98","purpur-button--expressive-negative":"_purpur-button--expressive-negative_u2yv5_108","purpur-button--negative":"_purpur-button--negative_u2yv5_120","purpur-button--destructive":"_purpur-button--destructive_u2yv5_127","purpur-button--destructive-negative":"_purpur-button--destructive-negative_u2yv5_137","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_u2yv5_147","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_u2yv5_160","purpur-button--text-negative":"_purpur-button--text-negative_u2yv5_175","purpur-button--text":"_purpur-button--text_u2yv5_175"},jr=br.bind(hr),m="purpur-button",$r=({children:e,className:i,["data-testid"]:n,disabled:a=!1,fullWidth:l=!1,iconOnly:r,loading:t=!1,negative:u=!1,onClick:v,size:x=B.MD,variant:y,type:N="button",...p},g)=>{if(r&&y==="destructive")return null;const z=jr([m,`${m}--${u?`${y}-negative`:y}`,`${m}--${x}`],{[`${m}--icon-only`]:r,[`${m}--negative`]:u,[`${m}--full-width`]:l,[`${m}--disabled`]:a||t},i),b=h=>{a||t?h.preventDefault():v&&v(h)},d=!!p["aria-disabled"]||a||t;return o.jsxs("button",{className:z,"data-testid":n,type:N,ref:g,"aria-disabled":d,onClick:b,...p,children:[t&&o.jsx(mr,{size:x===B.LG?"xs":"xxs",negative:u,disabled:d})," ",e]})},J=s.forwardRef($r);J.displayName="Button";function wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var K={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,this&&this[u]||u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(K);var Sr=K.exports;const Or=wr(Sr),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"},zr={name:"error-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',keywords:["error-filled"],category:"status"},Mr=Or.bind(Nr),L="purpur-icon",Ar="md",Cr=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),qr=({content:e="",title:i}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},i?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=i?`<title>${i}</title>`:"";return`<svg ${Cr(n)}>${a}${e}</svg>`},Er=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Rr=({["data-testid"]:e,svg:i,allyTitle:n,className:a="",size:o=Ar,...r})=>{const t=qr({content:Er(i.svg),title:n}),u=Mr(a,L,`${L}--${o}`);return l.jsx("span",{"aria-label":n,className:u,"data-testid":e,dangerouslySetInnerHTML:{__html:t},...r})};function Dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,this&&this[u]||u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(K);var Sr=K.exports;const Or=wr(Sr),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"},zr={name:"error-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',keywords:["error-filled"],category:"status"},Mr=Or.bind(Nr),L="purpur-icon",Cr="md",Ar=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),qr=({content:e="",title:i}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},i?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=i?`<title>${i}</title>`:"";return`<svg ${Ar(n)}>${a}${e}</svg>`},Er=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Rr=({["data-testid"]:e,svg:i,allyTitle:n,className:a="",size:l=Cr,...r})=>{const t=qr({content:Er(i.svg),title:n}),u=Mr(a,L,`${L}--${l}`);return o.jsx("span",{"aria-label":n,className:u,"data-testid":e,dangerouslySetInnerHTML:{__html:t},...r})};function Dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Q);var Ir=Q.exports;const Pr=Dr(Ir),k={"purpur-field-error-text":"_purpur-field-error-text_1u768_1","purpur-field-error-text__icon":"_purpur-field-error-text__icon_1u768_12"},Z="purpur-field-error-text",Vr=({["data-testid"]:e,children:i,className:n,relevant:a="additions text",...o})=>l.jsxs("div",{className:Pr([n,k[Z]]),"data-testid":e,"aria-live":"assertive","aria-relevant":a,...o,children:[l.jsx(Rr,{svg:zr,size:"xs",className:k[`${Z}__icon`]}),i]});function Br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var U={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Q);var Ir=Q.exports;const Pr=Dr(Ir),k={"purpur-field-error-text":"_purpur-field-error-text_1u768_1","purpur-field-error-text__icon":"_purpur-field-error-text__icon_1u768_12"},Z="purpur-field-error-text",Vr=({["data-testid"]:e,children:i,className:n,relevant:a="additions text",...l})=>o.jsxs("div",{className:Pr([n,k[Z]]),"data-testid":e,"aria-live":"assertive","aria-relevant":a,...l,children:[o.jsx(Rr,{svg:zr,size:"xs",className:k[`${Z}__icon`]}),i]});function Br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var U={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(U);var Fr=U.exports;const Lr=Br(Fr),X={"purpur-field-helper-text":"_purpur-field-helper-text_atw6b_1","purpur-field-helper-text--disabled":"_purpur-field-helper-text--disabled_atw6b_9"},T="purpur-field-helper-text",kr=({["data-testid"]:e,children:i,className:n,disabled:a,id:o,...r})=>{const t=Lr([n,X[T],{[X[`${T}--disabled`]]:a}]);return l.jsx("span",{id:o,className:t,"data-testid":e,...r,children:i})};function Zr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(U);var Fr=U.exports;const Lr=Br(Fr),X={"purpur-field-helper-text":"_purpur-field-helper-text_atw6b_1","purpur-field-helper-text--disabled":"_purpur-field-helper-text--disabled_atw6b_9"},T="purpur-field-helper-text",kr=({["data-testid"]:e,children:i,className:n,disabled:a,id:l,...r})=>{const t=Lr([n,X[T],{[X[`${T}--disabled`]]:a}]);return o.jsx("span",{id:l,className:t,"data-testid":e,...r,children:i})};function Zr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,this&&this[u]||u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(rr);var Xr=rr.exports;const Tr=Zr(Xr),Gr={"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"},Hr={name:"check-circle-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',keywords:["check-circle-filled"],category:"status"},Wr={name:"close",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["close"],category:"utility"},er=e=>l.jsx(nr,{...e,svg:Hr});er.displayName="IconCheckCircleFilled";const tr=e=>l.jsx(nr,{...e,svg:Wr});tr.displayName="IconClose";const Yr=Tr.bind(Gr),G="purpur-icon",Jr="md",Kr=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Qr=({content:e="",title:i}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},i?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=i?`<title>${i}</title>`:"";return`<svg ${Kr(n)}>${a}${e}</svg>`},Ur=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),nr=({["data-testid"]:e,svg:i,allyTitle:n,className:a="",size:o=Jr,...r})=>{const t=Qr({content:Ur(i.svg),title:n}),u=Yr(a,G,`${G}--${o}`);return l.jsx("span",{"aria-label":n,className:u,"data-testid":e,dangerouslySetInnerHTML:{__html:t},...r})};function R(){return R=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},R.apply(this,arguments)}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},O.apply(this,arguments)}function re(e,i){typeof e=="function"?e(i):e!=null&&(e.current=i)}function ee(...e){return i=>e.forEach(n=>re(n,i))}const ur=s.forwardRef((e,i)=>{const{children:n,...a}=e,o=s.Children.toArray(n),r=o.find(ne);if(r){const t=r.props.children,u=o.map(v=>v===r?s.Children.count(t)>1?s.Children.only(null):s.isValidElement(t)?t.props.children:null:v);return s.createElement(D,O({},a,{ref:i}),s.isValidElement(t)?s.cloneElement(t,void 0,u):null)}return s.createElement(D,O({},a,{ref:i}),n)});ur.displayName="Slot";const D=s.forwardRef((e,i)=>{const{children:n,...a}=e;return s.isValidElement(n)?s.cloneElement(n,{...ue(a,n.props),ref:i?ee(i,n.ref):n.ref}):s.Children.count(n)>1?s.Children.only(null):null});D.displayName="SlotClone";const te=({children:e})=>s.createElement(s.Fragment,null,e);function ne(e){return s.isValidElement(e)&&e.type===te}function ue(e,i){const n={...i};for(const a in i){const o=e[a],r=i[a];/^on[A-Z]/.test(a)?o&&r?n[a]=(...t)=>{r(...t),o(...t)}:o&&(n[a]=o):a==="style"?n[a]={...o,...r}:a==="className"&&(n[a]=[o,r].filter(Boolean).join(" "))}return{...e,...n}}const ie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ae=ie.reduce((e,i)=>{const n=s.forwardRef((a,o)=>{const{asChild:r,...t}=a,u=r?ur:i;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(u,O({},t,{ref:o}))});return n.displayName=`Primitive.${i}`,{...e,[i]:n}},{}),oe=s.forwardRef((e,i)=>s.createElement(ae.label,R({},e,{ref:i,onMouseDown:n=>{var a;(a=e.onMouseDown)===null||a===void 0||a.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),le=oe;function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ir={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,this&&this[u]||u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(rr);var Xr=rr.exports;const Tr=Zr(Xr),Gr={"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"},Hr={name:"check-circle-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',keywords:["check-circle-filled"],category:"status"},Wr={name:"close",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["close"],category:"utility"},er=e=>o.jsx(nr,{...e,svg:Hr});er.displayName="IconCheckCircleFilled";const tr=e=>o.jsx(nr,{...e,svg:Wr});tr.displayName="IconClose";const Yr=Tr.bind(Gr),G="purpur-icon",Jr="md",Kr=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Qr=({content:e="",title:i}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},i?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=i?`<title>${i}</title>`:"";return`<svg ${Kr(n)}>${a}${e}</svg>`},Ur=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),nr=({["data-testid"]:e,svg:i,allyTitle:n,className:a="",size:l=Jr,...r})=>{const t=Qr({content:Ur(i.svg),title:n}),u=Yr(a,G,`${G}--${l}`);return o.jsx("span",{"aria-label":n,className:u,"data-testid":e,dangerouslySetInnerHTML:{__html:t},...r})};function R(){return R=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},R.apply(this,arguments)}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},O.apply(this,arguments)}function re(e,i){typeof e=="function"?e(i):e!=null&&(e.current=i)}function ee(...e){return i=>e.forEach(n=>re(n,i))}const ur=s.forwardRef((e,i)=>{const{children:n,...a}=e,l=s.Children.toArray(n),r=l.find(ne);if(r){const t=r.props.children,u=l.map(v=>v===r?s.Children.count(t)>1?s.Children.only(null):s.isValidElement(t)?t.props.children:null:v);return s.createElement(D,O({},a,{ref:i}),s.isValidElement(t)?s.cloneElement(t,void 0,u):null)}return s.createElement(D,O({},a,{ref:i}),n)});ur.displayName="Slot";const D=s.forwardRef((e,i)=>{const{children:n,...a}=e;return s.isValidElement(n)?s.cloneElement(n,{...ue(a,n.props),ref:i?ee(i,n.ref):n.ref}):s.Children.count(n)>1?s.Children.only(null):null});D.displayName="SlotClone";const te=({children:e})=>s.createElement(s.Fragment,null,e);function ne(e){return s.isValidElement(e)&&e.type===te}function ue(e,i){const n={...i};for(const a in i){const l=e[a],r=i[a];/^on[A-Z]/.test(a)?l&&r?n[a]=(...t)=>{r(...t),l(...t)}:l&&(n[a]=l):a==="style"?n[a]={...l,...r}:a==="className"&&(n[a]=[l,r].filter(Boolean).join(" "))}return{...e,...n}}const ie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ae=ie.reduce((e,i)=>{const n=s.forwardRef((a,l)=>{const{asChild:r,...t}=a,u=r?ur:i;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(u,O({},t,{ref:l}))});return n.displayName=`Primitive.${i}`,{...e,[i]:n}},{}),le=s.forwardRef((e,i)=>s.createElement(ae.label,R({},e,{ref:i,onMouseDown:n=>{var a;(a=e.onMouseDown)===null||a===void 0||a.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),oe=le;function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ir={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ir);var pe=ir.exports;const ce=se(pe),q={"purpur-label":"_purpur-label_12cfi_1","purpur-label--negative":"_purpur-label--negative_12cfi_9","purpur-label--disabled":"_purpur-label--disabled_12cfi_12"},E="purpur-label",de=({children:e,className:i,htmlFor:n,"data-testid":a,disabled:o,negative:r=!1,...t})=>{const u=ce([i,q[E],{[q[`${E}--disabled`]]:o,[q[`${E}--negative`]]:r}]);return l.jsx(le,{className:u,"data-testid":a,htmlFor:n,...t,children:e})};function _e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ar={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ir);var pe=ir.exports;const ce=se(pe),q={"purpur-label":"_purpur-label_12cfi_1","purpur-label--negative":"_purpur-label--negative_12cfi_9","purpur-label--disabled":"_purpur-label--disabled_12cfi_12"},E="purpur-label",de=({children:e,className:i,htmlFor:n,"data-testid":a,disabled:l,negative:r=!1,...t})=>{const u=ce([i,q[E],{[q[`${E}--disabled`]]:l,[q[`${E}--negative`]]:r}]);return o.jsx(oe,{className:u,"data-testid":a,htmlFor:n,...t,children:e})};function _e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ar={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ar);var fe=ar.exports;const H=_e(fe),ve="_rotate_1xozj_1",xe="_dash_1xozj_1",w={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:ve,"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:xe,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},S="purpur-spinner",me={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},ge=({["data-testid"]:e,disabled:i=!1,negative:n=!1,size:a=me.SM,...o})=>l.jsx("div",{className:H([w[S],w[`${S}--${a}`]]),"data-testid":e,...o,children:l.jsx("svg",{viewBox:"0 0 50 50",children:l.jsx("circle",{className:H(w[`${S}__circle`],{[w[`${S}__circle--disabled`]]:i,[w[`${S}__circle--negative`]]:n}),cx:"25",cy:"25",r:"20"})})});function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var or={exports:{}};/*!
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a(u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ar);var fe=ar.exports;const H=_e(fe),ve="_rotate_1xozj_1",xe="_dash_1xozj_1",w={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:ve,"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:xe,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},S="purpur-spinner",me={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},ge=({["data-testid"]:e,disabled:i=!1,negative:n=!1,size:a=me.SM,...l})=>o.jsx("div",{className:H([w[S],w[`${S}--${a}`]]),"data-testid":e,...l,children:o.jsx("svg",{viewBox:"0 0 50 50",children:o.jsx("circle",{className:H(w[`${S}__circle`],{[w[`${S}__circle--disabled`]]:i,[w[`${S}__circle--negative`]]:n}),cx:"25",cy:"25",r:"20"})})});function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lr={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=o(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=o(t,this&&this[u]||u));return t}function o(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(or);var be=or.exports;const he=ye(be),$e={"purpur-text-field":"_purpur-text-field_1er08_1","purpur-text-field__label":"_purpur-text-field__label_1er08_7","purpur-text-field__label-text":"_purpur-text-field__label-text_1er08_13","purpur-text-field__field-row":"_purpur-text-field__field-row_1er08_16","purpur-text-field__frame":"_purpur-text-field__frame_1er08_20","purpur-text-field__input-container":"_purpur-text-field__input-container_1er08_27","purpur-text-field__input-container--disabled":"_purpur-text-field__input-container--disabled_1er08_38","purpur-text-field__input-container--readonly":"_purpur-text-field__input-container--readonly_1er08_41","purpur-text-field__input-container--end-adornment":"_purpur-text-field__input-container--end-adornment_1er08_44","purpur-text-field__input":"_purpur-text-field__input_1er08_27","purpur-text-field__input-container--has-clear-button":"_purpur-text-field__input-container--has-clear-button_1er08_50","purpur-text-field__input-container--start-adornment":"_purpur-text-field__input-container--start-adornment_1er08_53","purpur-text-field__input--valid":"_purpur-text-field__input--valid_1er08_94","purpur-text-field__input--error":"_purpur-text-field__input--error_1er08_94","purpur-text-field__adornment-container":"_purpur-text-field__adornment-container_1er08_106","purpur-text-field__valid-icon":"_purpur-text-field__valid-icon_1er08_111"},je=e=>s.useRef(e),f=he.bind($e),c="purpur-text-field",we=({["data-testid"]:e,className:i,clearButtonAllyLabel:n,afterField:a,endAdornment:o,errorText:r,helperText:t,label:u,loading:v=!1,onClear:x,startAdornment:y,valid:N=!1,...p},g)=>{var V;const z=s.useId(),b=p.id??z,d=_=>e?`${e}-${_}`:void 0,h=N&&!r,M=t?`${b}-helper-text`:void 0,A=[y].filter(_=>!!_),I=(typeof p.value=="number"?p.value!==void 0:(V=p.value)==null?void 0:V.length)&&!p.disabled&&!p.readOnly&&!v&&x&&n,P=je(null),sr=_=>{P.current=_,typeof g=="function"?g(_):g&&(g.current=_)},pr=()=>{var _;x==null||x(),(_=P.current)==null||_.focus()},C=[v&&l.jsx(ge,{disabled:p.disabled,size:"xs","data-testid":d("spinner")},"spinner"),h&&l.jsx(er,{"data-testid":d("valid-icon"),className:f(`${c}__valid-icon`)},"valid-icon"),I&&l.jsx(J,{variant:"tertiary-purple",onClick:pr,iconOnly:!0,"aria-label":n??"","data-testid":d("clear-button"),tabIndex:-1,children:l.jsx(tr,{size:"xs"})},"clear-button"),o].filter(_=>!!_),cr=f([`${c}__input-container`,{[`${c}__input-container--start-adornment`]:A.length,[`${c}__input-container--end-adornment`]:C.length,[`${c}__input-container--disabled`]:p.disabled,[`${c}__input-container--has-clear-button`]:I,[`${c}__input-container--readonly`]:p.readOnly&&!p.disabled}]);return l.jsxs("div",{className:f(i,c),children:[u&&l.jsx(de,{htmlFor:b,className:f(`${c}__label`),"data-testid":d("label"),disabled:p.disabled,children:`${p.required?"* ":""}${u}`}),l.jsxs("div",{className:f(`${c}__field-row`),children:[l.jsxs("div",{className:cr,children:[!!A.length&&l.jsx("div",{"data-testid":d("start-adornments"),className:f(`${c}__adornment-container`),children:A}),l.jsx("input",{...p,id:b,ref:sr,"data-testid":d("input"),"aria-describedby":p["aria-describedby"]||M,"aria-invalid":p["aria-invalid"]||!!r,className:f([`${c}__input`,{[`${c}__input--valid`]:h,[`${c}__input--error`]:!!r}])}),l.jsx("div",{className:f(`${c}__frame`)}),!!C.length&&l.jsx("div",{"data-testid":d("end-adornments"),className:f(`${c}__adornment-container`),children:C})]}),!!a&&a]}),M&&l.jsx(kr,{"data-testid":d("helper-text"),id:M,children:t}),r&&l.jsx(Vr,{"data-testid":d("error-text"),children:r})]})},lr=s.forwardRef(we);lr.displayName="TextField";exports.TextField=lr;
*/(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=l(r,a.call(this,u)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.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)i.call(r,u)&&r[u]&&(t=l(t,this&&this[u]||u));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(lr);var be=lr.exports;const he=ye(be),je={"purpur-text-field":"_purpur-text-field_nj9f4_1","purpur-text-field__label":"_purpur-text-field__label_nj9f4_7","purpur-text-field__label-text":"_purpur-text-field__label-text_nj9f4_13","purpur-text-field__field-row":"_purpur-text-field__field-row_nj9f4_16","purpur-text-field__frame":"_purpur-text-field__frame_nj9f4_20","purpur-text-field__input-container":"_purpur-text-field__input-container_nj9f4_27","purpur-text-field__input-container--disabled":"_purpur-text-field__input-container--disabled_nj9f4_38","purpur-text-field__input-container--readonly":"_purpur-text-field__input-container--readonly_nj9f4_41","purpur-text-field__input-container--has-clear-button":"_purpur-text-field__input-container--has-clear-button_nj9f4_44","purpur-text-field__input-container--end-adornment":"_purpur-text-field__input-container--end-adornment_nj9f4_47","purpur-text-field__input":"_purpur-text-field__input_nj9f4_27","purpur-text-field__input-container--start-adornment":"_purpur-text-field__input-container--start-adornment_nj9f4_53","purpur-text-field__input--valid":"_purpur-text-field__input--valid_nj9f4_94","purpur-text-field__input--error":"_purpur-text-field__input--error_nj9f4_94","purpur-text-field__adornment-container":"_purpur-text-field__adornment-container_nj9f4_106","purpur-text-field__valid-icon":"_purpur-text-field__valid-icon_nj9f4_111"},$e=e=>s.useRef(e),f=he.bind(je),c="purpur-text-field",we=({["data-testid"]:e,className:i,clearButtonAllyLabel:n,afterField:a,endAdornment:l,errorText:r,helperText:t,label:u,loading:v=!1,onClear:x,startAdornment:y,valid:N=!1,...p},g)=>{var V;const z=s.useId(),b=p.id??z,d=_=>e?`${e}-${_}`:void 0,h=N&&!r,M=t?`${b}-helper-text`:void 0,C=[y].filter(_=>!!_),I=(typeof p.value=="number"?p.value!==void 0:(V=p.value)==null?void 0:V.length)&&!p.disabled&&!p.readOnly&&!v&&x&&n,P=$e(null),sr=_=>{P.current=_,typeof g=="function"?g(_):g&&(g.current=_)},pr=()=>{var _;x==null||x(),(_=P.current)==null||_.focus()},A=[v&&o.jsx(ge,{disabled:p.disabled,size:"xs","data-testid":d("spinner")},"spinner"),I&&o.jsx(J,{variant:"tertiary-purple",onClick:pr,iconOnly:!0,"aria-label":n??"","data-testid":d("clear-button"),tabIndex:-1,children:o.jsx(tr,{size:"xs"})},"clear-button"),h&&o.jsx(er,{"data-testid":d("valid-icon"),className:f(`${c}__valid-icon`)},"valid-icon")].filter(_=>!!_),cr=f([`${c}__input-container`,{[`${c}__input-container--start-adornment`]:C.length,[`${c}__input-container--end-adornment`]:A.length||l,[`${c}__input-container--disabled`]:p.disabled,[`${c}__input-container--has-clear-button`]:I,[`${c}__input-container--readonly`]:p.readOnly&&!p.disabled}]);return o.jsxs("div",{className:f(i,c),children:[u&&o.jsx(de,{htmlFor:b,className:f(`${c}__label`),"data-testid":d("label"),disabled:p.disabled,children:`${p.required?"* ":""}${u}`}),o.jsxs("div",{className:f(`${c}__field-row`),children:[o.jsxs("div",{className:cr,children:[!!C.length&&o.jsx("div",{"data-testid":d("start-adornments"),className:f(`${c}__adornment-container`),children:C}),o.jsx("input",{...p,id:b,ref:sr,"data-testid":d("input"),"aria-describedby":p["aria-describedby"]||M,"aria-invalid":p["aria-invalid"]||!!r,className:f([`${c}__input`,{[`${c}__input--valid`]:h,[`${c}__input--error`]:!!r}])}),o.jsx("div",{className:f(`${c}__frame`)}),(!!A.length||l)&&o.jsxs("div",{"data-testid":d("end-adornments"),className:f(`${c}__adornment-container`),children:[A,l]})]}),!!a&&a]}),M&&o.jsx(kr,{"data-testid":d("helper-text"),id:M,children:t}),r&&o.jsx(Vr,{"data-testid":d("error-text"),children:r})]})},or=s.forwardRef(we);or.displayName="TextField";exports.TextField=or;
//# sourceMappingURL=text-field.cjs.js.map

@@ -1,5 +0,5 @@

import { jsxs as O, jsx as p } from "react/jsx-runtime";
import { forwardRef as x, Children as N, isValidElement as A, createElement as z, cloneElement as Q, useEffect as mr, Fragment as gr, useRef as xr, useId as yr } from "react";
import { jsxs as x, jsx as p } from "react/jsx-runtime";
import { forwardRef as y, Children as N, isValidElement as A, createElement as z, cloneElement as Q, useEffect as mr, Fragment as gr, useRef as xr, useId as yr } from "react";
import "react-dom";
const R = {
const X = {
SM: "sm",

@@ -49,3 +49,3 @@ MD: "md",

var hr = U.exports;
const X = /* @__PURE__ */ br(hr), $r = "_rotate_1xozj_1", wr = "_dash_1xozj_1", $ = {
const R = /* @__PURE__ */ br(hr), $r = "_rotate_1xozj_1", jr = "_dash_1xozj_1", j = {
"purpur-spinner": "_purpur-spinner_1xozj_1",

@@ -59,6 +59,6 @@ rotate: $r,

"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
dash: wr,
dash: jr,
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
}, w = "purpur-spinner", jr = {
}, w = "purpur-spinner", wr = {
XXS: "xxs",

@@ -73,3 +73,3 @@ XS: "xs",

negative: n = !1,
size: a = jr.SM,
size: a = wr.SM,
...o

@@ -79,3 +79,3 @@ }) => /* @__PURE__ */ p(

{
className: X([$[w], $[`${w}--${a}`]]),
className: R([j[w], j[`${w}--${a}`]]),
"data-testid": t,

@@ -86,5 +86,5 @@ ...o,

{
className: X($[`${w}__circle`], {
[$[`${w}__circle--disabled`]]: i,
[$[`${w}__circle--negative`]]: n
className: R(j[`${w}__circle`], {
[j[`${w}__circle--disabled`]]: i,
[j[`${w}__circle--negative`]]: n
}),

@@ -169,8 +169,8 @@ cx: "25",

onClick: f,
size: v = R.MD,
variant: y,
size: v = X.MD,
variant: b,
type: C = "button",
...l
}, g) => {
if (r && y === "destructive")
if (r && b === "destructive")
return null;

@@ -180,3 +180,3 @@ const q = Ar(

m,
`${m}--${u ? `${y}-negative` : y}`,
`${m}--${u ? `${b}-negative` : b}`,
`${m}--${v}`

@@ -191,6 +191,6 @@ ],

i
), b = (h) => {
a || e ? h.preventDefault() : f && f(h);
), h = ($) => {
a || e ? $.preventDefault() : f && f($);
}, c = !!l["aria-disabled"] || a || e;
return /* @__PURE__ */ O(
return /* @__PURE__ */ x(
"button",

@@ -203,6 +203,6 @@ {

"aria-disabled": c,
onClick: b,
onClick: h,
...l,
children: [
e && /* @__PURE__ */ p(Sr, { size: v === R.LG ? "xs" : "xxs", negative: u, disabled: c }),
e && /* @__PURE__ */ p(Sr, { size: v === X.LG ? "xs" : "xxs", negative: u, disabled: c }),
" ",

@@ -213,3 +213,3 @@ t

);
}, tr = x(Cr);
}, tr = y(Cr);
tr.displayName = "Button";

@@ -264,3 +264,3 @@ function qr(t) {

"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
}, Lr = {
}, Er = {
name: "error-filled",

@@ -270,3 +270,3 @@ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',

category: "status"
}, Pr = Ir.bind(Br), G = "purpur-icon", Er = "md", Fr = (t) => t.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), kr = ({ content: t = "", title: i } = {}) => {
}, Lr = Ir.bind(Br), G = "purpur-icon", Pr = "md", Fr = (t) => t.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), kr = ({ content: t = "", title: i } = {}) => {
const n = [

@@ -284,3 +284,3 @@ { name: "xmlns", value: "http://www.w3.org/2000/svg" },

className: a = "",
size: o = Er,
size: o = Pr,
...r

@@ -291,3 +291,3 @@ }) => {

title: n
}), u = Pr(a, G, `${G}--${o}`);
}), u = Lr(a, G, `${G}--${o}`);
return /* @__PURE__ */ p(

@@ -304,3 +304,3 @@ "span",

};
function Rr(t) {
function Xr(t) {
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;

@@ -344,4 +344,4 @@ }

})(nr);
var Xr = nr.exports;
const Gr = /* @__PURE__ */ Rr(Xr), T = {
var Rr = nr.exports;
const Gr = /* @__PURE__ */ Xr(Rr), T = {
"purpur-field-error-text": "_purpur-field-error-text_1u768_1",

@@ -355,3 +355,3 @@ "purpur-field-error-text__icon": "_purpur-field-error-text__icon_1u768_12"

...o
}) => /* @__PURE__ */ O(
}) => /* @__PURE__ */ x(
"div",

@@ -365,3 +365,3 @@ {

children: [
/* @__PURE__ */ p(Zr, { svg: Lr, size: "xs", className: T[`${H}__icon`] }),
/* @__PURE__ */ p(Zr, { svg: Er, size: "xs", className: T[`${H}__icon`] }),
i

@@ -536,4 +536,4 @@ ]

};
function E() {
return E = Object.assign ? Object.assign.bind() : function(t) {
function P() {
return P = Object.assign ? Object.assign.bind() : function(t) {
for (var i = 1; i < arguments.length; i++) {

@@ -545,3 +545,3 @@ var n = arguments[i];

return t;
}, E.apply(this, arguments);
}, P.apply(this, arguments);
}

@@ -566,3 +566,3 @@ function M() {

}
const lr = /* @__PURE__ */ x((t, i) => {
const lr = /* @__PURE__ */ y((t, i) => {
const { children: n, ...a } = t, o = N.toArray(n), r = o.find(ct);

@@ -580,3 +580,3 @@ if (r) {

lr.displayName = "Slot";
const F = /* @__PURE__ */ x((t, i) => {
const F = /* @__PURE__ */ y((t, i) => {
const { children: n, ...a } = t;

@@ -632,3 +632,3 @@ return /* @__PURE__ */ A(n) ? /* @__PURE__ */ Q(n, {

], ft = _t.reduce((t, i) => {
const n = /* @__PURE__ */ x((a, o) => {
const n = /* @__PURE__ */ y((a, o) => {
const { asChild: r, ...e } = a, u = r ? lr : i;

@@ -645,3 +645,3 @@ return mr(() => {

};
}, {}), vt = /* @__PURE__ */ x((t, i) => /* @__PURE__ */ z(ft.label, E({}, t, {
}, {}), vt = /* @__PURE__ */ y((t, i) => /* @__PURE__ */ z(ft.label, P({}, t, {
ref: i,

@@ -693,7 +693,7 @@ onMouseDown: (n) => {

var xt = sr.exports;
const yt = /* @__PURE__ */ gt(xt), L = {
const yt = /* @__PURE__ */ gt(xt), E = {
"purpur-label": "_purpur-label_12cfi_1",
"purpur-label--negative": "_purpur-label--negative_12cfi_9",
"purpur-label--disabled": "_purpur-label--disabled_12cfi_12"
}, P = "purpur-label", bt = ({
}, L = "purpur-label", bt = ({
children: t,

@@ -709,6 +709,6 @@ className: i,

i,
L[P],
E[L],
{
[L[`${P}--disabled`]]: o,
[L[`${P}--negative`]]: r
[E[`${L}--disabled`]]: o,
[E[`${L}--negative`]]: r
}

@@ -758,5 +758,5 @@ ]);

var $t = cr.exports;
const K = /* @__PURE__ */ ht($t), wt = "_rotate_1xozj_1", jt = "_dash_1xozj_1", j = {
const K = /* @__PURE__ */ ht($t), jt = "_rotate_1xozj_1", wt = "_dash_1xozj_1", S = {
"purpur-spinner": "_purpur-spinner_1xozj_1",
rotate: wt,
rotate: jt,
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",

@@ -768,6 +768,6 @@ "purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",

"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
dash: jt,
dash: wt,
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
}, S = "purpur-spinner", St = {
}, O = "purpur-spinner", St = {
XXS: "xxs",

@@ -787,3 +787,3 @@ XS: "xs",

{
className: K([j[S], j[`${S}--${a}`]]),
className: K([S[O], S[`${O}--${a}`]]),
"data-testid": t,

@@ -794,5 +794,5 @@ ...o,

{
className: K(j[`${S}__circle`], {
[j[`${S}__circle--disabled`]]: i,
[j[`${S}__circle--negative`]]: n
className: K(S[`${O}__circle`], {
[S[`${O}__circle--disabled`]]: i,
[S[`${O}__circle--negative`]]: n
}),

@@ -847,18 +847,18 @@ cx: "25",

const Mt = /* @__PURE__ */ Nt(zt), At = {
"purpur-text-field": "_purpur-text-field_1er08_1",
"purpur-text-field__label": "_purpur-text-field__label_1er08_7",
"purpur-text-field__label-text": "_purpur-text-field__label-text_1er08_13",
"purpur-text-field__field-row": "_purpur-text-field__field-row_1er08_16",
"purpur-text-field__frame": "_purpur-text-field__frame_1er08_20",
"purpur-text-field__input-container": "_purpur-text-field__input-container_1er08_27",
"purpur-text-field__input-container--disabled": "_purpur-text-field__input-container--disabled_1er08_38",
"purpur-text-field__input-container--readonly": "_purpur-text-field__input-container--readonly_1er08_41",
"purpur-text-field__input-container--end-adornment": "_purpur-text-field__input-container--end-adornment_1er08_44",
"purpur-text-field__input": "_purpur-text-field__input_1er08_27",
"purpur-text-field__input-container--has-clear-button": "_purpur-text-field__input-container--has-clear-button_1er08_50",
"purpur-text-field__input-container--start-adornment": "_purpur-text-field__input-container--start-adornment_1er08_53",
"purpur-text-field__input--valid": "_purpur-text-field__input--valid_1er08_94",
"purpur-text-field__input--error": "_purpur-text-field__input--error_1er08_94",
"purpur-text-field__adornment-container": "_purpur-text-field__adornment-container_1er08_106",
"purpur-text-field__valid-icon": "_purpur-text-field__valid-icon_1er08_111"
"purpur-text-field": "_purpur-text-field_nj9f4_1",
"purpur-text-field__label": "_purpur-text-field__label_nj9f4_7",
"purpur-text-field__label-text": "_purpur-text-field__label-text_nj9f4_13",
"purpur-text-field__field-row": "_purpur-text-field__field-row_nj9f4_16",
"purpur-text-field__frame": "_purpur-text-field__frame_nj9f4_20",
"purpur-text-field__input-container": "_purpur-text-field__input-container_nj9f4_27",
"purpur-text-field__input-container--disabled": "_purpur-text-field__input-container--disabled_nj9f4_38",
"purpur-text-field__input-container--readonly": "_purpur-text-field__input-container--readonly_nj9f4_41",
"purpur-text-field__input-container--has-clear-button": "_purpur-text-field__input-container--has-clear-button_nj9f4_44",
"purpur-text-field__input-container--end-adornment": "_purpur-text-field__input-container--end-adornment_nj9f4_47",
"purpur-text-field__input": "_purpur-text-field__input_nj9f4_27",
"purpur-text-field__input-container--start-adornment": "_purpur-text-field__input-container--start-adornment_nj9f4_53",
"purpur-text-field__input--valid": "_purpur-text-field__input--valid_nj9f4_94",
"purpur-text-field__input--error": "_purpur-text-field__input--error_nj9f4_94",
"purpur-text-field__adornment-container": "_purpur-text-field__adornment-container_nj9f4_106",
"purpur-text-field__valid-icon": "_purpur-text-field__valid-icon_nj9f4_111"
}, Ct = (t) => xr(t), _ = Mt.bind(At), s = "purpur-text-field", qt = ({

@@ -875,3 +875,3 @@ ["data-testid"]: t,

onClear: v,
startAdornment: y,
startAdornment: b,
valid: C = !1,

@@ -881,3 +881,3 @@ ...l

var Z;
const q = yr(), b = l.id ?? q, c = (d) => t ? `${t}-${d}` : void 0, h = C && !r, D = e ? `${b}-helper-text` : void 0, I = [y].filter((d) => !!d), k = (typeof l.value == "number" ? l.value !== void 0 : (Z = l.value) == null ? void 0 : Z.length) && !l.disabled && !l.readOnly && !f && v && n, V = Ct(null), _r = (d) => {
const q = yr(), h = l.id ?? q, c = (d) => t ? `${t}-${d}` : void 0, $ = C && !r, D = e ? `${h}-helper-text` : void 0, I = [b].filter((d) => !!d), k = (typeof l.value == "number" ? l.value !== void 0 : (Z = l.value) == null ? void 0 : Z.length) && !l.disabled && !l.readOnly && !f && v && n, V = Ct(null), _r = (d) => {
V.current = d, typeof g == "function" ? g(d) : g && (g.current = d);

@@ -897,10 +897,2 @@ }, fr = () => {

),
h && /* @__PURE__ */ p(
ar,
{
"data-testid": c("valid-icon"),
className: _(`${s}__valid-icon`)
},
"valid-icon"
),
k && /* @__PURE__ */ p(

@@ -919,3 +911,10 @@ tr,

),
o
$ && /* @__PURE__ */ p(
ar,
{
"data-testid": c("valid-icon"),
className: _(`${s}__valid-icon`)
},
"valid-icon"
)
].filter((d) => !!d), vr = _([

@@ -925,3 +924,3 @@ `${s}__input-container`,

[`${s}__input-container--start-adornment`]: I.length,
[`${s}__input-container--end-adornment`]: B.length,
[`${s}__input-container--end-adornment`]: B.length || o,
[`${s}__input-container--disabled`]: l.disabled,

@@ -932,7 +931,7 @@ [`${s}__input-container--has-clear-button`]: k,

]);
return /* @__PURE__ */ O("div", { className: _(i, s), children: [
return /* @__PURE__ */ x("div", { className: _(i, s), children: [
u && /* @__PURE__ */ p(
bt,
{
htmlFor: b,
htmlFor: h,
className: _(`${s}__label`),

@@ -944,4 +943,4 @@ "data-testid": c("label"),

),
/* @__PURE__ */ O("div", { className: _(`${s}__field-row`), children: [
/* @__PURE__ */ O("div", { className: vr, children: [
/* @__PURE__ */ x("div", { className: _(`${s}__field-row`), children: [
/* @__PURE__ */ x("div", { className: vr, children: [
!!I.length && /* @__PURE__ */ p(

@@ -959,3 +958,3 @@ "div",

...l,
id: b,
id: h,
ref: _r,

@@ -968,3 +967,3 @@ "data-testid": c("input"),

{
[`${s}__input--valid`]: h,
[`${s}__input--valid`]: $,
[`${s}__input--error`]: !!r

@@ -976,3 +975,3 @@ }

/* @__PURE__ */ p("div", { className: _(`${s}__frame`) }),
!!B.length && /* @__PURE__ */ p(
(!!B.length || o) && /* @__PURE__ */ x(
"div",

@@ -982,3 +981,6 @@ {

className: _(`${s}__adornment-container`),
children: B
children: [
B,
o
]
}

@@ -992,3 +994,3 @@ )

] });
}, Dt = x(qt);
}, Dt = y(qt);
Dt.displayName = "TextField";

@@ -995,0 +997,0 @@ export {

{
"name": "@purpurds/text-field",
"version": "5.7.0",
"version": "5.8.0",
"license": "AGPL-3.0-only",

@@ -18,9 +18,9 @@ "main": "./dist/text-field.cjs.js",

"classnames": "~2.5.0",
"@purpurds/button": "5.7.0",
"@purpurds/field-error-text": "5.7.0",
"@purpurds/icon": "5.7.0",
"@purpurds/field-helper-text": "5.7.0",
"@purpurds/tokens": "5.7.0",
"@purpurds/label": "5.7.0",
"@purpurds/spinner": "5.7.0"
"@purpurds/button": "5.8.0",
"@purpurds/field-helper-text": "5.8.0",
"@purpurds/label": "5.8.0",
"@purpurds/field-error-text": "5.8.0",
"@purpurds/spinner": "5.8.0",
"@purpurds/icon": "5.8.0",
"@purpurds/tokens": "5.8.0"
},

@@ -27,0 +27,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc