@qasa/qds-ui 0.9.0-next.2 → 0.9.0-next.3
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/cjs/index.js +13 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/icon/icons.d.ts +1 -0
- package/dist/esm/index.js +13 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/icon/icons.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ export declare const MessageCircleIcon: import("react").ForwardRefExoticComponen
|
|
|
33
33
|
export declare const MinusIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
34
|
export declare const MoreHorizontalIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
35
|
export declare const MoreVerticalIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
export declare const PenIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
37
|
export declare const PlusIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
37
38
|
export declare const SearchIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
38
39
|
export declare const SettingsIcon: import("react").ForwardRefExoticComponent<import("./icon.types").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
package/dist/esm/index.js
CHANGED
|
@@ -6357,21 +6357,20 @@ ve("PenSquare",[["path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0
|
|
|
6357
6357
|
* This source code is licensed under the ISC license.
|
|
6358
6358
|
* See the LICENSE file in the root directory of this source tree.
|
|
6359
6359
|
*/
|
|
6360
|
-
ve("PenTool",[["path",{d:"m12 19 7-7 3 3-7 7-3-3z",key:"rklqx2"}],["path",{d:"m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5z",key:"1et58u"}],["path",{d:"m2 2 7.586 7.586",key:"etlp93"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]])
|
|
6360
|
+
ve("PenTool",[["path",{d:"m12 19 7-7 3 3-7 7-3-3z",key:"rklqx2"}],["path",{d:"m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5z",key:"1et58u"}],["path",{d:"m2 2 7.586 7.586",key:"etlp93"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);
|
|
6361
6361
|
/**
|
|
6362
6362
|
* @license lucide-react v0.294.0 - ISC
|
|
6363
6363
|
*
|
|
6364
6364
|
* This source code is licensed under the ISC license.
|
|
6365
6365
|
* See the LICENSE file in the root directory of this source tree.
|
|
6366
6366
|
*/
|
|
6367
|
-
ve("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]])
|
|
6367
|
+
const Ye=ve("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);
|
|
6368
6368
|
/**
|
|
6369
6369
|
* @license lucide-react v0.294.0 - ISC
|
|
6370
6370
|
*
|
|
6371
6371
|
* This source code is licensed under the ISC license.
|
|
6372
6372
|
* See the LICENSE file in the root directory of this source tree.
|
|
6373
|
-
*/
|
|
6374
|
-
ve("PencilLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z",key:"ymcmye"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]]),
|
|
6373
|
+
*/ve("PencilLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z",key:"ymcmye"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]]),
|
|
6375
6374
|
/**
|
|
6376
6375
|
* @license lucide-react v0.294.0 - ISC
|
|
6377
6376
|
*
|
|
@@ -6665,7 +6664,7 @@ ve("PlusSquare",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"
|
|
|
6665
6664
|
* This source code is licensed under the ISC license.
|
|
6666
6665
|
* See the LICENSE file in the root directory of this source tree.
|
|
6667
6666
|
*/
|
|
6668
|
-
const
|
|
6667
|
+
const Je=ve("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);
|
|
6669
6668
|
/**
|
|
6670
6669
|
* @license lucide-react v0.294.0 - ISC
|
|
6671
6670
|
*
|
|
@@ -7350,7 +7349,7 @@ ve("SearchX",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5
|
|
|
7350
7349
|
* This source code is licensed under the ISC license.
|
|
7351
7350
|
* See the LICENSE file in the root directory of this source tree.
|
|
7352
7351
|
*/
|
|
7353
|
-
const
|
|
7352
|
+
const Qe=ve("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);
|
|
7354
7353
|
/**
|
|
7355
7354
|
* @license lucide-react v0.294.0 - ISC
|
|
7356
7355
|
*
|
|
@@ -7419,7 +7418,7 @@ ve("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwj
|
|
|
7419
7418
|
* This source code is licensed under the ISC license.
|
|
7420
7419
|
* See the LICENSE file in the root directory of this source tree.
|
|
7421
7420
|
*/
|
|
7422
|
-
const
|
|
7421
|
+
const ea=ve("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]),aa=ve("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);
|
|
7423
7422
|
/**
|
|
7424
7423
|
* @license lucide-react v0.294.0 - ISC
|
|
7425
7424
|
*
|
|
@@ -7446,7 +7445,7 @@ ve("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy
|
|
|
7446
7445
|
* This source code is licensed under the ISC license.
|
|
7447
7446
|
* See the LICENSE file in the root directory of this source tree.
|
|
7448
7447
|
*/
|
|
7449
|
-
const
|
|
7448
|
+
const ta=ve("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]);
|
|
7450
7449
|
/**
|
|
7451
7450
|
* @license lucide-react v0.294.0 - ISC
|
|
7452
7451
|
*
|
|
@@ -8012,7 +8011,7 @@ ve("StarOff",[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.5
|
|
|
8012
8011
|
* This source code is licensed under the ISC license.
|
|
8013
8012
|
* See the LICENSE file in the root directory of this source tree.
|
|
8014
8013
|
*/
|
|
8015
|
-
const
|
|
8014
|
+
const ya=ve("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);
|
|
8016
8015
|
/**
|
|
8017
8016
|
* @license lucide-react v0.294.0 - ISC
|
|
8018
8017
|
*
|
|
@@ -8550,7 +8549,7 @@ ve("TramFront",[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}
|
|
|
8550
8549
|
* This source code is licensed under the ISC license.
|
|
8551
8550
|
* See the LICENSE file in the root directory of this source tree.
|
|
8552
8551
|
*/
|
|
8553
|
-
const
|
|
8552
|
+
const ha=ve("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);
|
|
8554
8553
|
/**
|
|
8555
8554
|
* @license lucide-react v0.294.0 - ISC
|
|
8556
8555
|
*
|
|
@@ -8857,7 +8856,7 @@ ve("UserRoundX",[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",
|
|
|
8857
8856
|
* This source code is licensed under the ISC license.
|
|
8858
8857
|
* See the LICENSE file in the root directory of this source tree.
|
|
8859
8858
|
*/
|
|
8860
|
-
const
|
|
8859
|
+
const da=ve("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);
|
|
8861
8860
|
/**
|
|
8862
8861
|
* @license lucide-react v0.294.0 - ISC
|
|
8863
8862
|
*
|
|
@@ -9185,7 +9184,7 @@ ve("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-
|
|
|
9185
9184
|
* This source code is licensed under the ISC license.
|
|
9186
9185
|
* See the LICENSE file in the root directory of this source tree.
|
|
9187
9186
|
*/
|
|
9188
|
-
const
|
|
9187
|
+
const ka=ve("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);
|
|
9189
9188
|
/**
|
|
9190
9189
|
* @license lucide-react v0.294.0 - ISC
|
|
9191
9190
|
*
|
|
@@ -9205,7 +9204,7 @@ ve("XSquare",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3
|
|
|
9205
9204
|
* This source code is licensed under the ISC license.
|
|
9206
9205
|
* See the LICENSE file in the root directory of this source tree.
|
|
9207
9206
|
*/
|
|
9208
|
-
const
|
|
9207
|
+
const pa=ve("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);
|
|
9209
9208
|
/**
|
|
9210
9209
|
* @license lucide-react v0.294.0 - ISC
|
|
9211
9210
|
*
|
|
@@ -9239,5 +9238,5 @@ ve("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2
|
|
|
9239
9238
|
* This source code is licensed under the ISC license.
|
|
9240
9239
|
* See the LICENSE file in the root directory of this source tree.
|
|
9241
9240
|
*/
|
|
9242
|
-
ve("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var pa=function(e){var a=e.src,t=e.loading,y=M(a?"loading":"pending"),h=y[0],d=y[1];return s((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},ia={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},ra={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},na=w.span((function(e){var a=e.theme,t=e.size;return{width:ia[t],height:ia[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),ca=w.img({width:"100%",height:"100%",objectFit:"cover"}),la=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,i=z(a,["src","name","size"]),r=k(),n=pa({src:y,loading:"eager"}).loadingStatus,c=ra[p];return e(na,b({ref:t,size:p},i,{children:"loaded"===n?e(ca,{src:y,alt:h}):e(ha,{color:r.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),oa=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ma=V((function(e){return oa.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),sa=$((function(){return{sm:{fontSize:K(8)},md:{fontSize:K(16)}}})),xa=w.span((function(e){var a=e.theme,t=e.size;return b(b({color:a.colors.core.brown,display:"inline-flex"},sa(a)[t]),{gap:K(6)})})),va=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ma=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:va}),ua=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=z(t,["size"]);return a(xa,b({ref:y,size:d},k,{children:[e(ma,{}),e(ma,{}),e(ma,{})]}))})),ga=$((function(e){var a=e.typography,t=e.spacing;return{xs:b({height:K(32),minWidth:K(64),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:b({height:K(40),minWidth:K(80),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:b({height:K(48),minWidth:K(96),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:b({height:K(56),minWidth:K(112),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:b({height:K(64),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md)}})),fa=$((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),wa=w("button",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return b(b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},ga(a)[t]),fa(a)[y]),h&&{width:"100%"})})),ba=w(ua)({position:"absolute",color:"currentColor"}),za=w.span((function(e){return{opacity:e.isHidden?0:1,transition:"opacity 120ms",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),qa=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,i=t.size,r=void 0===i?"md":i,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,M=t.isLoading,s=void 0!==M&&M,x=t.isDisabled,v=void 0!==x&&x,m=t.disabled,u=z(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled"]);return a(wa,b({as:h,ref:y,variant:c,size:r,isFullWidth:o,disabled:v||m||s,type:p},u,{children:[e(za,b({isHidden:s},{children:d})),s&&e(ba,{size:"sm","data-testid":"button-spinner"})]}))})),ja=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Ha=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=z(a,["orientation"]);return e(ja,b({ref:t,orientation:h,role:"separator"},d))})),Va=$((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),Ca=w("h2",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},Va(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),La=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,i=void 0===p?"default":p,r=a.textAlign,n=void 0===r?"left":r,c=z(a,["as","children","size","color","textAlign"]);return e(Ca,b({as:y,ref:t,textAlign:n,size:k,color:i},c,{children:h}))})),Aa=w.aside((function(e){var a=e.theme;return b({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Sa=w.p((function(e){var a=e.theme;return b(b({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Za=l((function(a,t){var y=a.children,h=z(a,["children"]);return e(Aa,b({ref:t},h,{children:y}))})),Fa=Object.assign(Za,{Title:Sa}),Pa=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"strong":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Ba=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=x.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,i=z(a,["size"]);return e(Pa,b({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},i,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Da=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,i=void 0===p?"default":p,r=z(t,["size","color"]),n=k(),c="currentColor"===i?"currentcolor":n.colors.icon[i];return e(a,b({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},r))}));return t.displayName=a.displayName,t},Ta=Da(me),Ra=Da(ue),Oa=Da(ge),Wa=Da(fe),Ea=Da(we),Ua=Da(be),Ia=Da(qe),Na=Da(ze),Ga=Da(je),$a=Da(He),Xa=Da(Ve),_a=Da(Ce),Ka=Da(Le),Ya=Da(Ae),Ja=Da(Se),Qa=Da(Ze),et=Da(Fe),at=Da(Pe),tt=Ba({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),yt=Da(Be),ht=Da(De),dt=Da(Te),kt=Da(Re),pt=Da(Oe),it=Da(Ee),rt=Da(We),nt=Da(Ue),ct=Da(Ne),lt=Da(Ie),ot=Da(Ge),Mt=Da($e),st=Da(Xe),xt=Da(_e),vt=Da(Ke),mt=Da(Ye),ut=Da(Je),gt=Da(ea),ft=Da(aa),wt=Da(Qe),bt=Ba({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),zt=Da(ta),qt=Da(ya),jt=Da(ha),Ht=Da(da),Vt=Da(ka),Ct=$((function(){return{xs:{width:K(32),height:K(32),fontSize:K(12)},sm:{width:K(40),height:K(40),fontSize:K(14)},md:{width:K(48),height:K(48),fontSize:K(16)}}})),Lt=$((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20},":active":{background:d.core.gray20}}},h)}})),At=w("button",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.size,y=e.variant;return b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},Ct(a)[t]),Lt(a)[y])})),St=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,i=a.variant,r=void 0===i?"ghost":i,n=a.size,c=void 0===n?"md":n,l=a.type,M=void 0===l?"button":l,s=a.isDisabled,x=void 0!==s&&s,v=z(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(At,b({as:y,ref:t,"aria-label":p,variant:r,size:c,disabled:x,type:M},v,{children:o(h,{"aria-hidden":!0,size:16,color:"currentColor"})}))})),Zt=p({"0%":{opacity:.5},"100%":{opacity:1}}),Ft=w.div((function(e){var a=e.theme,t=e.$width,y=e.$height,h=e.borderRadius,d=e.isLoading;return b(b({width:t,height:y,borderRadius:a.radii[h],overflow:"hidden",transition:"background-color 180ms",background:"transparent",border:"1px solid ".concat(a.colors.core.gray20)},d&&{background:a.colors.core.gray20,animationDuration:"0.8s",animationDirection:"alternate",animationIterationCount:"infinite"}),{animationName:d?Zt:void 0})})),Pt=w.img((function(e){return{width:"100%",height:"100%",objectFit:"cover",opacity:e.isVisible?1:0,transition:"opacity 180ms"}}));function Bt(a){var t=a.src,y=a.loading,h=void 0===y?"lazy":y,d=a.width,k=a.height,p=a.borderRadius,i=void 0===p?"md":p,r=z(a,["src","loading","width","height","borderRadius"]),n=pa({src:t,loading:h}).loadingStatus;return e(Ft,b({isLoading:"loading"===n,$width:d,$height:k,borderRadius:i},{children:e(Pt,b({src:t,isVisible:"loaded"===n,loading:h},r))}))}var Dt=Object.entries(pe.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),Tt=Dt.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==Dt?void 0:Dt[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),Rt=function(){var e=Tt.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function Ot(e){var a=(e||{}).ssr,t=M(void 0!==a&&a?"base":Rt),y=t[0],h=t[1];return s((function(){var e=Tt.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(Rt())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function Wt(e,a){var t,y=Ot(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(J),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var Et=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?v:function(){},Ut=i["useId".toString()]||function(){},It=0;function Nt(e){var a=M(Ut()),t=a[0],y=a[1];return Et((function(){e||y((function(e){return null!=e?e:String(It++)}))}),[e]),e||(t?"qds-".concat(t):"")}var Gt=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=Nt(a),i="".concat(p,"-error"),r="".concat(p,"-helper"),n=m((function(e){return b(b({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=m((function(e){return b(b({},e),{id:r,"data-disabled":t?"":void 0})}),[r,t]),l=m((function(e){return b(b({},e),{id:i,"aria-live":"polite"})}),[i]);return{getLabelProps:n,getFieldProps:m((function(e){var a,n=[];return Boolean(h)&&d?n.push(i):y&&n.push(r),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),b(b({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,i,y,r,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},$t={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function Xt(){var e=function(){var e=n(oe);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return $t[e][a]}}}var _t=$((function(e){var a=e.typography;return{sm:b({},a.label.sm),md:b({},a.label.md)}})),Kt=w("label",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.color,y=e.size;return b(b({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},_t(a)[y]),{"&[data-disabled]":{opacity:.4}})})),Yt=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,i=void 0===p?"md":p,r=a.onMouseDown,n=z(a,["as","children","color","size","onMouseDown"]);return e(Kt,b({as:y,ref:t},n,{size:i,color:k,onMouseDown:function(e){r&&r(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),Jt=w("input")((function(e){var a=e.theme;return b(b({},Y(a)),{height:48})})),Qt=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=z(a,["isInvalid","isDisabled","isRequired"]);return e(Jt,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),ey=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function ay(a){var t=a.children;return e(ey,b({role:"group"},{children:t}))}var ty=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.negative})})),yy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),hy=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),dy=w.span((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle})})),ky=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),py=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,i=t.isOptional,r=t.errorMessage,n=t.helperText,c=t.suffix,l=z(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=Gt(t),s=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,g=M(void 0),f=g[0],w=g[1],q=u(null),j=Xt().t;Et((function(){var e;w(null===(e=q.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(yy,b({},m(),{children:n})):null,V=d&&r?e(ty,b({},v(),{children:r})):null,C=Boolean(c),L=Boolean(!p&&i);return a(ay,{children:[a(Yt,b({},s(),{children:[h,L&&e(dy,{children:" (".concat(j("optional"),")")})]})),a(hy,b({isPositionRelative:C},{children:[e(Qt,b({ref:y},x(b(b({},l),{style:{paddingRight:f}})))),C&&e(ky,b({ref:q,"aria-hidden":"true","data-disabled":k?"":void 0},{children:c}))]})),V||H]})})),iy=w("a",{shouldForwardProp:Ma})((function(e){var a=e.theme;return b(b({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),ry=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=z(a,["children","href","isExternal"]);return e(iy,b({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),ny=$((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),cy=w("p",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},ny(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),ly=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,i=a.textAlign,r=void 0===i?"left":i,n=z(a,["children","size","color","textAlign"]);return e(cy,b({ref:t,size:d,color:p,textAlign:r},n,{children:y}))})),oy=w.div({width:"100%",height:"fit-content",position:"relative"}),My=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),sy=w.select((function(e){var a=e.theme;return b(b({},Y(a)),{height:48,paddingRight:40})})),xy=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,i=t.isRequired,r=z(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(oy,{children:[a(sy,b({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:i},r,{children:[h&&e("option",b({value:""},{children:h})),d]})),e(My,b({"data-disabled":p?"":void 0},{children:e(Ya,{role:"presentation","aria-hidden":"true",size:16})}))]})})),vy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=Y(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return b(b({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),my=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,i=a.minRows,r=void 0===i?3:i,n=z(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(vy,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:r},n))})),uy=l((function(a,t){var y=a.children,h=a.isDisabled,d=z(a,["children","isDisabled"]);return e("option",b({ref:t,disabled:h},d,{children:y}))})),gy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,i=t.helperText,r=z(t,["children","label","isInvalid","errorMessage","helperText"]),n=Gt(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,M=n.getHelperTextProps,s=i?e(yy,b({},M(),{children:i})):null,x=k&&p?e(ty,b({},o(),{children:p})):null;return a(ay,{children:[e(Yt,b({},c(),{children:d})),e(xy,b({ref:y},l(r),{children:h})),x||s]})})),fy=Object.assign(gy,{Option:uy}),wy=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=z(a,["axis","size"]),i=k().spacing[d],r="y"===h?1:i,n="x"===h?1:i;return e("span",b({ref:t,"aria-hidden":"true"},p,{style:b({display:"block",width:r,minWidth:r,height:n,minHeight:n},p.style)}))}));var by=w("div",{shouldForwardProp:Ma})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),zy=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,i=t.justifyContent,r=void 0===i?"flex-start":i,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,M=void 0===o?"0x":o,s=z(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),v=Boolean(l)?function(e){return x.toArray(e).filter((function(e){return g(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(f,{children:[e,d?null:l]},h)})):d;return e(by,b({as:h,ref:y,direction:p,justifyContent:r,alignItems:c,gap:M},s,{children:v}))})),qy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,i=z(t,["label","isInvalid","errorMessage","helperText"]),r=Gt(t),n=r.getLabelProps,c=r.getFieldProps,l=r.getErrorMessageProps,o=r.getHelperTextProps,M=p?e(yy,b({},o(),{children:p})):null,s=d&&k?e(ty,b({},l(),{children:k})):null;return a(ay,{children:[e(Yt,b({},n(),{children:h})),e(my,b({ref:y},c(i))),s||M]})}));export{Ta as AlertCircleIcon,Ra as AlertTriangleIcon,Oa as ArrowDownIcon,Wa as ArrowLeftIcon,Ea as ArrowRightIcon,Ua as ArrowUpIcon,la as Avatar,Ia as BellIcon,Na as BellOffIcon,Ga as BookmarkIcon,qa as Button,$a as CalendarIcon,Xa as CameraIcon,_a as CheckCircleIcon,Ka as CheckIcon,Ya as ChevronDownIcon,Ja as ChevronLeftIcon,Qa as ChevronRightIcon,et as ChevronUpIcon,Ha as Divider,G as GlobalStyles,at as GlobeIcon,La as Heading,tt as HeartFilledIcon,yt as HeartIcon,ht as HelpCircleIcon,Fa as HintBox,dt as HistoryIcon,kt as HomeIcon,St as IconButton,Bt as Image,pt as ImageIcon,Qt as InputBase,Yt as Label,ry as Link,rt as ListFilterIcon,it as ListIcon,ua as LoadingDots,nt as LogOutIcon,ct as MapIcon,lt as MapPinIcon,ot as MenuIcon,Mt as MessageCircleIcon,st as MinusIcon,xt as MoreHorizontalIcon,vt as MoreVerticalIcon,ly as Paragraph,mt as PlusIcon,se as QdsProvider,ut as SearchIcon,fy as Select,xy as SelectBase,gt as SettingsIcon,ft as ShareIcon,wt as SlidersIcon,wy as Spacer,zy as Stack,bt as StarFilledIcon,zt as StarIcon,py as TextField,qy as Textarea,my as TextareaBase,qt as TrashIcon,jt as UserIcon,Ht as XCircleIcon,Vt as XIcon,Ba as createIcon,Da as createLucideIcon,X as createStyle,$ as createStyleVariants,Y as getFormFieldBaseStyles,ne as overrideTheme,K as pxToRem,pe as theme,Ot as useBreakpoint,Wt as useBreakpointValue,Gt as useFormField,pa as useImage,Et as useSafeLayoutEffect,Nt as useStableId};
|
|
9241
|
+
ve("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var ia=function(e){var a=e.src,t=e.loading,y=M(a?"loading":"pending"),h=y[0],d=y[1];return s((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},ra={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},na={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},ca=w.span((function(e){var a=e.theme,t=e.size;return{width:ra[t],height:ra[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),la=w.img({width:"100%",height:"100%",objectFit:"cover"}),oa=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,i=z(a,["src","name","size"]),r=k(),n=ia({src:y,loading:"eager"}).loadingStatus,c=na[p];return e(ca,b({ref:t,size:p},i,{children:"loaded"===n?e(la,{src:y,alt:h}):e(da,{color:r.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),Ma=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sa=V((function(e){return Ma.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),xa=$((function(){return{sm:{fontSize:K(8)},md:{fontSize:K(16)}}})),va=w.span((function(e){var a=e.theme,t=e.size;return b(b({color:a.colors.core.brown,display:"inline-flex"},xa(a)[t]),{gap:K(6)})})),ma=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ua=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:ma}),ga=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=z(t,["size"]);return a(va,b({ref:y,size:d},k,{children:[e(ua,{}),e(ua,{}),e(ua,{})]}))})),fa=$((function(e){var a=e.typography,t=e.spacing;return{xs:b({height:K(32),minWidth:K(64),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:b({height:K(40),minWidth:K(80),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:b({height:K(48),minWidth:K(96),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:b({height:K(56),minWidth:K(112),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:b({height:K(64),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md)}})),wa=$((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),ba=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return b(b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},fa(a)[t]),wa(a)[y]),h&&{width:"100%"})})),za=w(ga)({position:"absolute",color:"currentColor"}),qa=w.span((function(e){return{opacity:e.isHidden?0:1,transition:"opacity 120ms",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),ja=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,i=t.size,r=void 0===i?"md":i,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,M=t.isLoading,s=void 0!==M&&M,x=t.isDisabled,v=void 0!==x&&x,m=t.disabled,u=z(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled"]);return a(ba,b({as:h,ref:y,variant:c,size:r,isFullWidth:o,disabled:v||m||s,type:p},u,{children:[e(qa,b({isHidden:s},{children:d})),s&&e(za,{size:"sm","data-testid":"button-spinner"})]}))})),Ha=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Va=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=z(a,["orientation"]);return e(Ha,b({ref:t,orientation:h,role:"separator"},d))})),Ca=$((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),La=w("h2",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},Ca(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),Aa=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,i=void 0===p?"default":p,r=a.textAlign,n=void 0===r?"left":r,c=z(a,["as","children","size","color","textAlign"]);return e(La,b({as:y,ref:t,textAlign:n,size:k,color:i},c,{children:h}))})),Sa=w.aside((function(e){var a=e.theme;return b({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Za=w.p((function(e){var a=e.theme;return b(b({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Fa=l((function(a,t){var y=a.children,h=z(a,["children"]);return e(Sa,b({ref:t},h,{children:y}))})),Pa=Object.assign(Fa,{Title:Za}),Ba=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"strong":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Da=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=x.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,i=z(a,["size"]);return e(Ba,b({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},i,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Ta=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,i=void 0===p?"default":p,r=z(t,["size","color"]),n=k(),c="currentColor"===i?"currentcolor":n.colors.icon[i];return e(a,b({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},r))}));return t.displayName=a.displayName,t},Ra=Ta(me),Oa=Ta(ue),Wa=Ta(ge),Ea=Ta(fe),Ua=Ta(we),Ia=Ta(be),Na=Ta(qe),Ga=Ta(ze),$a=Ta(je),Xa=Ta(He),_a=Ta(Ve),Ka=Ta(Ce),Ya=Ta(Le),Ja=Ta(Ae),Qa=Ta(Se),et=Ta(Ze),at=Ta(Fe),tt=Ta(Pe),yt=Da({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),ht=Ta(Be),dt=Ta(De),kt=Ta(Te),pt=Ta(Re),it=Ta(Oe),rt=Ta(Ee),nt=Ta(We),ct=Ta(Ue),lt=Ta(Ne),ot=Ta(Ie),Mt=Ta(Ge),st=Ta($e),xt=Ta(Xe),vt=Ta(_e),mt=Ta(Ke),ut=Ta(Ye),gt=Ta(Je),ft=Ta(Qe),wt=Ta(aa),bt=Ta(ta),zt=Ta(ea),qt=Da({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),jt=Ta(ya),Ht=Ta(ha),Vt=Ta(da),Ct=Ta(ka),Lt=Ta(pa),At=$((function(){return{xs:{width:K(32),height:K(32),fontSize:K(12)},sm:{width:K(40),height:K(40),fontSize:K(14)},md:{width:K(48),height:K(48),fontSize:K(16)}}})),St=$((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20},":active":{background:d.core.gray20}}},h)}})),Zt=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant;return b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},At(a)[t]),St(a)[y])})),Ft=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,i=a.variant,r=void 0===i?"ghost":i,n=a.size,c=void 0===n?"md":n,l=a.type,M=void 0===l?"button":l,s=a.isDisabled,x=void 0!==s&&s,v=z(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(Zt,b({as:y,ref:t,"aria-label":p,variant:r,size:c,disabled:x,type:M},v,{children:o(h,{"aria-hidden":!0,size:16,color:"currentColor"})}))})),Pt=p({"0%":{opacity:.5},"100%":{opacity:1}}),Bt=w.div((function(e){var a=e.theme,t=e.$width,y=e.$height,h=e.borderRadius,d=e.isLoading;return b(b({width:t,height:y,borderRadius:a.radii[h],overflow:"hidden",transition:"background-color 180ms",background:"transparent",border:"1px solid ".concat(a.colors.core.gray20)},d&&{background:a.colors.core.gray20,animationDuration:"0.8s",animationDirection:"alternate",animationIterationCount:"infinite"}),{animationName:d?Pt:void 0})})),Dt=w.img((function(e){return{width:"100%",height:"100%",objectFit:"cover",opacity:e.isVisible?1:0,transition:"opacity 180ms"}}));function Tt(a){var t=a.src,y=a.loading,h=void 0===y?"lazy":y,d=a.width,k=a.height,p=a.borderRadius,i=void 0===p?"md":p,r=z(a,["src","loading","width","height","borderRadius"]),n=ia({src:t,loading:h}).loadingStatus;return e(Bt,b({isLoading:"loading"===n,$width:d,$height:k,borderRadius:i},{children:e(Dt,b({src:t,isVisible:"loaded"===n,loading:h},r))}))}var Rt=Object.entries(pe.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),Ot=Rt.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==Rt?void 0:Rt[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),Wt=function(){var e=Ot.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function Et(e){var a=(e||{}).ssr,t=M(void 0!==a&&a?"base":Wt),y=t[0],h=t[1];return s((function(){var e=Ot.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(Wt())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function Ut(e,a){var t,y=Et(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(J),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var It=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?v:function(){},Nt=i["useId".toString()]||function(){},Gt=0;function $t(e){var a=M(Nt()),t=a[0],y=a[1];return It((function(){e||y((function(e){return null!=e?e:String(Gt++)}))}),[e]),e||(t?"qds-".concat(t):"")}var Xt=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=$t(a),i="".concat(p,"-error"),r="".concat(p,"-helper"),n=m((function(e){return b(b({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=m((function(e){return b(b({},e),{id:r,"data-disabled":t?"":void 0})}),[r,t]),l=m((function(e){return b(b({},e),{id:i,"aria-live":"polite"})}),[i]);return{getLabelProps:n,getFieldProps:m((function(e){var a,n=[];return Boolean(h)&&d?n.push(i):y&&n.push(r),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),b(b({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,i,y,r,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},_t={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function Kt(){var e=function(){var e=n(oe);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return _t[e][a]}}}var Yt=$((function(e){var a=e.typography;return{sm:b({},a.label.sm),md:b({},a.label.md)}})),Jt=w("label",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.color,y=e.size;return b(b({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},Yt(a)[y]),{"&[data-disabled]":{opacity:.4}})})),Qt=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,i=void 0===p?"md":p,r=a.onMouseDown,n=z(a,["as","children","color","size","onMouseDown"]);return e(Jt,b({as:y,ref:t},n,{size:i,color:k,onMouseDown:function(e){r&&r(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),ey=w("input")((function(e){var a=e.theme;return b(b({},Y(a)),{height:48})})),ay=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=z(a,["isInvalid","isDisabled","isRequired"]);return e(ey,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),ty=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function yy(a){var t=a.children;return e(ty,b({role:"group"},{children:t}))}var hy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.negative})})),dy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),ky=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),py=w.span((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle})})),iy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),ry=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,i=t.isOptional,r=t.errorMessage,n=t.helperText,c=t.suffix,l=z(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=Xt(t),s=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,g=M(void 0),f=g[0],w=g[1],q=u(null),j=Kt().t;It((function(){var e;w(null===(e=q.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(dy,b({},m(),{children:n})):null,V=d&&r?e(hy,b({},v(),{children:r})):null,C=Boolean(c),L=Boolean(!p&&i);return a(yy,{children:[a(Qt,b({},s(),{children:[h,L&&e(py,{children:" (".concat(j("optional"),")")})]})),a(ky,b({isPositionRelative:C},{children:[e(ay,b({ref:y},x(b(b({},l),{style:{paddingRight:f}})))),C&&e(iy,b({ref:q,"aria-hidden":"true","data-disabled":k?"":void 0},{children:c}))]})),V||H]})})),ny=w("a",{shouldForwardProp:sa})((function(e){var a=e.theme;return b(b({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),cy=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=z(a,["children","href","isExternal"]);return e(ny,b({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),ly=$((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),oy=w("p",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},ly(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),My=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,i=a.textAlign,r=void 0===i?"left":i,n=z(a,["children","size","color","textAlign"]);return e(oy,b({ref:t,size:d,color:p,textAlign:r},n,{children:y}))})),sy=w.div({width:"100%",height:"fit-content",position:"relative"}),xy=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),vy=w.select((function(e){var a=e.theme;return b(b({},Y(a)),{height:48,paddingRight:40})})),my=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,i=t.isRequired,r=z(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(sy,{children:[a(vy,b({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:i},r,{children:[h&&e("option",b({value:""},{children:h})),d]})),e(xy,b({"data-disabled":p?"":void 0},{children:e(Ja,{role:"presentation","aria-hidden":"true",size:16})}))]})})),uy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=Y(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return b(b({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),gy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,i=a.minRows,r=void 0===i?3:i,n=z(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(uy,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:r},n))})),fy=l((function(a,t){var y=a.children,h=a.isDisabled,d=z(a,["children","isDisabled"]);return e("option",b({ref:t,disabled:h},d,{children:y}))})),wy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,i=t.helperText,r=z(t,["children","label","isInvalid","errorMessage","helperText"]),n=Xt(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,M=n.getHelperTextProps,s=i?e(dy,b({},M(),{children:i})):null,x=k&&p?e(hy,b({},o(),{children:p})):null;return a(yy,{children:[e(Qt,b({},c(),{children:d})),e(my,b({ref:y},l(r),{children:h})),x||s]})})),by=Object.assign(wy,{Option:fy}),zy=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=z(a,["axis","size"]),i=k().spacing[d],r="y"===h?1:i,n="x"===h?1:i;return e("span",b({ref:t,"aria-hidden":"true"},p,{style:b({display:"block",width:r,minWidth:r,height:n,minHeight:n},p.style)}))}));var qy=w("div",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),jy=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,i=t.justifyContent,r=void 0===i?"flex-start":i,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,M=void 0===o?"0x":o,s=z(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),v=Boolean(l)?function(e){return x.toArray(e).filter((function(e){return g(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(f,{children:[e,d?null:l]},h)})):d;return e(qy,b({as:h,ref:y,direction:p,justifyContent:r,alignItems:c,gap:M},s,{children:v}))})),Hy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,i=z(t,["label","isInvalid","errorMessage","helperText"]),r=Xt(t),n=r.getLabelProps,c=r.getFieldProps,l=r.getErrorMessageProps,o=r.getHelperTextProps,M=p?e(dy,b({},o(),{children:p})):null,s=d&&k?e(hy,b({},l(),{children:k})):null;return a(yy,{children:[e(Qt,b({},n(),{children:h})),e(gy,b({ref:y},c(i))),s||M]})}));export{Ra as AlertCircleIcon,Oa as AlertTriangleIcon,Wa as ArrowDownIcon,Ea as ArrowLeftIcon,Ua as ArrowRightIcon,Ia as ArrowUpIcon,oa as Avatar,Na as BellIcon,Ga as BellOffIcon,$a as BookmarkIcon,ja as Button,Xa as CalendarIcon,_a as CameraIcon,Ka as CheckCircleIcon,Ya as CheckIcon,Ja as ChevronDownIcon,Qa as ChevronLeftIcon,et as ChevronRightIcon,at as ChevronUpIcon,Va as Divider,G as GlobalStyles,tt as GlobeIcon,Aa as Heading,yt as HeartFilledIcon,ht as HeartIcon,dt as HelpCircleIcon,Pa as HintBox,kt as HistoryIcon,pt as HomeIcon,Ft as IconButton,Tt as Image,it as ImageIcon,ay as InputBase,Qt as Label,cy as Link,nt as ListFilterIcon,rt as ListIcon,ga as LoadingDots,ct as LogOutIcon,lt as MapIcon,ot as MapPinIcon,Mt as MenuIcon,st as MessageCircleIcon,xt as MinusIcon,vt as MoreHorizontalIcon,mt as MoreVerticalIcon,My as Paragraph,ut as PenIcon,gt as PlusIcon,se as QdsProvider,ft as SearchIcon,by as Select,my as SelectBase,wt as SettingsIcon,bt as ShareIcon,zt as SlidersIcon,zy as Spacer,jy as Stack,qt as StarFilledIcon,jt as StarIcon,ry as TextField,Hy as Textarea,gy as TextareaBase,Ht as TrashIcon,Vt as UserIcon,Ct as XCircleIcon,Lt as XIcon,Da as createIcon,Ta as createLucideIcon,X as createStyle,$ as createStyleVariants,Y as getFormFieldBaseStyles,ne as overrideTheme,K as pxToRem,pe as theme,Et as useBreakpoint,Ut as useBreakpointValue,Xt as useFormField,ia as useImage,It as useSafeLayoutEffect,$t as useStableId};
|
|
9243
9242
|
//# sourceMappingURL=index.js.map
|