@purpurds/autocomplete 8.5.0 → 8.5.2
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
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
Name: @purpurds/icon
|
|
2
|
-
Version: 8.
|
|
2
|
+
Version: 8.5.1
|
|
3
3
|
License: AGPL-3.0-only
|
|
4
4
|
Private: false
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Name: @purpurds/listbox
|
|
9
|
-
Version: 8.
|
|
9
|
+
Version: 8.5.1
|
|
10
10
|
License: AGPL-3.0-only
|
|
11
11
|
Private: false
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Name: @purpurds/text-field
|
|
16
|
-
Version: 8.
|
|
16
|
+
Version: 8.5.1
|
|
17
17
|
License: AGPL-3.0-only
|
|
18
18
|
Private: false
|
|
19
19
|
|
package/dist/autocomplete.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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 _r;function Se(){return _r||(_r=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(dr)),dr.exports}var Ne=Se();const Oe=je(Ne),Ae={"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"},ke=Oe.bind(Ae),fr="purpur-icon",Ce="md",Pe=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Re=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Pe(n)}>${o}${e}</svg>`},qe=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Ur=({svg:e,allyTitle:i,className:n,size:o=Ce,...a})=>{const r=Re({content:qe(e.svg),title:i}),t=ke(
|
|
5
|
+
*/var _r;function Se(){return _r||(_r=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(dr)),dr.exports}var Ne=Se();const Oe=je(Ne),Ae={"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"},ke=Oe.bind(Ae),fr="purpur-icon",Ce="md",Pe=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Re=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Pe(n)}>${o}${e}</svg>`},qe=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Ur=({svg:e,allyTitle:i,className:n,size:o=Ce,...a})=>{const r=Re({content:qe(e.svg),title:i}),t=ke(fr,`${fr}--${o}`,n);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...a})};Ur.displayName="Icon";const Me={name:"chevron-down",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["chevron-down"],category:"utility"},Yr=e=>p.jsx(Ur,{...e,svg:Me});Yr.displayName="IconChevronDown";function Le(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vr={exports:{}};/*!
|
|
6
6
|
Copyright (c) 2018 Jed Watson.
|
|
7
7
|
Licensed under the MIT License (MIT), see
|
|
8
8
|
http://jedwatson.github.io/classnames
|
|
@@ -10,7 +10,7 @@
|
|
|
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 hr;function Ie(){return hr||(hr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(gr)),gr.exports}var ze=Ie();const De=Te(ze),Ve={"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"},Ze=De.bind(Ve),xr="purpur-icon",He="md",Fe=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),We=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Fe(n)}>${o}${e}</svg>`},Ge=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Xr=({svg:e,allyTitle:i,className:n,size:o=He,...a})=>{const r=We({content:Ge(e.svg),title:i}),t=Ze(
|
|
13
|
+
*/var hr;function Ie(){return hr||(hr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(gr)),gr.exports}var ze=Ie();const De=Te(ze),Ve={"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"},Ze=De.bind(Ve),xr="purpur-icon",He="md",Fe=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),We=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Fe(n)}>${o}${e}</svg>`},Ge=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Xr=({svg:e,allyTitle:i,className:n,size:o=He,...a})=>{const r=We({content:Ge(e.svg),title:i}),t=Ze(xr,`${xr}--${o}`,n);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...a})};Xr.displayName="Icon";const Ke={name:"checkmark",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',keywords:["checkmark"],category:"utility"},re=e=>p.jsx(Xr,{...e,svg:Ke});re.displayName="IconCheckmark";function Ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var br={exports:{}};/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
Copyright (c) 2018 Jed Watson.
|
|
27
27
|
Licensed under the MIT License (MIT), see
|
|
28
28
|
http://jedwatson.github.io/classnames
|
|
29
|
-
*/var Cr;function bt(){return Cr||(Cr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(kr)),kr.exports}var yt=bt();const wt=xt(yt),$t={"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"},jt=wt.bind($t),Pr="purpur-icon",St="md",Nt=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Ot=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Nt(n)}>${o}${e}</svg>`},At=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ue=({svg:e,allyTitle:i,className:n,size:o=St,...a})=>{const r=Ot({content:At(e.svg),title:i}),t=jt(
|
|
29
|
+
*/var Cr;function bt(){return Cr||(Cr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(kr)),kr.exports}var yt=bt();const wt=xt(yt),$t={"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"},jt=wt.bind($t),Pr="purpur-icon",St="md",Nt=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Ot=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Nt(n)}>${o}${e}</svg>`},At=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ue=({svg:e,allyTitle:i,className:n,size:o=St,...a})=>{const r=Ot({content:At(e.svg),title:i}),t=jt(Pr,`${Pr}--${o}`,n);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...a})};ue.displayName="Icon";const kt={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 Ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rr={exports:{}};/*!
|
|
30
30
|
Copyright (c) 2018 Jed Watson.
|
|
31
31
|
Licensed under the MIT License (MIT), see
|
|
32
32
|
http://jedwatson.github.io/classnames
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
Copyright (c) 2018 Jed Watson.
|
|
39
39
|
Licensed under the MIT License (MIT), see
|
|
40
40
|
http://jedwatson.github.io/classnames
|
|
41
|
-
*/var Tr;function Ht(){return Tr||(Tr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Er)),Er.exports}var Ft=Ht();const Wt=Zt(Ft),Gt={"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"},Kt=Wt.bind(Gt),Ir="purpur-icon",Ut="md",Yt=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Jt=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Yt(n)}>${o}${e}</svg>`},Qt=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ar=({svg:e,allyTitle:i,className:n,size:o=Ut,...a})=>{const r=Jt({content:Qt(e.svg),title:i}),t=Kt(
|
|
41
|
+
*/var Tr;function Ht(){return Tr||(Tr=1,(function(e){(function(){var i={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var u=arguments[t];u&&(r=a(r,o.call(this,u)))}return r}function o(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=a(t,this&&this[u]||u));return t}function a(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Er)),Er.exports}var Ft=Ht();const Wt=Zt(Ft),Gt={"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"},Kt=Wt.bind(Gt),Ir="purpur-icon",Ut="md",Yt=e=>e.filter(i=>Object.keys(i).length>=1).map(i=>`${i.name}="${i.value}"`).join(" "),Jt=({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"}],o=i?`<title>${i}</title>`:"";return`<svg ${Yt(n)}>${o}${e}</svg>`},Qt=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ar=({svg:e,allyTitle:i,className:n,size:o=Ut,...a})=>{const r=Jt({content:Qt(e.svg),title:i}),t=Kt(Ir,`${Ir}--${o}`,n);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...a})};ar.displayName="Icon";const Xt={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"},ie=e=>p.jsx(ar,{...e,svg:Xt});ie.displayName="IconCheckCircleFilled";const rn={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"},ae=e=>p.jsx(ar,{...e,svg:rn});ae.displayName="IconClose";function zr(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function en(...e){return i=>{let n=!1;const o=e.map(a=>{const r=zr(a,i);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let a=0;a<o.length;a++){const r=o[a];typeof r=="function"?r():zr(e[a],null)}}}}function tn(e){const i=nn(e),n=h.forwardRef((o,a)=>{const{children:r,...t}=o,u=h.Children.toArray(r),m=u.find(an);if(m){const _=m.props.children,x=u.map(b=>b===m?h.Children.count(_)>1?h.Children.only(null):h.isValidElement(_)?_.props.children:null:b);return p.jsx(i,{...t,ref:a,children:h.isValidElement(_)?h.cloneElement(_,void 0,x):null})}return p.jsx(i,{...t,ref:a,children:r})});return n.displayName=`${e}.Slot`,n}function nn(e){const i=h.forwardRef((n,o)=>{const{children:a,...r}=n;if(h.isValidElement(a)){const t=sn(a),u=on(r,a.props);return a.type!==h.Fragment&&(u.ref=o?en(o,t):t),h.cloneElement(a,u)}return h.Children.count(a)>1?h.Children.only(null):null});return i.displayName=`${e}.SlotClone`,i}var un=Symbol("radix.slottable");function an(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===un}function on(e,i){const n={...i};for(const o in i){const a=e[o],r=i[o];/^on[A-Z]/.test(o)?a&&r?n[o]=(...t)=>{const u=r(...t);return a(...t),u}:a&&(n[o]=a):o==="style"?n[o]={...a,...r}:o==="className"&&(n[o]=[a,r].filter(Boolean).join(" "))}return{...e,...n}}function sn(e){var i,n;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,a=o&&"isReactWarning"in o&&o.isReactWarning;return a?e.ref:(o=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,a=o&&"isReactWarning"in o&&o.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var pn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ln=pn.reduce((e,i)=>{const n=tn(`Primitive.${i}`),o=h.forwardRef((a,r)=>{const{asChild:t,...u}=a,m=t?n:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(m,{...u,ref:r})});return o.displayName=`Primitive.${i}`,{...e,[i]:o}},{}),cn="Label",oe=h.forwardRef((e,i)=>p.jsx(ln.label,{...e,ref:i,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));oe.displayName=cn;var dn=oe;function _n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dr={exports:{}};/*!
|
|
42
42
|
Copyright (c) 2018 Jed Watson.
|
|
43
43
|
Licensed under the MIT License (MIT), see
|
|
44
44
|
http://jedwatson.github.io/classnames
|