@purpurds/text-area 8.2.2 → 8.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +3 -10
- package/dist/text-area.cjs.js +6 -6
- package/dist/text-area.cjs.js.map +1 -1
- package/dist/text-area.es.js +188 -193
- package/dist/text-area.es.js.map +1 -1
- package/package.json +8 -8
package/dist/LICENSE.txt
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
Name: @purpurds/field-error-text
|
|
2
|
-
Version: 8.2.
|
|
2
|
+
Version: 8.2.3
|
|
3
3
|
License: AGPL-3.0-only
|
|
4
4
|
Private: false
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Name: @purpurds/field-helper-text
|
|
9
|
-
Version: 8.2.
|
|
9
|
+
Version: 8.2.3
|
|
10
10
|
License: AGPL-3.0-only
|
|
11
11
|
Private: false
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Name: @purpurds/label
|
|
16
|
-
Version: 8.2.
|
|
17
|
-
License: AGPL-3.0-only
|
|
18
|
-
Private: false
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
Name: @purpurds/theme
|
|
23
|
-
Version: 8.2.1
|
|
16
|
+
Version: 8.2.3
|
|
24
17
|
License: AGPL-3.0-only
|
|
25
18
|
Private: false
|
|
26
19
|
|
package/dist/text-area.cjs.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),D=require("react");require("react-dom");const W=require("@purpurds/theme");function z(r){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(a,n,i.get?i:{enumerable:!0,get:()=>r[n]})}}return a.default=r,Object.freeze(a)}const s=z(D);function F(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var $={exports:{}};/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/var
|
|
5
|
+
*/var j;function T(){return j||(j=1,(function(r){(function(){var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=u(e,i.call(this,o)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return this&&this[e]||e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)a.call(e,o)&&e[o]&&(t=u(t,this&&this[o]||o));return t}function u(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})($)),$.exports}var k=T();const L=F(k),H={"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"},G=L.bind(H),w="purpur-icon",J="md",K=r=>r.filter(a=>Object.keys(a).length>=1).map(a=>`${a.name}="${a.value}"`).join(" "),Q=({content:r="",title:a}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},a?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],i=a?`<title>${a}</title>`:"";return`<svg ${K(n)}>${i}${r}</svg>`},U=r=>r.replace(/<(\/?)svg([^>]*)>/g,"").trim(),E=({svg:r,allyTitle:a,className:n,size:i=J,...u})=>{const e=Q({content:U(r.svg),title:a}),t=G(n,w,`${w}--${i}`);return l.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:e},...u})};E.displayName="Icon";const X={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"};function Y(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var q={exports:{}};/*!
|
|
6
6
|
Copyright (c) 2018 Jed Watson.
|
|
7
7
|
Licensed under the MIT License (MIT), see
|
|
8
8
|
http://jedwatson.github.io/classnames
|
|
9
|
-
*/var
|
|
9
|
+
*/var S;function ee(){return S||(S=1,(function(r){(function(){var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=u(e,i.call(this,o)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return this&&this[e]||e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)a.call(e,o)&&e[o]&&(t=u(t,this&&this[o]||o));return t}function u(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(q)),q.exports}var re=ee();const te=Y(re),ne={"purpur-field-error-text":"_purpur-field-error-text_u1cy2_1","purpur-field-error-text--negative":"_purpur-field-error-text--negative_u1cy2_11","purpur-field-error-text__icon":"_purpur-field-error-text__icon_u1cy2_14"},O=te.bind(ne),v="purpur-field-error-text",ae=({children:r,className:a,negative:n=!1,["aria-relevant"]:i="additions text",...u})=>l.jsxs("div",{className:O(a,v,{[`${v}--negative`]:n}),"aria-live":"assertive","aria-relevant":i,...u,children:[l.jsx(E,{svg:X,size:"xs",className:O(`${v}__icon`)}),r]});function ie(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var N={exports:{}};/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
|
-
*/var
|
|
13
|
+
*/var P;function ue(){return P||(P=1,(function(r){(function(){var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=u(e,i.call(this,o)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return this&&this[e]||e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)a.call(e,o)&&e[o]&&(t=u(t,this&&this[o]||o));return t}function u(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(N)),N.exports}var oe=ue();const le=ie(oe),se={"purpur-field-helper-text":"_purpur-field-helper-text_11nsh_1","purpur-field-helper-text--disabled":"_purpur-field-helper-text--disabled_11nsh_9","purpur-field-helper-text--negative":"_purpur-field-helper-text--negative_11nsh_12"},pe=le.bind(se),h="purpur-field-helper-text",ce=({children:r,className:a,disabled:n,id:i,negative:u,...e})=>{const t=pe(a,h,{[`${h}--disabled`]:n,[`${h}--negative`]:u});return l.jsx("span",{id:i,className:t,...e,children:r})};function A(r,a){if(typeof r=="function")return r(a);r!=null&&(r.current=a)}function de(...r){return a=>{let n=!1;const i=r.map(u=>{const e=A(u,a);return!n&&typeof e=="function"&&(n=!0),e});if(n)return()=>{for(let u=0;u<i.length;u++){const e=i[u];typeof e=="function"?e():A(r[u],null)}}}}function fe(r){const a=_e(r),n=s.forwardRef((i,u)=>{const{children:e,...t}=i,o=s.Children.toArray(e),p=o.find(ve);if(p){const d=p.props.children,_=o.map(f=>f===p?s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null:f);return l.jsx(a,{...t,ref:u,children:s.isValidElement(d)?s.cloneElement(d,void 0,_):null})}return l.jsx(a,{...t,ref:u,children:e})});return n.displayName=`${r}.Slot`,n}function _e(r){const a=s.forwardRef((n,i)=>{const{children:u,...e}=n;if(s.isValidElement(u)){const t=me(u),o=he(e,u.props);return u.type!==s.Fragment&&(o.ref=i?de(i,t):t),s.cloneElement(u,o)}return s.Children.count(u)>1?s.Children.only(null):null});return a.displayName=`${r}.SlotClone`,a}var xe=Symbol("radix.slottable");function ve(r){return s.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===xe}function he(r,a){const n={...a};for(const i in a){const u=r[i],e=a[i];/^on[A-Z]/.test(i)?u&&e?n[i]=(...t)=>{const o=e(...t);return u(...t),o}:u&&(n[i]=u):i==="style"?n[i]={...u,...e}:i==="className"&&(n[i]=[u,e].filter(Boolean).join(" "))}return{...r,...n}}function me(r){var a,n;let i=(a=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:a.get,u=i&&"isReactWarning"in i&&i.isReactWarning;return u?r.ref:(i=(n=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:n.get,u=i&&"isReactWarning"in i&&i.isReactWarning,u?r.props.ref:r.props.ref||r.ref)}var ye=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ge=ye.reduce((r,a)=>{const n=fe(`Primitive.${a}`),i=s.forwardRef((u,e)=>{const{asChild:t,...o}=u,p=t?n:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(p,{...o,ref:e})});return i.displayName=`Primitive.${a}`,{...r,[a]:i}},{}),be="Label",B=s.forwardRef((r,a)=>l.jsx(ge.label,{...r,ref:a,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=r.onMouseDown)==null||i.call(r,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));B.displayName=be;var $e=B;function je(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var C={exports:{}};/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
17
|
-
*/var M;function we(){return M||(M=1,function(r){(function(){var a={}.hasOwnProperty;function
|
|
17
|
+
*/var M;function we(){return M||(M=1,(function(r){(function(){var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=u(e,i.call(this,o)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return this&&this[e]||e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)a.call(e,o)&&e[o]&&(t=u(t,this&&this[o]||o));return t}function u(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(C)),C.exports}var qe=we();const Se=je(qe),Oe={"purpur-label":"_purpur-label_1x80u_1","purpur-label--negative":"_purpur-label--negative_1x80u_8","purpur-label--disabled":"_purpur-label--disabled_1x80u_11"},Ne=Se.bind(Oe),m="purpur-label",Pe=({children:r,className:a,disabled:n,negative:i=!1,...u})=>{const e=Ne(a,m,{[`${m}--disabled`]:n,[`${m}--negative`]:i});return l.jsx($e,{className:e,...u,children:r})};function Ae(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var y={exports:{}};/*!
|
|
18
18
|
Copyright (c) 2018 Jed Watson.
|
|
19
19
|
Licensed under the MIT License (MIT), see
|
|
20
20
|
http://jedwatson.github.io/classnames
|
|
21
|
-
*/var R;function
|
|
21
|
+
*/var R;function Ce(){return R||(R=1,(function(r){(function(){var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=u(e,i.call(this,o)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return this&&this[e]||e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)a.call(e,o)&&e[o]&&(t=u(t,this&&this[o]||o));return t}function u(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(y)),y.exports}var Me=Ce();const Re=Ae(Me),b={"purpur-text-area":"_purpur-text-area_1qqf0_1","purpur-text-area__label":"_purpur-text-area__label_1qqf0_8","purpur-text-area__label-text":"_purpur-text-area__label-text_1qqf0_13","purpur-text-area__frame":"_purpur-text-area__frame_1qqf0_16","purpur-text-area__textarea-container":"_purpur-text-area__textarea-container_1qqf0_23","purpur-text-area__textarea-container--disabled":"_purpur-text-area__textarea-container--disabled_1qqf0_33","purpur-text-area__textarea-container--readonly":"_purpur-text-area__textarea-container--readonly_1qqf0_36","purpur-text-area__textarea":"_purpur-text-area__textarea_1qqf0_23","purpur-text-area__textarea--light":"_purpur-text-area__textarea--light_1qqf0_52","purpur-text-area__textarea--dark":"_purpur-text-area__textarea--dark_1qqf0_60","purpur-text-area__textarea--valid":"_purpur-text-area__textarea--valid_1qqf0_91","purpur-text-area__textarea--error":"_purpur-text-area__textarea--error_1qqf0_91"},g=Re.bind(b),c="purpur-text-area",V=D.forwardRef(({id:r,["data-testid"]:a,className:n,errorText:i,helperText:u,label:e,rows:t=3,cols:o=90,...p},d)=>{const[_]=W.useColorScheme(),f=Z=>a?`${a}-${Z}`:void 0,x=u?`${r}-helper-text`:void 0,I=g(`${c}__textarea-container`,{[`${c}__textarea-container--disabled`]:p.disabled,[`${c}__textarea-container--readonly`]:p.readOnly&&!p.disabled});return l.jsxs("div",{className:g(n,c),"data-testid":a,children:[e&&l.jsxs(Pe,{htmlFor:r,disabled:p.disabled,className:b[`${c}__label`],"data-testid":f("label"),children:[p.required&&l.jsx("span",{"aria-hidden":!0,children:"*"}),e]}),l.jsxs("div",{className:I,children:[l.jsx("textarea",{...p,ref:d,id:r,"data-testid":f("textarea"),"aria-describedby":p["aria-describedby"]||x,"aria-invalid":p["aria-invalid"]||!!i,className:g(`${c}__textarea`,`${c}__textarea--${_}`,{[`${c}__textarea--error`]:!!i}),rows:t,cols:o}),l.jsx("div",{className:b[`${c}__frame`]})]}),x&&l.jsx(ce,{"data-testid":f("helper-text"),id:x,children:u}),i&&l.jsx(ae,{"data-testid":f("error-text"),children:i})]})});V.displayName="TextArea";exports.TextArea=V;
|
|
22
22
|
//# sourceMappingURL=text-area.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.cjs.js","sources":["../../field-error-text/dist/field-error-text.es.js","../../field-helper-text/dist/field-helper-text.es.js","../../label/dist/label.es.js","../../../libraries/theme/dist/theme.es.js","../../../common/temp/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/bind.js","../src/text-area.tsx"],"sourcesContent":["import { jsx as _, jsxs as x } from \"react/jsx-runtime\";\nfunction g(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar p = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar c;\nfunction h() {\n return c || (c = 1, function(e) {\n (function() {\n var i = {}.hasOwnProperty;\n function n() {\n for (var r = \"\", t = 0; t < arguments.length; t++) {\n var o = arguments[t];\n o && (r = s(r, u.call(this, o)));\n }\n return r;\n }\n function u(r) {\n if (typeof r == \"string\" || typeof r == \"number\")\n return this && this[r] || r;\n if (typeof r != \"object\")\n return \"\";\n if (Array.isArray(r))\n return n.apply(this, r);\n if (r.toString !== Object.prototype.toString && !r.toString.toString().includes(\"[native code]\"))\n return r.toString();\n var t = \"\";\n for (var o in r)\n i.call(r, o) && r[o] && (t = s(t, this && this[o] || o));\n return t;\n }\n function s(r, t) {\n return t ? r ? r + \" \" + t : r + t : r;\n }\n e.exports ? (n.default = n, e.exports = n) : window.classNames = n;\n })();\n }(p)), p.exports;\n}\nvar y = h();\nconst w = /* @__PURE__ */ g(y), b = {\n \"purpur-icon\": \"_purpur-icon_8u1lq_1\",\n \"purpur-icon--xxs\": \"_purpur-icon--xxs_8u1lq_4\",\n \"purpur-icon--xs\": \"_purpur-icon--xs_8u1lq_8\",\n \"purpur-icon--sm\": \"_purpur-icon--sm_8u1lq_12\",\n \"purpur-icon--md\": \"_purpur-icon--md_8u1lq_16\",\n \"purpur-icon--lg\": \"_purpur-icon--lg_8u1lq_20\",\n \"purpur-icon--xl\": \"_purpur-icon--xl_8u1lq_24\"\n}, S = w.bind(b), f = \"purpur-icon\", j = \"md\", $ = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}=\"${i.value}\"`).join(\" \"), O = ({ content: e = \"\", title: i } = {}) => {\n const n = [\n { name: \"xmlns\", value: \"http://www.w3.org/2000/svg\" },\n { name: \"fill\", value: \"currentColor\" },\n { name: \"viewBox\", value: \"0 0 24 24\" },\n i ? { name: \"role\", value: \"img\" } : { name: \"aria-hidden\", value: \"true\" }\n ], u = i ? `<title>${i}</title>` : \"\";\n return `<svg ${$(n)}>${u}${e}</svg>`;\n}, q = (e) => e.replace(/<(\\/?)svg([^>]*)>/g, \"\").trim(), m = ({ svg: e, allyTitle: i, className: n, size: u = j, ...s }) => {\n const r = O({\n content: q(e.svg),\n title: i\n }), t = S(n, f, `${f}--${u}`);\n return /* @__PURE__ */ _(\"span\", { className: t, dangerouslySetInnerHTML: { __html: r }, ...s });\n};\nm.displayName = \"Icon\";\nconst N = {\n name: \"error-filled\",\n 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>',\n keywords: [\"error-filled\"],\n category: \"status\"\n};\nfunction A(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar l = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar d;\nfunction B() {\n return d || (d = 1, function(e) {\n (function() {\n var i = {}.hasOwnProperty;\n function n() {\n for (var r = \"\", t = 0; t < arguments.length; t++) {\n var o = arguments[t];\n o && (r = s(r, u.call(this, o)));\n }\n return r;\n }\n function u(r) {\n if (typeof r == \"string\" || typeof r == \"number\")\n return this && this[r] || r;\n if (typeof r != \"object\")\n return \"\";\n if (Array.isArray(r))\n return n.apply(this, r);\n if (r.toString !== Object.prototype.toString && !r.toString.toString().includes(\"[native code]\"))\n return r.toString();\n var t = \"\";\n for (var o in r)\n i.call(r, o) && r[o] && (t = s(t, this && this[o] || o));\n return t;\n }\n function s(r, t) {\n return t ? r ? r + \" \" + t : r + t : r;\n }\n e.exports ? (n.default = n, e.exports = n) : window.classNames = n;\n })();\n }(l)), l.exports;\n}\nvar M = B();\nconst P = /* @__PURE__ */ A(M), C = {\n \"purpur-field-error-text\": \"_purpur-field-error-text_u1cy2_1\",\n \"purpur-field-error-text--negative\": \"_purpur-field-error-text--negative_u1cy2_11\",\n \"purpur-field-error-text__icon\": \"_purpur-field-error-text__icon_u1cy2_14\"\n}, v = P.bind(C), T = [\n \"additions text\",\n \"additions\",\n \"removals\",\n \"text\",\n \"all\"\n], a = \"purpur-field-error-text\", Z = ({\n children: e,\n className: i,\n negative: n = !1,\n [\"aria-relevant\"]: u = \"additions text\",\n ...s\n}) => /* @__PURE__ */ x(\n \"div\",\n {\n className: v(i, a, {\n [`${a}--negative`]: n\n }),\n \"aria-live\": \"assertive\",\n \"aria-relevant\": u,\n ...s,\n children: [\n /* @__PURE__ */ _(m, { svg: N, size: \"xs\", className: v(`${a}__icon`) }),\n e\n ]\n }\n);\nexport {\n Z as FieldErrorText,\n T as ariaRelevantValues\n};\n//# sourceMappingURL=field-error-text.es.js.map\n","import { jsx as a } from \"react/jsx-runtime\";\nfunction c(r) {\n return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, \"default\") ? r.default : r;\n}\nvar u = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar f;\nfunction d() {\n return f || (f = 1, function(r) {\n (function() {\n var p = {}.hasOwnProperty;\n function n() {\n for (var t = \"\", e = 0; e < arguments.length; e++) {\n var s = arguments[e];\n s && (t = i(t, o.call(this, s)));\n }\n return t;\n }\n function o(t) {\n if (typeof t == \"string\" || typeof t == \"number\")\n return this && this[t] || t;\n if (typeof t != \"object\")\n return \"\";\n if (Array.isArray(t))\n return n.apply(this, t);\n if (t.toString !== Object.prototype.toString && !t.toString.toString().includes(\"[native code]\"))\n return t.toString();\n var e = \"\";\n for (var s in t)\n p.call(t, s) && t[s] && (e = i(e, this && this[s] || s));\n return e;\n }\n function i(t, e) {\n return e ? t ? t + \" \" + e : t + e : t;\n }\n r.exports ? (n.default = n, r.exports = n) : window.classNames = n;\n })();\n }(u)), u.exports;\n}\nvar h = d();\nconst x = /* @__PURE__ */ c(h), _ = {\n \"purpur-field-helper-text\": \"_purpur-field-helper-text_11nsh_1\",\n \"purpur-field-helper-text--disabled\": \"_purpur-field-helper-text--disabled_11nsh_9\",\n \"purpur-field-helper-text--negative\": \"_purpur-field-helper-text--negative_11nsh_12\"\n}, b = x.bind(_), l = \"purpur-field-helper-text\", m = ({\n children: r,\n className: p,\n disabled: n,\n id: o,\n negative: i,\n ...t\n}) => {\n const e = b(p, l, {\n [`${l}--disabled`]: n,\n [`${l}--negative`]: i\n });\n return /* @__PURE__ */ a(\"span\", { id: o, className: e, ...t, children: r });\n};\nexport {\n m as FieldHelperText\n};\n//# sourceMappingURL=field-helper-text.es.js.map\n","import { jsx as u, Fragment as v } from \"react/jsx-runtime\";\nimport * as s from \"react\";\nimport \"react-dom\";\nfunction m(e, n) {\n if (typeof e == \"function\")\n return e(n);\n e != null && (e.current = n);\n}\nfunction g(...e) {\n return (n) => {\n let r = !1;\n const o = e.map((i) => {\n const t = m(i, n);\n return !r && typeof t == \"function\" && (r = !0), t;\n });\n if (r)\n return () => {\n for (let i = 0; i < o.length; i++) {\n const t = o[i];\n typeof t == \"function\" ? t() : m(e[i], null);\n }\n };\n };\n}\nvar y = s.forwardRef((e, n) => {\n const { children: r, ...o } = e, i = s.Children.toArray(r), t = i.find(N);\n if (t) {\n const l = t.props.children, a = i.map((d) => d === t ? s.Children.count(l) > 1 ? s.Children.only(null) : s.isValidElement(l) ? l.props.children : null : d);\n return /* @__PURE__ */ u(p, { ...o, ref: n, children: s.isValidElement(l) ? s.cloneElement(l, void 0, a) : null });\n }\n return /* @__PURE__ */ u(p, { ...o, ref: n, children: r });\n});\ny.displayName = \"Slot\";\nvar p = s.forwardRef((e, n) => {\n const { children: r, ...o } = e;\n if (s.isValidElement(r)) {\n const i = S(r), t = R(o, r.props);\n return r.type !== s.Fragment && (t.ref = n ? g(n, i) : i), s.cloneElement(r, t);\n }\n return s.Children.count(r) > 1 ? s.Children.only(null) : null;\n});\np.displayName = \"SlotClone\";\nvar w = ({ children: e }) => /* @__PURE__ */ u(v, { children: e });\nfunction N(e) {\n return s.isValidElement(e) && e.type === w;\n}\nfunction R(e, n) {\n const r = { ...n };\n for (const o in n) {\n const i = e[o], t = n[o];\n /^on[A-Z]/.test(o) ? i && t ? r[o] = (...a) => {\n t(...a), i(...a);\n } : i && (r[o] = i) : o === \"style\" ? r[o] = { ...i, ...t } : o === \"className\" && (r[o] = [i, t].filter(Boolean).join(\" \"));\n }\n return { ...e, ...r };\n}\nfunction S(e) {\n var o, i;\n let n = (o = Object.getOwnPropertyDescriptor(e.props, \"ref\")) == null ? void 0 : o.get, r = n && \"isReactWarning\" in n && n.isReactWarning;\n return r ? e.ref : (n = (i = Object.getOwnPropertyDescriptor(e, \"ref\")) == null ? void 0 : i.get, r = n && \"isReactWarning\" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);\n}\nvar C = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n], E = C.reduce((e, n) => {\n const r = s.forwardRef((o, i) => {\n const { asChild: t, ...l } = o, a = t ? y : n;\n return typeof window < \"u\" && (window[Symbol.for(\"radix-ui\")] = !0), /* @__PURE__ */ u(a, { ...l, ref: i });\n });\n return r.displayName = `Primitive.${n}`, { ...e, [n]: r };\n}, {}), x = \"Label\", h = s.forwardRef((e, n) => /* @__PURE__ */ u(\n E.label,\n {\n ...e,\n ref: n,\n onMouseDown: (r) => {\n var i;\n r.target.closest(\"button, input, select, textarea\") || ((i = e.onMouseDown) == null || i.call(e, r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());\n }\n }\n));\nh.displayName = x;\nvar P = h;\nfunction _(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar f = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar b;\nfunction O() {\n return b || (b = 1, function(e) {\n (function() {\n var n = {}.hasOwnProperty;\n function r() {\n for (var t = \"\", l = 0; l < arguments.length; l++) {\n var a = arguments[l];\n a && (t = i(t, o.call(this, a)));\n }\n return t;\n }\n function o(t) {\n if (typeof t == \"string\" || typeof t == \"number\")\n return this && this[t] || t;\n if (typeof t != \"object\")\n return \"\";\n if (Array.isArray(t))\n return r.apply(this, t);\n if (t.toString !== Object.prototype.toString && !t.toString.toString().includes(\"[native code]\"))\n return t.toString();\n var l = \"\";\n for (var a in t)\n n.call(t, a) && t[a] && (l = i(l, this && this[a] || a));\n return l;\n }\n function i(t, l) {\n return l ? t ? t + \" \" + l : t + l : t;\n }\n e.exports ? (r.default = r, e.exports = r) : window.classNames = r;\n })();\n }(f)), f.exports;\n}\nvar j = O();\nconst D = /* @__PURE__ */ _(j), V = {\n \"purpur-label\": \"_purpur-label_1x80u_1\",\n \"purpur-label--negative\": \"_purpur-label--negative_1x80u_8\",\n \"purpur-label--disabled\": \"_purpur-label--disabled_1x80u_11\"\n}, A = D.bind(V), c = \"purpur-label\", $ = ({\n children: e,\n className: n,\n disabled: r,\n negative: o = !1,\n ...i\n}) => {\n const t = A(n, c, {\n [`${c}--disabled`]: r,\n [`${c}--negative`]: o\n });\n return /* @__PURE__ */ u(P, { className: t, ...i, children: e });\n};\nexport {\n $ as Label\n};\n//# sourceMappingURL=label.es.js.map\n","import { jsx as g } from \"react/jsx-runtime\";\nimport { useEffect as v, createContext as m, useState as d, useMemo as C, useContext as N } from \"react\";\nconst y = {\n colorBrandDeepPurple: \"var(--purpur-color-purple-100)\",\n colorBrandCorePurple: \"var(--purpur-color-purple-400)\",\n colorBrandLightPurple: \"var(--purpur-color-purple-900)\",\n colorBrandDeepBeige: \"var(--purpur-color-beige-100)\",\n colorBrandBeige: \"var(--purpur-color-beige-700)\",\n colorBrandLightBeige: \"var(--purpur-color-beige-800)\",\n colorBrandOffBlack: \"var(--purpur-color-functional-white)\",\n colorBrandWhite: \"var(--purpur-color-gray-900)\",\n colorTextDefault: \"var(--purpur-color-transparent-white-950)\",\n colorTextMedium: \"var(--purpur-color-transparent-white-700)\",\n colorTextWeak: \"var(--purpur-color-transparent-white-400)\",\n colorTextDefaultNegative: \"var(--purpur-color-transparent-black-800)\",\n colorTextMediumNegative: \"var(--purpur-color-transparent-black-500)\",\n colorTextWeakNegative: \"var(--purpur-color-transparent-black-400)\",\n colorTextInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorTextInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorTextInteractivePrimaryActive: \"var(--purpur-color-purple-300)\",\n colorTextInteractiveOnPrimary: \"var(--purpur-color-purple-800)\",\n colorTextInteractiveOnExpressive: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveHover: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnExpressiveActive: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnDestructive: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveSelected: \"var(--purpur-color-purple-300)\",\n colorTextInteractivePrimaryNegative: \"var(--purpur-color-purple-700)\",\n colorTextInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-800)\",\n colorTextInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnPrimaryNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveHoverNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveActiveNegative: \"var(--purpur-color-functional-white)\",\n colorTextStatusInfoMedium: \"var(--purpur-color-blue-400)\",\n colorTextStatusInfoStrong: \"var(--purpur-color-blue-200)\",\n colorTextStatusSuccessMedium: \"var(--purpur-color-green-400)\",\n colorTextStatusSuccessStrong: \"var(--purpur-color-green-200)\",\n colorTextStatusWarningMedium: \"var(--purpur-color-orange-300)\",\n colorTextStatusWarningStrong: \"var(--purpur-color-orange-200)\",\n colorTextStatusErrorMedium: \"var(--purpur-color-red-400)\",\n colorTextStatusErrorStrong: \"var(--purpur-color-red-200)\",\n colorTextStatusNeutral: \"var(--purpur-color-functional-white)\",\n colorTextStatusSpecial: \"var(--purpur-color-functional-white)\",\n colorTextStatusAttention: \"var(--purpur-color-purple-800)\",\n colorTextStatusDiscount: \"var(--purpur-color-purple-300)\",\n colorTextStatusBlackFriday: \"var(--purpur-color-gray-900)\",\n colorTextStatusSuccessStrongNegative: \"var(--purpur-color-green-700)\",\n colorTextStatusErrorMediumNegative: \"var(--purpur-color-red-500)\",\n colorTextStatusErrorStrongNegative: \"var(--purpur-color-red-700)\",\n colorTextStatusWarningMediumNegative: \"var(--purpur-color-orange-500)\",\n colorTextToneOnTonePrimary: \"var(--purpur-color-purple-900)\",\n colorTextToneOnToneSecondary: \"var(--purpur-color-purple-100)\",\n colorTextToneOnToneTertiary: \"var(--purpur-color-functional-white)\",\n colorBackgroundPrimary: \"var(--purpur-color-gray-950)\",\n colorBackgroundSecondary: \"var(--purpur-color-gray-900)\",\n colorBackgroundOnImage: \"var(--purpur-color-transparent-black-700)\",\n colorBackgroundPrimaryNegative: \"var(--purpur-color-functional-white)\",\n colorBackgroundSecondaryNegative: \"var(--purpur-color-gray-50)\",\n colorBackgroundOnImageNegative: \"var(--purpur-color-transparent-white-850)\",\n colorBackgroundInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorBackgroundInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorBackgroundInteractivePrimaryActive: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveExpressive: \"var(--purpur-color-purple-550)\",\n colorBackgroundInteractiveExpressiveHover: \"var(--purpur-color-purple-400)\",\n colorBackgroundInteractiveExpressiveActive: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveTransparentHover: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractiveTransparentActive: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractiveDisabled: \"var(--purpur-color-transparent-white-100)\",\n colorBackgroundInteractiveReadOnly: \"var(--purpur-color-transparent-white-50)\",\n colorBackgroundInteractiveInactive: \"var(--purpur-color-transparent-white-150)\",\n colorBackgroundInteractiveDestructive: \"var(--purpur-color-red-500)\",\n colorBackgroundInteractiveDestructiveHover: \"var(--purpur-color-red-600)\",\n colorBackgroundInteractiveDestructiveActive: \"var(--purpur-color-red-700)\",\n colorBackgroundInteractiveAutoFill: \"var(--purpur-color-blue-800)\",\n colorBackgroundInteractivePrimaryNegative: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-600)\",\n colorBackgroundInteractiveExpressiveNegative: \"var(--purpur-color-purple-550)\",\n colorBackgroundInteractiveExpressiveHoverNegative: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractiveExpressiveActiveNegative: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractiveTransparentHoverNegative: \"var(--purpur-color-purple-200)\",\n colorBackgroundInteractiveTransparentActiveNegative: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveDisabledNegative: \"var(--purpur-color-transparent-black-100)\",\n colorBackgroundInteractiveInactiveNegative: \"var(--purpur-color-transparent-black-50)\",\n colorBackgroundInteractiveReadOnlyNegative: \"var(--purpur-color-transparent-black-50)\",\n colorBackgroundStatusInfoMedium: \"var(--purpur-color-blue-800)\",\n colorBackgroundStatusInfoStrong: \"var(--purpur-color-blue-300)\",\n colorBackgroundStatusSuccessMedium: \"var(--purpur-color-green-800)\",\n colorBackgroundStatusSuccessStrong: \"var(--purpur-color-green-300)\",\n colorBackgroundStatusWarningMedium: \"var(--purpur-color-orange-800)\",\n colorBackgroundStatusWarningStrong: \"var(--purpur-color-orange-300)\",\n colorBackgroundStatusErrorMedium: \"var(--purpur-color-red-800)\",\n colorBackgroundStatusErrorStrong: \"var(--purpur-color-red-300)\",\n colorBackgroundStatusNeutral: \"var(--purpur-color-gray-800)\",\n colorBackgroundStatusSpecial: \"var(--purpur-color-purple-700)\",\n colorBackgroundStatusAttention: \"var(--purpur-color-purple-100)\",\n colorBackgroundStatusBlackFriday: \"var(--purpur-color-functional-white)\",\n colorBackgroundStatusSuccessStrongNegative: \"var(--purpur-color-green-400)\",\n colorBackgroundStatusWarningStrongNegative: \"var(--purpur-color-orange-300)\",\n colorBackgroundStatusErrorStrongNegative: \"var(--purpur-color-red-400)\",\n colorBackgroundToneOnTonePrimary: \"var(--purpur-color-purple-100)\",\n colorBackgroundToneOnToneSecondary: \"var(--purpur-color-purple-900)\",\n colorBackgroundToneOnToneTertiary: \"var(--purpur-color-beige-700)\",\n colorBackgroundToneOnToneQuaternary: \"var(--purpur-color-beige-800)\",\n colorBorderWeak: \"var(--purpur-color-transparent-white-150)\",\n colorBorderMedium: \"var(--purpur-color-transparent-white-300)\",\n colorBorderStrong: \"var(--purpur-color-transparent-white-500)\",\n colorBorderWeakNegative: \"var(--purpur-color-transparent-black-150)\",\n colorBorderMediumNegative: \"var(--purpur-color-transparent-black-300)\",\n colorBorderStrongNegative: \"var(--purpur-color-transparent-black-500)\",\n colorBorderInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorBorderInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorBorderInteractivePrimaryActive: \"var(--purpur-color-purple-200)\",\n colorBorderInteractiveFocus: \"var(--purpur-color-purple-400)\",\n colorBorderInteractiveExpressive: \"var(--purpur-color-purple-550)\",\n colorBorderInteractiveSubtle: \"var(--purpur-color-transparent-white-400)\",\n colorBorderInteractiveSubtleHover: \"var(--purpur-color-purple-200)\",\n colorBorderInteractiveSelected: \"var(--purpur-color-purple-300)\",\n colorBorderInteractivePrimaryNegative: \"var(--purpur-color-purple-700)\",\n colorBorderInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-800)\",\n colorBorderInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-900)\",\n colorBorderInteractiveSubtleNegative: \"var(--purpur-color-transparent-black-400)\",\n colorBorderInteractiveSubtleHoverNegative: \"var(--purpur-color-purple-700)\",\n colorBorderStatusError: \"var(--purpur-color-red-400)\",\n colorBorderStatusWarning: \"var(--purpur-color-orange-300)\",\n colorBorderStatusInfo: \"var(--purpur-color-blue-400)\",\n colorBorderStatusSuccess: \"var(--purpur-color-green-400)\",\n colorBorderStatusErrorNegative: \"var(--purpur-color-red-500)\",\n colorBorderStatusSuccessNegative: \"var(--purpur-color-green-500)\"\n}, P = \"#29003e\", b = \"#990ae3\", E = \"#f4e0ff\", h = \"#4f4741\", O = \"#ede1d8\", A = \"#f9f1ec\", H = \"#1e1e20\", M = \"#ffffff\", w = \"rgba(0, 0, 0, 0.84)\", W = \"rgba(0, 0, 0, 0.62)\", D = \"rgba(0, 0, 0, 0.44)\", L = \"rgba(255, 255, 255, 0.95)\", R = \"rgba(255, 255, 255, 0.66)\", F = \"rgba(255, 255, 255, 0.37)\", _ = \"#6d02a3\", U = \"#4e0174\", Q = \"#29003e\", j = \"#ffffff\", X = \"#4e0174\", $ = \"#f4e0ff\", q = \"#e4b6fb\", G = \"#e4b6fb\", z = \"#ffffff\", J = \"#ffffff\", K = \"#ffffff\", V = \"#29003e\", Y = \"#ffffff\", Z = \"#29003e\", rr = \"#ffffff\", or = \"#990ae3\", er = \"#990ae3\", tr = \"#980233\", ar = \"#ff80ab\", cr = \"#e4175c\", ur = \"#fb4885\", nr = \"#02562b\", lr = \"#3dbf7c\", pr = \"#018842\", ir = \"#6a4102\", vr = \"#a86602\", sr = \"#f39200\", gr = \"#014d80\", dr = \"#0078cb\", Br = \"rgba(0, 0, 0, 0.71)\", Sr = \"#4e0174\", Ir = \"#ffffff\", Tr = \"#ffffff\", fr = \"#f4e0ff\", kr = \"#29003e\", xr = \"#4f4741\", mr = \"#ffffff\", Cr = \"#1f002e\", Nr = \"#f5f5fa\", yr = \"#29003e\", Pr = \"rgba(255, 255, 255, 0.84)\", br = \"rgba(0, 0, 0, 0.71)\", Er = \"#e8f6ff\", hr = \"#4e0174\", Or = \"#6d02a3\", Ar = \"#8c07d0\", Hr = \"#f4e0ff\", Mr = \"#e4b6fb\", wr = \"#d58df9\", Wr = \"#990ae3\", Dr = \"#6d02a3\", Lr = \"#4e0174\", Rr = \"#990ae3\", Fr = \"#c461f7\", _r = \"#d58df9\", Ur = \"rgba(0, 0, 0, 0.1)\", Qr = \"rgba(255, 255, 255, 0.11)\", jr = \"#f4e0ff\", Xr = \"#4e0174\", $r = \"#e4b6fb\", qr = \"#6d02a3\", Gr = \"rgba(0, 0, 0, 0.05)\", zr = \"rgba(255, 255, 255, 0.16)\", Jr = \"rgba(0, 0, 0, 0.05)\", Kr = \"rgba(255, 255, 255, 0.11)\", Vr = \"#e4175c\", Yr = \"#c00543\", Zr = \"#980233\", ro = \"#caeaff\", oo = \"#3694d3\", eo = \"#c5efd9\", to = \"#1fa15e\", ao = \"#3dbf7c\", co = \"#ffdde8\", uo = \"#fb4885\", no = \"#ff80ab\", lo = \"#ffe1b3\", po = \"#cc7a00\", io = \"#f39200\", vo = \"#d6d6dd\", so = \"#f4e0ff\", go = \"#6d02a3\", Bo = \"#1e1e20\", So = \"#29003e\", Io = \"#f4e0ff\", To = \"#ede1d8\", fo = \"#f9f1ec\", ko = \"rgba(0, 0, 0, 0.33)\", xo = \"rgba(255, 255, 255, 0.29)\", mo = \"rgba(0, 0, 0, 0.54)\", Co = \"rgba(255, 255, 255, 0.46)\", No = \"rgba(0, 0, 0, 0.16)\", yo = \"rgba(255, 255, 255, 0.16)\", Po = \"#b12df4\", bo = \"#6d02a3\", Eo = \"#f4e0ff\", ho = \"#4e0174\", Oo = \"#29003e\", Ao = \"#e4b6fb\", Ho = \"#e4b6fb\", Mo = \"#990ae3\", wo = \"#990ae3\", Wo = \"rgba(0, 0, 0, 0.44)\", Do = \"rgba(255, 255, 255, 0.46)\", Lo = \"#6d02a3\", Ro = \"#c461f7\", Fo = \"#e4175c\", _o = \"#fb4885\", Uo = \"#cc7a00\", Qo = \"#0078cb\", jo = \"#018842\", Xo = \"#1fa15e\", $o = {\n colorBrandDeepPurple: P,\n colorBrandCorePurple: b,\n colorBrandLightPurple: E,\n colorBrandDeepBeige: h,\n colorBrandBeige: O,\n colorBrandLightBeige: A,\n colorBrandOffBlack: H,\n colorBrandWhite: M,\n colorTextDefault: w,\n colorTextMedium: W,\n colorTextWeak: D,\n colorTextDefaultNegative: L,\n colorTextMediumNegative: R,\n colorTextWeakNegative: F,\n colorTextInteractivePrimary: _,\n colorTextInteractivePrimaryHover: U,\n colorTextInteractivePrimaryActive: Q,\n colorTextInteractiveOnPrimary: j,\n colorTextInteractiveOnExpressive: z,\n colorTextInteractiveOnExpressiveHover: K,\n colorTextInteractiveOnExpressiveActive: Y,\n colorTextInteractiveOnDestructive: rr,\n colorTextInteractiveSelected: or,\n colorTextInteractivePrimaryNegative: $,\n colorTextInteractivePrimaryHoverNegative: q,\n colorTextInteractivePrimaryActiveNegative: G,\n colorTextInteractiveOnPrimaryNegative: X,\n colorTextInteractiveOnExpressiveNegative: J,\n colorTextInteractiveOnExpressiveHoverNegative: V,\n colorTextInteractiveOnExpressiveActiveNegative: Z,\n colorTextStatusInfoMedium: dr,\n colorTextStatusInfoStrong: gr,\n colorTextStatusSuccessMedium: pr,\n colorTextStatusSuccessStrong: nr,\n colorTextStatusWarningMedium: vr,\n colorTextStatusWarningStrong: ir,\n colorTextStatusErrorMedium: cr,\n colorTextStatusErrorStrong: tr,\n colorTextStatusNeutral: Br,\n colorTextStatusSpecial: Sr,\n colorTextStatusAttention: Ir,\n colorTextStatusDiscount: er,\n colorTextStatusBlackFriday: Tr,\n colorTextStatusSuccessStrongNegative: lr,\n colorTextStatusErrorMediumNegative: ur,\n colorTextStatusErrorStrongNegative: ar,\n colorTextStatusWarningMediumNegative: sr,\n colorTextToneOnTonePrimary: fr,\n colorTextToneOnToneSecondary: kr,\n colorTextToneOnToneTertiary: xr,\n colorBackgroundPrimary: mr,\n colorBackgroundSecondary: Nr,\n colorBackgroundOnImage: Pr,\n colorBackgroundPrimaryNegative: Cr,\n colorBackgroundSecondaryNegative: yr,\n colorBackgroundOnImageNegative: br,\n colorBackgroundInteractivePrimary: hr,\n colorBackgroundInteractivePrimaryHover: Or,\n colorBackgroundInteractivePrimaryActive: Ar,\n colorBackgroundInteractiveExpressive: Wr,\n colorBackgroundInteractiveExpressiveHover: Dr,\n colorBackgroundInteractiveExpressiveActive: Lr,\n colorBackgroundInteractiveTransparentHover: jr,\n colorBackgroundInteractiveTransparentActive: $r,\n colorBackgroundInteractiveDisabled: Ur,\n colorBackgroundInteractiveReadOnly: Jr,\n colorBackgroundInteractiveInactive: Gr,\n colorBackgroundInteractiveDestructive: Vr,\n colorBackgroundInteractiveDestructiveHover: Yr,\n colorBackgroundInteractiveDestructiveActive: Zr,\n colorBackgroundInteractiveAutoFill: Er,\n colorBackgroundInteractivePrimaryNegative: Hr,\n colorBackgroundInteractivePrimaryHoverNegative: Mr,\n colorBackgroundInteractivePrimaryActiveNegative: wr,\n colorBackgroundInteractiveExpressiveNegative: Rr,\n colorBackgroundInteractiveExpressiveHoverNegative: Fr,\n colorBackgroundInteractiveExpressiveActiveNegative: _r,\n colorBackgroundInteractiveTransparentHoverNegative: Xr,\n colorBackgroundInteractiveTransparentActiveNegative: qr,\n colorBackgroundInteractiveDisabledNegative: Qr,\n colorBackgroundInteractiveInactiveNegative: zr,\n colorBackgroundInteractiveReadOnlyNegative: Kr,\n colorBackgroundStatusInfoMedium: ro,\n colorBackgroundStatusInfoStrong: oo,\n colorBackgroundStatusSuccessMedium: eo,\n colorBackgroundStatusSuccessStrong: to,\n colorBackgroundStatusWarningMedium: lo,\n colorBackgroundStatusWarningStrong: po,\n colorBackgroundStatusErrorMedium: co,\n colorBackgroundStatusErrorStrong: uo,\n colorBackgroundStatusNeutral: vo,\n colorBackgroundStatusSpecial: so,\n colorBackgroundStatusAttention: go,\n colorBackgroundStatusBlackFriday: Bo,\n colorBackgroundStatusSuccessStrongNegative: ao,\n colorBackgroundStatusWarningStrongNegative: io,\n colorBackgroundStatusErrorStrongNegative: no,\n colorBackgroundToneOnTonePrimary: So,\n colorBackgroundToneOnToneSecondary: Io,\n colorBackgroundToneOnToneTertiary: To,\n colorBackgroundToneOnToneQuaternary: fo,\n colorBorderWeak: No,\n colorBorderMedium: ko,\n colorBorderStrong: mo,\n colorBorderWeakNegative: yo,\n colorBorderMediumNegative: xo,\n colorBorderStrongNegative: Co,\n colorBorderInteractivePrimary: bo,\n colorBorderInteractivePrimaryHover: ho,\n colorBorderInteractivePrimaryActive: Oo,\n colorBorderInteractiveFocus: Po,\n colorBorderInteractiveExpressive: Mo,\n colorBorderInteractiveSubtle: Wo,\n colorBorderInteractiveSubtleHover: Lo,\n colorBorderInteractiveSelected: wo,\n colorBorderInteractivePrimaryNegative: Eo,\n colorBorderInteractivePrimaryHoverNegative: Ao,\n colorBorderInteractivePrimaryActiveNegative: Ho,\n colorBorderInteractiveSubtleNegative: Do,\n colorBorderInteractiveSubtleHoverNegative: Ro,\n colorBorderStatusError: Fo,\n colorBorderStatusWarning: Uo,\n colorBorderStatusInfo: Qo,\n colorBorderStatusSuccess: jo,\n colorBorderStatusErrorNegative: _o,\n colorBorderStatusSuccessNegative: Xo\n}, B = {\n light: $o,\n dark: y\n}, qo = new RegExp(\"([\\\\p{Ll}\\\\d])(\\\\p{Lu})\", \"gu\"), Go = new RegExp(\"(\\\\p{Lu})([\\\\p{Lu}][\\\\p{Ll}])\", \"gu\"), zo = new RegExp(\"(\\\\d)\\\\p{Ll}|(\\\\p{L})\\\\d\", \"u\"), Jo = /[^\\p{L}\\d]+/giu, S = \"$1\\0$2\", I = \"\";\nfunction T(o) {\n let r = o.trim();\n r = r.replace(qo, S).replace(Go, S), r = r.replace(Jo, \"\\0\");\n let e = 0, t = r.length;\n for (; r.charAt(e) === \"\\0\"; )\n e++;\n if (e === t)\n return [];\n for (; r.charAt(t - 1) === \"\\0\"; )\n t--;\n return r.slice(e, t).split(/\\0/g);\n}\nfunction Ko(o) {\n const r = T(o);\n for (let e = 0; e < r.length; e++) {\n const t = r[e], a = zo.exec(t);\n if (a) {\n const c = a.index + (a[1] ?? a[2]).length;\n r.splice(e, 1, t.slice(0, c), t.slice(c));\n }\n }\n return r;\n}\nfunction Vo(o, r) {\n const [e, t, a] = re(o, r);\n return e + t.map(Zo(r == null ? void 0 : r.locale)).join((r == null ? void 0 : r.delimiter) ?? \" \") + a;\n}\nfunction Yo(o, r) {\n return Vo(o, { delimiter: \"-\", ...r });\n}\nfunction Zo(o) {\n return o === !1 ? (r) => r.toLowerCase() : (r) => r.toLocaleLowerCase(o);\n}\nfunction re(o, r = {}) {\n const e = r.split ?? (r.separateNumbers ? Ko : T), t = r.prefixCharacters ?? I, a = r.suffixCharacters ?? I;\n let c = 0, u = o.length;\n for (; c < o.length; ) {\n const l = o.charAt(c);\n if (!t.includes(l))\n break;\n c++;\n }\n for (; u > c; ) {\n const l = u - 1, p = o.charAt(l);\n if (!a.includes(p))\n break;\n u = l;\n }\n return [\n o.slice(0, c),\n e(o.slice(c, u)),\n o.slice(u)\n ];\n}\nconst oe = ({\n theme: o = B,\n cssVariablesSelector: r,\n currentColorScheme: e\n}) => {\n v(() => {\n e && Object.entries((o == null ? void 0 : o[e]) ?? B[e]).forEach(\n ([t, a]) => {\n ((r ? document.querySelector(r) : null) ?? document.documentElement).style.setProperty(\n `--purpur-${Yo(t)}`,\n a\n );\n }\n );\n }, [o, r, e]);\n}, f = m({\n colorScheme: \"light\",\n currentColorScheme: \"light\",\n setColorScheme: () => {\n },\n options: {}\n}), ce = ({\n cssVariablesSelector: o,\n forceColorScheme: r,\n theme: e,\n children: t,\n options: a = {},\n ...c\n}) => {\n const [u, l] = d(r ?? \"auto\"), [p, i] = d(\n r ?? \"light\"\n );\n v(() => {\n if (r)\n l(r);\n else {\n const n = localStorage.getItem(\"colorScheme\");\n n && l(n);\n }\n }, [r]), v(() => {\n const n = window.matchMedia(\"(prefers-color-scheme: dark)\");\n i(u === \"auto\" ? n.matches ? \"dark\" : \"light\" : u);\n const s = (x) => {\n !r && u === \"auto\" && i(x.matches ? \"dark\" : \"light\");\n };\n return n.addEventListener(\"change\", s), () => {\n n.removeEventListener(\"change\", s);\n };\n }, [u, r]), oe({ theme: e, cssVariablesSelector: o, currentColorScheme: p });\n const k = C(\n () => ({\n colorScheme: u,\n currentColorScheme: p,\n setColorScheme: (n) => {\n r || (l(n), localStorage.setItem(\"colorScheme\", n));\n }\n }),\n [u, p, r]\n );\n return /* @__PURE__ */ g(f.Provider, { value: { ...k, options: a }, children: /* @__PURE__ */ g(\"div\", { className: p, ...c, children: t }) });\n}, ee = () => {\n const o = N(f);\n if (!o)\n throw new Error(\"useTheme must be used within a ThemeProvider\");\n return o;\n}, ue = () => {\n const { currentColorScheme: o, setColorScheme: r } = ee();\n return [o, r];\n};\nexport {\n ce as ThemeProvider,\n B as teliaTheme,\n oe as useApplyTheme,\n ue as useColorScheme,\n ee as useTheme\n};\n//# sourceMappingURL=theme.es.js.map\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue.call(this, arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn this && this[arg] || arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(this, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, this && this[key] || key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { forwardRef } from \"react\";\nimport type { BaseProps } from \"@purpurds/common-types\";\nimport { FieldErrorText } from \"@purpurds/field-error-text\";\nimport { FieldHelperText } from \"@purpurds/field-helper-text\";\nimport { Label } from \"@purpurds/label\";\nimport { useColorScheme } from \"@purpurds/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./text-area.module.scss\";\n\nexport type TextAreaProps = Omit<BaseProps<\"textarea\">, \"id\"> & {\n id: string;\n /**\n * Use to render error message below the text area. The text area renders with error appearance.\n * */\n errorText?: string;\n /**\n * Use to give context about the text area's input. Renders below the text area.\n * */\n helperText?: string;\n /**\n * The label of the text area.\n * */\n label?: string;\n /**\n * The height of the text area, measured in number of rows.\n * */\n rows?: number;\n /**\n * The width of the text area, measured in number of cols.\n * */\n cols?: number;\n};\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-text-area\";\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\n (\n {\n id,\n [\"data-testid\"]: dataTestId,\n className,\n errorText,\n helperText,\n label,\n rows = 3,\n cols = 90,\n ...props\n },\n ref\n ) => {\n const [colorScheme] = useColorScheme();\n\n const getTestId = (name: string) => (dataTestId ? `${dataTestId}-${name}` : undefined);\n\n const helperTextId = helperText ? `${id}-helper-text` : undefined;\n\n const textAreaContainerClassnames = cx(`${rootClassName}__textarea-container`, {\n [`${rootClassName}__textarea-container--disabled`]: props.disabled,\n [`${rootClassName}__textarea-container--readonly`]: props.readOnly && !props.disabled,\n });\n\n return (\n <div className={cx(className, rootClassName)} data-testid={dataTestId}>\n {label && (\n <Label\n htmlFor={id}\n disabled={props.disabled}\n className={styles[`${rootClassName}__label`]}\n data-testid={getTestId(\"label\")}\n >\n {props.required && <span aria-hidden>*</span>}\n {label}\n </Label>\n )}\n <div className={textAreaContainerClassnames}>\n <textarea\n {...props}\n ref={ref}\n id={id}\n data-testid={getTestId(\"textarea\")}\n aria-describedby={props[\"aria-describedby\"] || helperTextId}\n aria-invalid={props[\"aria-invalid\"] || !!errorText}\n className={cx(\n `${rootClassName}__textarea`,\n `${rootClassName}__textarea--${colorScheme}`,\n {\n [`${rootClassName}__textarea--error`]: !!errorText,\n }\n )}\n rows={rows}\n cols={cols}\n />\n <div className={styles[`${rootClassName}__frame`]} />\n </div>\n {helperTextId && (\n <FieldHelperText data-testid={getTestId(\"helper-text\")} id={helperTextId}>\n {helperText}\n </FieldHelperText>\n )}\n {errorText && (\n <FieldErrorText data-testid={getTestId(\"error-text\")}>{errorText}</FieldErrorText>\n )}\n </div>\n );\n }\n);\n\nTextArea.displayName = \"TextArea\";\n"],"names":["g","e","p","c","h","i","n","r","t","s","u","y","w","b","S","f","j","$","O","q","m","_","N","A","l","d","B","M","P","C","v","a","Z","x","o","R","E","D","V","ee","ue","hasOwn","classNames","classes","arg","appendClass","parseValue","key","value","newClass","module","cx","styles","rootClassName","TextArea","forwardRef","id","dataTestId","className","errorText","helperText","label","rows","cols","props","ref","colorScheme","useColorScheme","getTestId","name","helperTextId","textAreaContainerClassnames","jsxs","Label","jsx","FieldHelperText","FieldErrorText"],"mappings":"ubACA,SAASA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SAAS,EAC3C,cAAae,EAAU,OAAO,EAE7B,SAAA,CAAAJ,EAAM,UAAYU,EAAAA,IAAC,OAAK,CAAA,cAAW,GAAC,SAAC,IAAA,EACrCb,CAAA,CAAA,CACH,EAEFW,EAAAA,KAAC,MAAI,CAAA,UAAWD,EACd,SAAA,CAAAG,EAAA,IAAC,WAAA,CACE,GAAGV,EACJ,IAAAC,EACA,GAAAT,EACA,cAAaY,EAAU,UAAU,EACjC,mBAAkBJ,EAAM,kBAAkB,GAAKM,EAC/C,eAAcN,EAAM,cAAc,GAAK,CAAC,CAACL,EACzC,UAAWR,EACT,GAAGE,CAAa,aAChB,GAAGA,CAAa,eAAea,CAAW,GAC1C,CACE,CAAC,GAAGb,CAAa,mBAAmB,EAAG,CAAC,CAACM,CAAA,CAE7C,EACA,KAAAG,EACA,KAAAC,CAAA,CACF,QACC,MAAI,CAAA,UAAWX,EAAO,GAAGC,CAAa,SAAS,CAAG,CAAA,CAAA,EACrD,EACCiB,SACEK,GAAgB,CAAA,cAAaP,EAAU,aAAa,EAAG,GAAIE,EACzD,SACHV,CAAA,CAAA,EAEDD,GACEe,EAAAA,IAAAE,GAAA,CAAe,cAAaR,EAAU,YAAY,EAAI,SAAUT,CAAA,CAAA,CAAA,EAErE,CAAA,CAGN,EAEAL,EAAS,YAAc","x_google_ignoreList":[4]}
|
|
1
|
+
{"version":3,"file":"text-area.cjs.js","sources":["../../field-error-text/dist/field-error-text.es.js","../../field-helper-text/dist/field-helper-text.es.js","../../label/dist/label.es.js","../../../common/temp/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/bind.js","../src/text-area.tsx"],"sourcesContent":["import { jsx as _, jsxs as x } from \"react/jsx-runtime\";\nfunction g(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar p = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar c;\nfunction h() {\n return c || (c = 1, (function(e) {\n (function() {\n var i = {}.hasOwnProperty;\n function n() {\n for (var r = \"\", t = 0; t < arguments.length; t++) {\n var o = arguments[t];\n o && (r = s(r, u.call(this, o)));\n }\n return r;\n }\n function u(r) {\n if (typeof r == \"string\" || typeof r == \"number\")\n return this && this[r] || r;\n if (typeof r != \"object\")\n return \"\";\n if (Array.isArray(r))\n return n.apply(this, r);\n if (r.toString !== Object.prototype.toString && !r.toString.toString().includes(\"[native code]\"))\n return r.toString();\n var t = \"\";\n for (var o in r)\n i.call(r, o) && r[o] && (t = s(t, this && this[o] || o));\n return t;\n }\n function s(r, t) {\n return t ? r ? r + \" \" + t : r + t : r;\n }\n e.exports ? (n.default = n, e.exports = n) : window.classNames = n;\n })();\n })(p)), p.exports;\n}\nvar y = h();\nconst w = /* @__PURE__ */ g(y), b = {\n \"purpur-icon\": \"_purpur-icon_8u1lq_1\",\n \"purpur-icon--xxs\": \"_purpur-icon--xxs_8u1lq_4\",\n \"purpur-icon--xs\": \"_purpur-icon--xs_8u1lq_8\",\n \"purpur-icon--sm\": \"_purpur-icon--sm_8u1lq_12\",\n \"purpur-icon--md\": \"_purpur-icon--md_8u1lq_16\",\n \"purpur-icon--lg\": \"_purpur-icon--lg_8u1lq_20\",\n \"purpur-icon--xl\": \"_purpur-icon--xl_8u1lq_24\"\n}, S = w.bind(b), f = \"purpur-icon\", j = \"md\", $ = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}=\"${i.value}\"`).join(\" \"), O = ({ content: e = \"\", title: i } = {}) => {\n const n = [\n { name: \"xmlns\", value: \"http://www.w3.org/2000/svg\" },\n { name: \"fill\", value: \"currentColor\" },\n { name: \"viewBox\", value: \"0 0 24 24\" },\n i ? { name: \"role\", value: \"img\" } : { name: \"aria-hidden\", value: \"true\" }\n ], u = i ? `<title>${i}</title>` : \"\";\n return `<svg ${$(n)}>${u}${e}</svg>`;\n}, q = (e) => e.replace(/<(\\/?)svg([^>]*)>/g, \"\").trim(), m = ({ svg: e, allyTitle: i, className: n, size: u = j, ...s }) => {\n const r = O({\n content: q(e.svg),\n title: i\n }), t = S(n, f, `${f}--${u}`);\n return /* @__PURE__ */ _(\"span\", { className: t, dangerouslySetInnerHTML: { __html: r }, ...s });\n};\nm.displayName = \"Icon\";\nconst N = {\n name: \"error-filled\",\n 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>',\n keywords: [\"error-filled\"],\n category: \"status\"\n};\nfunction A(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar l = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar d;\nfunction B() {\n return d || (d = 1, (function(e) {\n (function() {\n var i = {}.hasOwnProperty;\n function n() {\n for (var r = \"\", t = 0; t < arguments.length; t++) {\n var o = arguments[t];\n o && (r = s(r, u.call(this, o)));\n }\n return r;\n }\n function u(r) {\n if (typeof r == \"string\" || typeof r == \"number\")\n return this && this[r] || r;\n if (typeof r != \"object\")\n return \"\";\n if (Array.isArray(r))\n return n.apply(this, r);\n if (r.toString !== Object.prototype.toString && !r.toString.toString().includes(\"[native code]\"))\n return r.toString();\n var t = \"\";\n for (var o in r)\n i.call(r, o) && r[o] && (t = s(t, this && this[o] || o));\n return t;\n }\n function s(r, t) {\n return t ? r ? r + \" \" + t : r + t : r;\n }\n e.exports ? (n.default = n, e.exports = n) : window.classNames = n;\n })();\n })(l)), l.exports;\n}\nvar M = B();\nconst P = /* @__PURE__ */ A(M), C = {\n \"purpur-field-error-text\": \"_purpur-field-error-text_u1cy2_1\",\n \"purpur-field-error-text--negative\": \"_purpur-field-error-text--negative_u1cy2_11\",\n \"purpur-field-error-text__icon\": \"_purpur-field-error-text__icon_u1cy2_14\"\n}, v = P.bind(C), T = [\n \"additions text\",\n \"additions\",\n \"removals\",\n \"text\",\n \"all\"\n], a = \"purpur-field-error-text\", Z = ({\n children: e,\n className: i,\n negative: n = !1,\n [\"aria-relevant\"]: u = \"additions text\",\n ...s\n}) => /* @__PURE__ */ x(\n \"div\",\n {\n className: v(i, a, {\n [`${a}--negative`]: n\n }),\n \"aria-live\": \"assertive\",\n \"aria-relevant\": u,\n ...s,\n children: [\n /* @__PURE__ */ _(m, { svg: N, size: \"xs\", className: v(`${a}__icon`) }),\n e\n ]\n }\n);\nexport {\n Z as FieldErrorText,\n T as ariaRelevantValues\n};\n//# sourceMappingURL=field-error-text.es.js.map\n","import { jsx as a } from \"react/jsx-runtime\";\nfunction c(r) {\n return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, \"default\") ? r.default : r;\n}\nvar u = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar f;\nfunction d() {\n return f || (f = 1, (function(r) {\n (function() {\n var p = {}.hasOwnProperty;\n function n() {\n for (var t = \"\", e = 0; e < arguments.length; e++) {\n var s = arguments[e];\n s && (t = i(t, o.call(this, s)));\n }\n return t;\n }\n function o(t) {\n if (typeof t == \"string\" || typeof t == \"number\")\n return this && this[t] || t;\n if (typeof t != \"object\")\n return \"\";\n if (Array.isArray(t))\n return n.apply(this, t);\n if (t.toString !== Object.prototype.toString && !t.toString.toString().includes(\"[native code]\"))\n return t.toString();\n var e = \"\";\n for (var s in t)\n p.call(t, s) && t[s] && (e = i(e, this && this[s] || s));\n return e;\n }\n function i(t, e) {\n return e ? t ? t + \" \" + e : t + e : t;\n }\n r.exports ? (n.default = n, r.exports = n) : window.classNames = n;\n })();\n })(u)), u.exports;\n}\nvar h = d();\nconst x = /* @__PURE__ */ c(h), _ = {\n \"purpur-field-helper-text\": \"_purpur-field-helper-text_11nsh_1\",\n \"purpur-field-helper-text--disabled\": \"_purpur-field-helper-text--disabled_11nsh_9\",\n \"purpur-field-helper-text--negative\": \"_purpur-field-helper-text--negative_11nsh_12\"\n}, b = x.bind(_), l = \"purpur-field-helper-text\", m = ({\n children: r,\n className: p,\n disabled: n,\n id: o,\n negative: i,\n ...t\n}) => {\n const e = b(p, l, {\n [`${l}--disabled`]: n,\n [`${l}--negative`]: i\n });\n return /* @__PURE__ */ a(\"span\", { id: o, className: e, ...t, children: r });\n};\nexport {\n m as FieldHelperText\n};\n//# sourceMappingURL=field-helper-text.es.js.map\n","import { jsx as f } from \"react/jsx-runtime\";\nimport * as a from \"react\";\nimport \"react-dom\";\nfunction b(t, o) {\n if (typeof t == \"function\")\n return t(o);\n t != null && (t.current = o);\n}\nfunction S(...t) {\n return (o) => {\n let n = !1;\n const i = t.map((r) => {\n const e = b(r, o);\n return !n && typeof e == \"function\" && (n = !0), e;\n });\n if (n)\n return () => {\n for (let r = 0; r < i.length; r++) {\n const e = i[r];\n typeof e == \"function\" ? e() : b(t[r], null);\n }\n };\n };\n}\n// @__NO_SIDE_EFFECTS__\nfunction g(t) {\n const o = /* @__PURE__ */ _(t), n = a.forwardRef((i, r) => {\n const { children: e, ...l } = i, s = a.Children.toArray(e), u = s.find(w);\n if (u) {\n const c = u.props.children, v = s.map((m) => m === u ? a.Children.count(c) > 1 ? a.Children.only(null) : a.isValidElement(c) ? c.props.children : null : m);\n return /* @__PURE__ */ f(o, { ...l, ref: r, children: a.isValidElement(c) ? a.cloneElement(c, void 0, v) : null });\n }\n return /* @__PURE__ */ f(o, { ...l, ref: r, children: e });\n });\n return n.displayName = `${t}.Slot`, n;\n}\n// @__NO_SIDE_EFFECTS__\nfunction _(t) {\n const o = a.forwardRef((n, i) => {\n const { children: r, ...e } = n;\n if (a.isValidElement(r)) {\n const l = C(r), s = x(e, r.props);\n return r.type !== a.Fragment && (s.ref = i ? S(i, l) : l), a.cloneElement(r, s);\n }\n return a.Children.count(r) > 1 ? a.Children.only(null) : null;\n });\n return o.displayName = `${t}.SlotClone`, o;\n}\nvar E = Symbol(\"radix.slottable\");\nfunction w(t) {\n return a.isValidElement(t) && typeof t.type == \"function\" && \"__radixId\" in t.type && t.type.__radixId === E;\n}\nfunction x(t, o) {\n const n = { ...o };\n for (const i in o) {\n const r = t[i], e = o[i];\n /^on[A-Z]/.test(i) ? r && e ? n[i] = (...s) => {\n const u = e(...s);\n return r(...s), u;\n } : r && (n[i] = r) : i === \"style\" ? n[i] = { ...r, ...e } : i === \"className\" && (n[i] = [r, e].filter(Boolean).join(\" \"));\n }\n return { ...t, ...n };\n}\nfunction C(t) {\n var i, r;\n let o = (i = Object.getOwnPropertyDescriptor(t.props, \"ref\")) == null ? void 0 : i.get, n = o && \"isReactWarning\" in o && o.isReactWarning;\n return n ? t.ref : (o = (r = Object.getOwnPropertyDescriptor(t, \"ref\")) == null ? void 0 : r.get, n = o && \"isReactWarning\" in o && o.isReactWarning, n ? t.props.ref : t.props.ref || t.ref);\n}\nvar R = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n], N = R.reduce((t, o) => {\n const n = /* @__PURE__ */ g(`Primitive.${o}`), i = a.forwardRef((r, e) => {\n const { asChild: l, ...s } = r, u = l ? n : o;\n return typeof window < \"u\" && (window[Symbol.for(\"radix-ui\")] = !0), /* @__PURE__ */ f(u, { ...s, ref: e });\n });\n return i.displayName = `Primitive.${o}`, { ...t, [o]: i };\n}, {}), P = \"Label\", h = a.forwardRef((t, o) => /* @__PURE__ */ f(\n N.label,\n {\n ...t,\n ref: o,\n onMouseDown: (n) => {\n var r;\n n.target.closest(\"button, input, select, textarea\") || ((r = t.onMouseDown) == null || r.call(t, n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());\n }\n }\n));\nh.displayName = P;\nvar O = h;\nfunction j(t) {\n return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, \"default\") ? t.default : t;\n}\nvar p = { exports: {} };\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\nvar y;\nfunction D() {\n return y || (y = 1, (function(t) {\n (function() {\n var o = {}.hasOwnProperty;\n function n() {\n for (var e = \"\", l = 0; l < arguments.length; l++) {\n var s = arguments[l];\n s && (e = r(e, i.call(this, s)));\n }\n return e;\n }\n function i(e) {\n if (typeof e == \"string\" || typeof e == \"number\")\n return this && this[e] || e;\n if (typeof e != \"object\")\n return \"\";\n if (Array.isArray(e))\n return n.apply(this, e);\n if (e.toString !== Object.prototype.toString && !e.toString.toString().includes(\"[native code]\"))\n return e.toString();\n var l = \"\";\n for (var s in e)\n o.call(e, s) && e[s] && (l = r(l, this && this[s] || s));\n return l;\n }\n function r(e, l) {\n return l ? e ? e + \" \" + l : e + l : e;\n }\n t.exports ? (n.default = n, t.exports = n) : window.classNames = n;\n })();\n })(p)), p.exports;\n}\nvar A = D();\nconst V = /* @__PURE__ */ j(A), $ = {\n \"purpur-label\": \"_purpur-label_1x80u_1\",\n \"purpur-label--negative\": \"_purpur-label--negative_1x80u_8\",\n \"purpur-label--disabled\": \"_purpur-label--disabled_1x80u_11\"\n}, I = V.bind($), d = \"purpur-label\", B = ({\n children: t,\n className: o,\n disabled: n,\n negative: i = !1,\n ...r\n}) => {\n const e = I(o, d, {\n [`${d}--disabled`]: n,\n [`${d}--negative`]: i\n });\n return /* @__PURE__ */ f(O, { className: e, ...r, children: t });\n};\nexport {\n B as Label\n};\n//# sourceMappingURL=label.es.js.map\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue.call(this, arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn this && this[arg] || arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(this, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, this && this[key] || key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { forwardRef } from \"react\";\nimport type { BaseProps } from \"@purpurds/common-types\";\nimport { FieldErrorText } from \"@purpurds/field-error-text\";\nimport { FieldHelperText } from \"@purpurds/field-helper-text\";\nimport { Label } from \"@purpurds/label\";\nimport { useColorScheme } from \"@purpurds/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./text-area.module.scss\";\n\nexport type TextAreaProps = Omit<BaseProps<\"textarea\">, \"id\"> & {\n id: string;\n /**\n * Use to render error message below the text area. The text area renders with error appearance.\n * */\n errorText?: string;\n /**\n * Use to give context about the text area's input. Renders below the text area.\n * */\n helperText?: string;\n /**\n * The label of the text area.\n * */\n label?: string;\n /**\n * The height of the text area, measured in number of rows.\n * */\n rows?: number;\n /**\n * The width of the text area, measured in number of cols.\n * */\n cols?: number;\n};\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-text-area\";\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\n (\n {\n id,\n [\"data-testid\"]: dataTestId,\n className,\n errorText,\n helperText,\n label,\n rows = 3,\n cols = 90,\n ...props\n },\n ref\n ) => {\n const [colorScheme] = useColorScheme();\n\n const getTestId = (name: string) => (dataTestId ? `${dataTestId}-${name}` : undefined);\n\n const helperTextId = helperText ? `${id}-helper-text` : undefined;\n\n const textAreaContainerClassnames = cx(`${rootClassName}__textarea-container`, {\n [`${rootClassName}__textarea-container--disabled`]: props.disabled,\n [`${rootClassName}__textarea-container--readonly`]: props.readOnly && !props.disabled,\n });\n\n return (\n <div className={cx(className, rootClassName)} data-testid={dataTestId}>\n {label && (\n <Label\n htmlFor={id}\n disabled={props.disabled}\n className={styles[`${rootClassName}__label`]}\n data-testid={getTestId(\"label\")}\n >\n {props.required && <span aria-hidden>*</span>}\n {label}\n </Label>\n )}\n <div className={textAreaContainerClassnames}>\n <textarea\n {...props}\n ref={ref}\n id={id}\n data-testid={getTestId(\"textarea\")}\n aria-describedby={props[\"aria-describedby\"] || helperTextId}\n aria-invalid={props[\"aria-invalid\"] || !!errorText}\n className={cx(\n `${rootClassName}__textarea`,\n `${rootClassName}__textarea--${colorScheme}`,\n {\n [`${rootClassName}__textarea--error`]: !!errorText,\n }\n )}\n rows={rows}\n cols={cols}\n />\n <div className={styles[`${rootClassName}__frame`]} />\n </div>\n {helperTextId && (\n <FieldHelperText data-testid={getTestId(\"helper-text\")} id={helperTextId}>\n {helperText}\n </FieldHelperText>\n )}\n {errorText && (\n <FieldErrorText data-testid={getTestId(\"error-text\")}>{errorText}</FieldErrorText>\n )}\n </div>\n );\n }\n);\n\nTextArea.displayName = \"TextArea\";\n"],"names":["g","e","p","c","h","i","r","s","u","y","w","b","S","f","j","$","O","q","m","_","N","A","l","d","B","M","P","C","v","a","Z","x","t","o","E","n","R","D","V","I","hasOwn","classNames","classes","arg","appendClass","parseValue","key","value","newClass","module","cx","styles","rootClassName","TextArea","forwardRef","id","dataTestId","className","errorText","helperText","label","rows","cols","props","ref","colorScheme","useColorScheme","getTestId","name","helperTextId","textAreaContainerClassnames","jsxs","Label","jsx","FieldHelperText","FieldErrorText"],"mappings":"0dACA,SAASA,EAAEC,EAAG,CACZ,OAAOA,GAAKA,EAAE,YAAc,OAAO,UAAU,eAAe,KAAKA,EAAG,SAAS,EAAIA,EAAE,QAAUA,CAC/F,CACA,IAAIC,EAAI,CAAE,QAAS,EAAE,EACrB;AAAA;AAAA;AAAA;AAAA,EAKA,IAAIC,EACJ,SAASC,GAAI,CACX,OAAOD,IAAMA,EAAI,GAAI,SAASF,EAAG,EAC9B,UAAW,CACV,IAAII,EAAI,CAAA,EAAG,eACX,SAAS,GAAI,CACX,QAASC,EAAI,GAAI,EAAI,EAAG,EAAI,UAAU,OAAQ,IAAK,CACjD,IAAI,EAAI,UAAU,CAAC,EACnB,IAAMA,EAAIC,EAAED,EAAGE,EAAE,KAAK,KAAM,CAAC,CAAC,EAChC,CACA,OAAOF,CACT,CACA,SAASE,EAAEF,EAAG,CACZ,GAAI,OAAOA,GAAK,UAAY,OAAOA,GAAK,SACtC,OAAO,MAAQ,KAAKA,CAA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