@yahoo/uds 2.3.1 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/codemods/addCommentAboveComponents.ts +147 -0
- package/cli/commands/codemod/buttonType.ts +20 -0
- package/dist/{chunk-DMMTEAJW.cjs → chunk-6URF5YHM.cjs} +1 -1
- package/dist/{chunk-ZV62SW5G.js → chunk-AJYO7N7R.js} +1 -1
- package/dist/{chunk-JGIKFUBH.cjs → chunk-D5NBUCDY.cjs} +1 -1
- package/dist/{chunk-PFT3UA6K.cjs → chunk-GIKZRY45.cjs} +1 -1
- package/dist/{chunk-YM5TKITI.js → chunk-GRZ5XQ3F.js} +1 -1
- package/dist/{chunk-P5B5IOMM.js → chunk-HNDH4G6I.js} +2 -2
- package/dist/{chunk-3PK6DOFO.js → chunk-QYZNWDRL.js} +2 -2
- package/dist/{chunk-YUHY3FXT.cjs → chunk-TNA4SFJT.cjs} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +3 -3
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/fixtures.cjs +2 -0
- package/dist/fixtures.d.cts +1 -1
- package/dist/fixtures.d.ts +1 -1
- package/dist/fixtures.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/motionFeatures-HQUM526D.cjs +1 -0
- package/dist/motionFeatures-PRT45UQH.js +1 -0
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +2 -2
- package/dist/tailwind/plugin.d.ts +2 -2
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +2 -2
- package/dist/tailwind/utils.d.ts +2 -2
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +2 -2
- package/dist/tokens/parseTokens.d.ts +2 -2
- package/dist/{types-DsMvZpWN.d.cts → types-i8FyOTfl.d.cts} +13 -1
- package/dist/{types-DsMvZpWN.d.ts → types-i8FyOTfl.d.ts} +13 -1
- package/package.json +4 -4
- package/cli/PropsToClass.mock.tsx +0 -14
- package/dist/motionFeatures-I76FFCTS.js +0 -1
- package/dist/motionFeatures-P3FQL2KP.cjs +0 -1
@@ -1,3 +1,3 @@
|
|
1
1
|
"use client";
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("framer-motion"),t=require("@yahoo/uds/fixtures"),o=require("@yahoo/uds/flags"),n=require("clsx"),a=require("imurmurhash"),i=require("tailwind-merge"),l=require("react"),s=require("@yahoo/uds/client"),d=require("@ariakit/react"),p=require("react-toastify");function c(e){return e&&e.__esModule?e:{default:e}}var m=c(n),b=c(a),u=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})},x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e.jsx(e.Fragment,{})},f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})},g=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function h(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var y="uds",w={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${y}-color-mode-dark`,light:`${y}-color-mode-light`},scaleMode:{xSmall:`${y}-scale-mode-xsmall`,small:`${y}-scale-mode-small`,medium:`${y}-scale-mode-medium`,large:`${y}-scale-mode-large`,xLarge:`${y}-scale-mode-xlarge`,xxxLarge:`${y}-scale-mode-xxxlarge`,xxLarge:`${y}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function v(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var j,C=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),z=(...e)=>{const r=m.default(e);return C(r)},k=(j={variants:w},e=>{if(!j?.variants)return z(j?.base,e?.className);const{variants:r,defaultVariants:t}=j,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],i=h(n)||h(a);return r[o][i]})),n={...t,...e&&v(e)},a=j?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?z(e,r):e),"");return z(j?.base,o,a,e?.className)}),S=new Map,T=e=>{const{useGetStylesCache:r}=o.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(v(e)),t=(new b.default).hash(JSON.stringify(r)).result();if(S.has(t))return S.get(t);const o=k(r);return S.set(t,o),o}return k(e)};function W(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function B(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?W(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var N=B(),R=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:W,flexWrap:B,justifyContent:R,flexBasis:H,display:V="flex",overflow:E,overflowX:P,overflowY:F,position:M,spacing:D,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,...ee},re){const te=T({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:W,flexWrap:B,justifyContent:R,flexBasis:H,display:V,overflow:E,overflowX:P,overflowY:F,position:M,spacing:D,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,className:t}),oe=r?N:"div";return e.jsx(oe,{className:te,ref:re,...ee})})),H=l.forwardRef((function({gap:r,...t},o){return e.jsx(R,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),V={sm:16,md:24,lg:32},E=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...i},l){const s=T({color:n,flex:"none",className:a}),d=V[t];return e.jsx("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e.jsx(r,{size:t,variant:o})})})),P=B(),F={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},M=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=F[n],fontSize:i=n,fontFamily:l=n,fontWeight:s=n,lineHeight:d=n,textTransform:p=n,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:V,flex:E,flexDirection:M,flexGrow:D,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de,...pe},ce){const me=T({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:V,flex:E,flexDirection:M,flexGrow:D,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de}),be=t?P:a;return e.jsx(be,{className:me,ref:ce,...pe})})),D=l.forwardRef((function({gap:r,...t},o){return e.jsx(R,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));var I={accent:"on-color",secondary:"primary"},G={accent:"on-color",secondary:"tertiary"};var L=d.Popover,q=d.PopoverArrow,A=d.PopoverAnchor,$=d.PopoverDescription,O=d.PopoverDismiss,_=d.PopoverProvider,X=d.PopoverDisclosure,Y=d.PopoverDisclosureArrow,J=_,Z=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const i=d.usePopoverStore(),p=l.useCallback((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e.jsx(s.Pressable,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:z(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?p:void 0,ref:a,...n,children:r})}));var K=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(D,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:z("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs(L,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx(q,{className:"!stroke-2"}),r]})})}));var Q=d.DialogDismiss,U=B();var ee=l.forwardRef((function({className:r,...t},o){const n=T({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(d.TabList,{ref:o,...t,className:n})})),re=l.forwardRef((function(r,t){const o=d.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(d.TabPanel,{ref:t,tabId:n,...r})}));function te({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:z(T({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function oe({children:r,required:t}){return e.jsxs(M,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(M,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var ne=T({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),ae=T({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ie=T({backgroundColor:"positive"}),le=T({backgroundColor:"alert"}),se=T({backgroundColor:"accent"}),de=T({backgroundColor:"warning"}),pe=T({backgroundColor:"accent"}),ce=T({backgroundColor:"brand"}),me=T({backgroundColor:"accent"}),be=e=>"default"===e?.type?z(ne,me):e?.defaultClassName??"";function ue(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:ie,error:le,info:se,warning:de,default:pe,dark:ce}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return z(n,o)}function xe({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(s.IconButton,{name:f,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("motion/react"),t=require("@yahoo/uds/fixtures"),o=require("@yahoo/uds/flags"),n=require("clsx"),a=require("imurmurhash"),i=require("tailwind-merge"),l=require("react"),s=require("@yahoo/uds/client"),d=require("@ariakit/react"),p=require("react-toastify");function c(e){return e&&e.__esModule?e:{default:e}}var m=c(n),b=c(a),u=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})},x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e.jsx(e.Fragment,{})},f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})},g=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function h(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var y="uds",w={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${y}-color-mode-dark`,light:`${y}-color-mode-light`},scaleMode:{xSmall:`${y}-scale-mode-xsmall`,small:`${y}-scale-mode-small`,medium:`${y}-scale-mode-medium`,large:`${y}-scale-mode-large`,xLarge:`${y}-scale-mode-xlarge`,xxxLarge:`${y}-scale-mode-xxxlarge`,xxLarge:`${y}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function v(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var j,C=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),z=(...e)=>{const r=m.default(e);return C(r)},k=(j={variants:w},e=>{if(!j?.variants)return z(j?.base,e?.className);const{variants:r,defaultVariants:t}=j,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],i=h(n)||h(a);return r[o][i]})),n={...t,...e&&v(e)},a=j?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?z(e,r):e),"");return z(j?.base,o,a,e?.className)}),S=new Map,T=e=>{const{useGetStylesCache:r}=o.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(v(e)),t=(new b.default).hash(JSON.stringify(r)).result();if(S.has(t))return S.get(t);const o=k(r);return S.set(t,o),o}return k(e)};function W(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function B(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?W(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var N=B(),R=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:W,flexWrap:B,justifyContent:R,flexBasis:H,display:V="flex",overflow:E,overflowX:P,overflowY:F,position:M,spacing:D,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,...ee},re){const te=T({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:W,flexWrap:B,justifyContent:R,flexBasis:H,display:V,overflow:E,overflowX:P,overflowY:F,position:M,spacing:D,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,className:t}),oe=r?N:"div";return e.jsx(oe,{className:te,ref:re,...ee})})),H=l.forwardRef((function({gap:r,...t},o){return e.jsx(R,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),V={sm:16,md:24,lg:32},E=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...i},l){const s=T({color:n,flex:"none",className:a}),d=V[t];return e.jsx("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e.jsx(r,{size:t,variant:o})})})),P=B(),F={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},M=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=F[n],fontSize:i=n,fontFamily:l=n,fontWeight:s=n,lineHeight:d=n,textTransform:p=n,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:V,flex:E,flexDirection:M,flexGrow:D,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de,...pe},ce){const me=T({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:V,flex:E,flexDirection:M,flexGrow:D,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de}),be=t?P:a;return e.jsx(be,{className:me,ref:ce,...pe})})),D=l.forwardRef((function({gap:r,...t},o){return e.jsx(R,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));var I={accent:"on-color",secondary:"primary"},G={accent:"on-color",secondary:"tertiary"};var L=d.Popover,q=d.PopoverArrow,A=d.PopoverAnchor,$=d.PopoverDescription,O=d.PopoverDismiss,_=d.PopoverProvider,X=d.PopoverDisclosure,Y=d.PopoverDisclosureArrow,J=_,Z=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const i=d.usePopoverStore(),p=l.useCallback((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e.jsx(s.Pressable,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:z(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?p:void 0,ref:a,...n,children:r})}));var K=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(D,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:z("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs(L,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx(q,{className:"!stroke-2"}),r]})})}));var Q=d.DialogDismiss,U=B();var ee=l.forwardRef((function({className:r,...t},o){const n=T({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(d.TabList,{ref:o,...t,className:n})})),re=l.forwardRef((function(r,t){const o=d.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(d.TabPanel,{ref:t,tabId:n,...r})}));function te({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:z(T({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function oe({children:r,required:t}){return e.jsxs(M,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(M,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var ne=T({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),ae=T({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ie=T({backgroundColor:"positive"}),le=T({backgroundColor:"alert"}),se=T({backgroundColor:"accent"}),de=T({backgroundColor:"warning"}),pe=T({backgroundColor:"accent"}),ce=T({backgroundColor:"brand"}),me=T({backgroundColor:"accent"}),be=e=>"default"===e?.type?z(ne,me):e?.defaultClassName??"";function ue(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:ie,error:le,info:se,warning:de,default:pe,dark:ce}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return z(n,o)}function xe({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(s.IconButton,{name:f,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
|
3
3
|
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */Object.defineProperty(exports,"usePopoverStore",{enumerable:!0,get:function(){return d.usePopoverStore}}),Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return p.toast}}),exports.Accordion=function({label:t,children:o,onClick:n,open:a,spacingHorizontal:i="4",_content:l,className:d,textProps:p,...c}){return e.jsxs(s.SpringMotionConfig,{layoutVariant:"smooth",layoutSpeed:"3",children:[e.jsxs(s.Pressable,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:i,borderRadius:"md",onClick:n,className:z("hover:bg-secondary/80","w-full",d),...c,children:[e.jsx(M,{variant:"title4",color:"primary",...p||{},children:t}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{rotate:90},collapsed:{rotate:0}},"data-testid":"chevron-motion",children:e.jsx(E,{name:x,variant:"fill",size:"sm",color:"primary"})})})]}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0,overflow:"hidden"}},children:e.jsx(D,{spacingHorizontal:i,...l,children:o})},"content")})]})},exports.CheckBox=({label:r,checked:t,onChange:o})=>e.jsx(H,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:t,onChange:e=>{o(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e.jsx(E,{name:t?u:g,color:"tertiary",size:"md"}),e.jsx(M,{variant:"label2",color:"secondary",className:"select-none",children:r})]})}),exports.Chip=function({children:r,variant:t,startIcon:o,startContent:n=(o?e.jsx(E,{name:o,variant:"fill",size:"sm",color:I[t]}):null),endIcon:a,endContent:i=(a?e.jsx(E,{name:a,variant:"fill",size:"sm",color:I[t]}):null)}){return e.jsxs(s.Pressable,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:t,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e.jsx(M,{variant:"label2",color:G[t],children:r}),i]})},exports.Dropdown=J,exports.DropdownItem=function({title:r,description:t,_title:o,_description:n,startIcon:a,endIcon:i,...l}){return e.jsxs(Z,{...l,children:[a&&e.jsx(E,{name:a,size:"md",color:"primary"}),e.jsxs(D,{gap:"3",alignItems:"flex-start",children:[r&&e.jsx(M,{variant:"headline1",color:"primary",...o,children:r}),t&&e.jsx(M,{variant:"label2",color:"muted",...n,children:t})]}),i&&e.jsx(E,{name:i,size:"md",color:"primary"})]})},exports.DropdownItemPressable=Z,exports.DropdownItems=K,exports.DropdownTrigger=function(r){return e.jsx(X,{render:t=>r.children?e.jsx(R,{...t,asChild:!0,children:e.jsx(s.Button,{startIcon:r.startIcon,...r,children:r.children})}):e.jsx(R,{...t,asChild:!0,children:e.jsx(s.IconButton,{...r,name:r.name??r.startIcon})})})},exports.Modal=function({className:r,...t}){return e.jsx(D,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:z("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e.jsx(d.Dialog,{backdrop:e.jsx("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})},exports.ModalDismiss=Q,exports.ModalHeader=function({children:r,handleClose:t}){return e.jsxs(H,{alignItems:"center",justifyContent:"space-between",children:[e.jsx(M,{variant:"headline1",color:"primary",children:r}),e.jsx(s.IconButton,{"aria-label":"Close",size:"sm",variant:"tertiary",name:f,onClick:t})]})},exports.Popover=L,exports.PopoverAnchor=A,exports.PopoverArrow=q,exports.PopoverDescription=$,exports.PopoverDisclosure=X,exports.PopoverDisclosureArrow=Y,exports.PopoverDismiss=O,exports.PopoverHeading=function({children:r,leading:t,trailing:o}){return e.jsxs(H,{children:[t,e.jsx(M,{variant:"headline1",color:"primary",asChild:!0,children:e.jsx(d.PopoverHeading,{children:r})}),o]})},exports.PopoverProvider=_,exports.Tab=function({asChild:r,label:t,value:o,startIcon:n}){const a=r?U:"button",i=T({});if(!d.useTabContext())throw new Error("Tab must be wrapped in a Tabs component");const l=z("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e.jsx(d.Tab,{id:o,className:i,render:e.jsx(s.Pressable,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:l,asChild:!0,children:e.jsxs(a,{children:[n?e.jsx(E,{name:n,className:"text-current",size:"md"}):null,e.jsx(M,{className:"text-current",variant:"headline1",as:"span",children:t})]})})})},exports.TabList=ee,exports.TabPanel=re,exports.Tabs=function(r){return e.jsx(d.TabProvider,{...r})},exports.TextInput=te,exports.TextInputGroup=function({label:r,required:t,...o}){return e.jsxs(D,{gap:"4",className:"w-full",children:[e.jsx(oe,{required:t,children:r}),e.jsx(te,{required:t,...o})]})},exports.TextInputLabel=oe,exports.ToastContainer=function(r){return e.jsx(p.ToastContainer,{toastClassName:be,className:ae,progressClassName:ue,transition:p.Slide,closeButton:xe,...r})},exports.getProgressClassName=ue,exports.getToastClassName=be,exports.useModalStore=function(e){return d.useDialogStore({animated:!0,...e})};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
"use client";
|
2
|
-
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{AnimatePresence as o,m as a}from"framer-motion";import{lineColors as n,borderWidths as i,borderRadii as l,foregroundColors as s,spectrumColors as d,backgroundColors as p,textVariants as c}from"@yahoo/uds/fixtures";import{getFeatureFlags as m}from"@yahoo/uds/flags";import b from"clsx";import u from"imurmurhash";import{extendTailwindMerge as f}from"tailwind-merge";import{forwardRef as h,useCallback as g,Children as x,isValidElement as y,cloneElement as w}from"react";import{Pressable as v,SpringMotionConfig as C,Button as z,IconButton as k}from"@yahoo/uds/client";import{usePopoverStore as S,TabList as W,useTabContext as N,TabPanel as T,PopoverHeading as H,Popover as B,PopoverArrow as V,PopoverAnchor as E,PopoverDescription as R,PopoverDismiss as j,PopoverProvider as G,PopoverDisclosure as M,PopoverDisclosureArrow as L,useDialogStore as I,Dialog as D,DialogDismiss as P,TabProvider as $,Tab as O}from"@ariakit/react";export{usePopoverStore}from"@ariakit/react";import{ToastContainer as A,Slide as F}from"react-toastify";export{toast}from"react-toastify";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var X=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e(t,{})},Y=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e(t,{})},_=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e(t,{})},q=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e(t,{})};function J(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var Z="uds",K={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${Z}-color-mode-dark`,light:`${Z}-color-mode-light`},scaleMode:{xSmall:`${Z}-scale-mode-xsmall`,small:`${Z}-scale-mode-small`,medium:`${Z}-scale-mode-medium`,large:`${Z}-scale-mode-large`,xLarge:`${Z}-scale-mode-xlarge`,xxxLarge:`${Z}-scale-mode-xxxlarge`,xxLarge:`${Z}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function Q(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,a=t.length;o<a;o++){const a=t[o];void 0!==e[a]&&(r[a]=e[a])}return r}var U,ee=f({extend:{theme:{borderColor:n,borderWidth:i,borderRadius:l}},override:{classGroups:{"text-color":[{text:[...s,...d]}],"bg-color":[{bg:p}],"font-family":[{font:["icons",...c]}],leading:[{leading:c}]},conflictingClassGroups:{}}}),re=(...e)=>{const r=b(e);return ee(r)},te=(U={variants:K},e=>{if(!U?.variants)return re(U?.base,e?.className);const{variants:r,defaultVariants:t}=U,o=Object.keys(r).map((o=>{const a=e?.[o],n=t?.[o],i=J(a)||J(n);return r[o][i]})),a={...t,...e&&Q(e)},n=U?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>a[e]===r))?re(e,r):e),"");return re(U?.base,o,n,e?.className)}),oe=new Map,ae=e=>{const{useGetStylesCache:r}=m();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,a=t.length;o<a;o++){const a=t[o];r[a]=e[a]}return r}(Q(e)),t=(new u).hash(JSON.stringify(r)).result();if(oe.has(t))return oe.get(t);const o=te(r);return oe.set(t,o),o}return te(e)};function ne(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function ie(){const r=h(((r,o)=>{const{children:n,...i}=r,l=x.toArray(n),s=l.find(a);if(s){const r=s.props.children,a=l.map((e=>e===s?x.count(r)>1?x.only(null):y(r)?r.props.children:null:e));return e(t,{...i,ref:o,children:y(r)?w(r,void 0,a):null})}return e(t,{...i,ref:o,children:n})}));r.displayName="Slot";const t=h(((e,r)=>{const{children:t,...o}=e;return y(t)?w(t,{...n(o,t.props),ref:r?ne(r,t.ref):t.ref}):x.count(t)>1?x.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function a(e){return y(e)&&e.type===o}function n(e,r){const t={...r};for(const o in r){const a=e[o],n=r[o];/^on[A-Z]/.test(o)?a&&n?t[o]=(...e)=>{n(...e),a(...e)}:a&&(t[o]=a):"style"===o&&(t[o]={...a,...n})}return{...e,...t}}return r}var le=ie(),se=h((function({asChild:r,className:t,backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:N,flexWrap:T,justifyContent:H,flexBasis:B,display:V="flex",overflow:E,overflowX:R,overflowY:j,position:G,spacing:M,spacingHorizontal:L,spacingVertical:I,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:O,offset:A,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:J,columnGap:Z,rowGap:K,...Q},U){const ee=ae({backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:N,flexWrap:T,justifyContent:H,flexBasis:B,display:V,overflow:E,overflowX:R,overflowY:j,position:G,spacing:M,spacingHorizontal:L,spacingVertical:I,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:O,offset:A,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:J,columnGap:Z,rowGap:K,className:t});return e(r?le:"div",{className:ee,ref:U,...Q})})),de=h((function({gap:r,...t},o){return e(se,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),pe={sm:16,md:24,lg:32},ce=h((function({name:r,size:t="md",variant:o="outline",color:a="primary",className:n,...i},l){const s=ae({color:a,flex:"none",className:n}),d=pe[t];return e("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e(r,{size:t,variant:o})})})),me=ie(),be={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},ue=h((function({className:r,asChild:t,color:o="primary",variant:a="body1",as:n=be[a],fontSize:i=a,fontFamily:l=a,fontWeight:s=a,lineHeight:d=a,textTransform:p=a,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:N,borderTopWidth:T,borderBottomWidth:H,alignContent:B,alignItems:V,alignSelf:E,flex:R,flexDirection:j,flexGrow:G,flexShrink:M,flexWrap:L,justifyContent:I,flexBasis:D,display:P,overflow:$,overflowX:O,overflowY:A,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:J,spacingStart:Z,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:re,offsetEnd:te,offsetStart:oe,offsetTop:ne,columnGap:ie,rowGap:le,...se},de){const pe=ae({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:N,borderTopWidth:T,borderBottomWidth:H,alignContent:B,alignItems:V,alignSelf:E,flex:R,flexDirection:j,flexGrow:G,flexShrink:M,flexWrap:L,justifyContent:I,flexBasis:D,display:P,overflow:$,overflowX:O,overflowY:A,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:J,spacingStart:Z,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:re,offsetEnd:te,offsetStart:oe,offsetTop:ne,columnGap:ie,rowGap:le});return e(t?me:n,{className:pe,ref:de,...se})})),fe=h((function({gap:r,...t},o){return e(se,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));function he({label:t,children:n,onClick:i,open:l,spacingHorizontal:s="4",_content:d,className:p,textProps:c,...m}){return r(C,{layoutVariant:"smooth",layoutSpeed:"3",children:[r(v,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:s,borderRadius:"md",onClick:i,className:re("hover:bg-secondary/80","w-full",p),...m,children:[e(ue,{variant:"title4",color:"primary",...c||{},children:t}),e(o,{initial:!1,children:e(a.div,{initial:"collapsed",animate:l?"open":"collapsed",exit:"collapsed",variants:{open:{rotate:90},collapsed:{rotate:0}},"data-testid":"chevron-motion",children:e(ce,{name:Y,variant:"fill",size:"sm",color:"primary"})})})]}),e(o,{initial:!1,children:e(a.div,{initial:"collapsed",animate:l?"open":"collapsed",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0,overflow:"hidden"}},children:e(fe,{spacingHorizontal:s,...d,children:n})},"content")})]})}var ge=({label:t,checked:o,onChange:a})=>e(de,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:r("label",{children:[e("input",{type:"checkbox",checked:o,onChange:e=>{a(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e(ce,{name:o?X:q,color:"tertiary",size:"md"}),e(ue,{variant:"label2",color:"secondary",className:"select-none",children:t})]})}),xe={accent:"on-color",secondary:"primary"},ye={accent:"on-color",secondary:"tertiary"};function we({children:t,variant:o,startIcon:a,startContent:n=(a?e(ce,{name:a,variant:"fill",size:"sm",color:xe[o]}):null),endIcon:i,endContent:l=(i?e(ce,{name:i,variant:"fill",size:"sm",color:xe[o]}):null)}){return r(v,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:o,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e(ue,{variant:"label2",color:ye[o],children:t}),l]})}function ve({children:t,leading:o,trailing:a}){return r(de,{children:[o,e(ue,{variant:"headline1",color:"primary",asChild:!0,children:e(H,{children:t})}),a]})}var Ce=B,ze=V,ke=E,Se=R,We=j,Ne=G,Te=M,He=L,Be=Ne,Ve=h((function({children:r,disabled:t,onClick:o,...a},n){const i=S(),l=g((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e(v,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:re(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?l:void 0,ref:n,...a,children:r})}));function Ee({title:t,description:o,_title:a,_description:n,startIcon:i,endIcon:l,...s}){return r(Ve,{...s,children:[i&&e(ce,{name:i,size:"md",color:"primary"}),r(fe,{gap:"3",alignItems:"flex-start",children:[t&&e(ue,{variant:"headline1",color:"primary",...a,children:t}),o&&e(ue,{variant:"label2",color:"muted",...n,children:o})]}),l&&e(ce,{name:l,size:"md",color:"primary"})]})}var Re=h((function({children:t,className:o,overflow:a="scroll",...n},i){return e(fe,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:re("z-10 max-h-[312px] min-w-[220px] shadow-md",o),overflow:a,asChild:!0,children:r(Ce,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:i,children:[e(ze,{className:"!stroke-2"}),t]})})}));function je(r){return e(Te,{render:t=>r.children?e(se,{...t,asChild:!0,children:e(z,{startIcon:r.startIcon,...r,children:r.children})}):e(se,{...t,asChild:!0,children:e(k,{...r,name:r.name??r.startIcon})})})}function Ge(e){return I({animated:!0,...e})}function Me({children:t,handleClose:o}){return r(de,{alignItems:"center",justifyContent:"space-between",children:[e(ue,{variant:"headline1",color:"primary",children:t}),e(k,{"aria-label":"Close",size:"sm",variant:"tertiary",name:_,onClick:o})]})}function Le({className:r,...t}){return e(fe,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:re("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e(D,{backdrop:e("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})}var Ie=P,De=ie();function Pe(r){return e($,{...r})}var $e=h((function({className:r,...t},o){const a=ae({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e(W,{ref:o,...t,className:a})})),Oe=function({asChild:t,label:o,value:a,startIcon:n}){const i=t?De:"button",l=ae({});if(!N())throw new Error("Tab must be wrapped in a Tabs component");const s=re("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e(O,{id:a,className:l,render:e(v,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:s,asChild:!0,children:r(i,{children:[n?e(ce,{name:n,className:"text-current",size:"md"}):null,e(ue,{className:"text-current",variant:"headline1",as:"span",children:o})]})})})},Ae=h((function(r,t){const o=N();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const a=o.useState("selectedId");return e(T,{ref:t,tabId:a,...r})}));function Fe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:a="tertiary",borderWidth:n="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e("input",{type:"text","data-1p-ignore":!0,className:re(ae({backgroundColor:o,borderColor:a,borderWidth:n,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function Xe({label:t,required:o,...a}){return r(fe,{gap:"4",className:"w-full",children:[e(Ye,{required:o,children:t}),e(Fe,{required:o,...a})]})}function Ye({children:t,required:o}){return r(ue,{variant:"caption2",color:"primary",children:[t,o&&e(ue,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var _e=ae({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),qe=ae({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Je=ae({backgroundColor:"positive"}),Ze=ae({backgroundColor:"alert"}),Ke=ae({backgroundColor:"accent"}),Qe=ae({backgroundColor:"warning"}),Ue=ae({backgroundColor:"accent"}),er=ae({backgroundColor:"brand"}),rr=ae({backgroundColor:"accent"}),tr=e=>"default"===e?.type?re(_e,rr):e?.defaultClassName??"";function or(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:Je,error:Ze,info:Ke,warning:Qe,default:Ue,dark:er}[r],a=t.replace(/Toastify__progress-bar-theme--light/,"");return re(a,o)}function ar({closeToast:r,type:t}){return e(k,{name:_,size:"sm",palette:{success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t],onClick:r,className:"h-fit self-center"})}function nr(r){return e(A,{toastClassName:tr,className:qe,progressClassName:or,transition:F,closeButton:ar,...r})}
|
2
|
+
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{AnimatePresence as o,m as a}from"motion/react";import{lineColors as n,borderWidths as i,borderRadii as l,foregroundColors as s,spectrumColors as d,backgroundColors as p,textVariants as c}from"@yahoo/uds/fixtures";import{getFeatureFlags as m}from"@yahoo/uds/flags";import b from"clsx";import u from"imurmurhash";import{extendTailwindMerge as f}from"tailwind-merge";import{forwardRef as h,useCallback as g,Children as x,isValidElement as y,cloneElement as w}from"react";import{Pressable as v,SpringMotionConfig as C,Button as z,IconButton as k}from"@yahoo/uds/client";import{usePopoverStore as S,TabList as W,useTabContext as N,TabPanel as T,PopoverHeading as H,Popover as B,PopoverArrow as V,PopoverAnchor as E,PopoverDescription as R,PopoverDismiss as j,PopoverProvider as G,PopoverDisclosure as M,PopoverDisclosureArrow as L,useDialogStore as I,Dialog as D,DialogDismiss as P,TabProvider as $,Tab as O}from"@ariakit/react";export{usePopoverStore}from"@ariakit/react";import{ToastContainer as A,Slide as F}from"react-toastify";export{toast}from"react-toastify";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var X=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e(t,{})},Y=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e(t,{})},_=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e(t,{})},q=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e(t,{})};function J(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var Z="uds",K={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${Z}-color-mode-dark`,light:`${Z}-color-mode-light`},scaleMode:{xSmall:`${Z}-scale-mode-xsmall`,small:`${Z}-scale-mode-small`,medium:`${Z}-scale-mode-medium`,large:`${Z}-scale-mode-large`,xLarge:`${Z}-scale-mode-xlarge`,xxxLarge:`${Z}-scale-mode-xxxlarge`,xxLarge:`${Z}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function Q(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,a=t.length;o<a;o++){const a=t[o];void 0!==e[a]&&(r[a]=e[a])}return r}var U,ee=f({extend:{theme:{borderColor:n,borderWidth:i,borderRadius:l}},override:{classGroups:{"text-color":[{text:[...s,...d]}],"bg-color":[{bg:p}],"font-family":[{font:["icons",...c]}],leading:[{leading:c}]},conflictingClassGroups:{}}}),re=(...e)=>{const r=b(e);return ee(r)},te=(U={variants:K},e=>{if(!U?.variants)return re(U?.base,e?.className);const{variants:r,defaultVariants:t}=U,o=Object.keys(r).map((o=>{const a=e?.[o],n=t?.[o],i=J(a)||J(n);return r[o][i]})),a={...t,...e&&Q(e)},n=U?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>a[e]===r))?re(e,r):e),"");return re(U?.base,o,n,e?.className)}),oe=new Map,ae=e=>{const{useGetStylesCache:r}=m();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,a=t.length;o<a;o++){const a=t[o];r[a]=e[a]}return r}(Q(e)),t=(new u).hash(JSON.stringify(r)).result();if(oe.has(t))return oe.get(t);const o=te(r);return oe.set(t,o),o}return te(e)};function ne(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function ie(){const r=h(((r,o)=>{const{children:n,...i}=r,l=x.toArray(n),s=l.find(a);if(s){const r=s.props.children,a=l.map((e=>e===s?x.count(r)>1?x.only(null):y(r)?r.props.children:null:e));return e(t,{...i,ref:o,children:y(r)?w(r,void 0,a):null})}return e(t,{...i,ref:o,children:n})}));r.displayName="Slot";const t=h(((e,r)=>{const{children:t,...o}=e;return y(t)?w(t,{...n(o,t.props),ref:r?ne(r,t.ref):t.ref}):x.count(t)>1?x.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function a(e){return y(e)&&e.type===o}function n(e,r){const t={...r};for(const o in r){const a=e[o],n=r[o];/^on[A-Z]/.test(o)?a&&n?t[o]=(...e)=>{n(...e),a(...e)}:a&&(t[o]=a):"style"===o&&(t[o]={...a,...n})}return{...e,...t}}return r}var le=ie(),se=h((function({asChild:r,className:t,backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:N,flexWrap:T,justifyContent:H,flexBasis:B,display:V="flex",overflow:E,overflowX:R,overflowY:j,position:G,spacing:M,spacingHorizontal:L,spacingVertical:I,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:O,offset:A,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:J,columnGap:Z,rowGap:K,...Q},U){const ee=ae({backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:N,flexWrap:T,justifyContent:H,flexBasis:B,display:V,overflow:E,overflowX:R,overflowY:j,position:G,spacing:M,spacingHorizontal:L,spacingVertical:I,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:O,offset:A,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:J,columnGap:Z,rowGap:K,className:t});return e(r?le:"div",{className:ee,ref:U,...Q})})),de=h((function({gap:r,...t},o){return e(se,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),pe={sm:16,md:24,lg:32},ce=h((function({name:r,size:t="md",variant:o="outline",color:a="primary",className:n,...i},l){const s=ae({color:a,flex:"none",className:n}),d=pe[t];return e("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e(r,{size:t,variant:o})})})),me=ie(),be={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},ue=h((function({className:r,asChild:t,color:o="primary",variant:a="body1",as:n=be[a],fontSize:i=a,fontFamily:l=a,fontWeight:s=a,lineHeight:d=a,textTransform:p=a,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:N,borderTopWidth:T,borderBottomWidth:H,alignContent:B,alignItems:V,alignSelf:E,flex:R,flexDirection:j,flexGrow:G,flexShrink:M,flexWrap:L,justifyContent:I,flexBasis:D,display:P,overflow:$,overflowX:O,overflowY:A,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:J,spacingStart:Z,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:re,offsetEnd:te,offsetStart:oe,offsetTop:ne,columnGap:ie,rowGap:le,...se},de){const pe=ae({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:N,borderTopWidth:T,borderBottomWidth:H,alignContent:B,alignItems:V,alignSelf:E,flex:R,flexDirection:j,flexGrow:G,flexShrink:M,flexWrap:L,justifyContent:I,flexBasis:D,display:P,overflow:$,overflowX:O,overflowY:A,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:J,spacingStart:Z,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:re,offsetEnd:te,offsetStart:oe,offsetTop:ne,columnGap:ie,rowGap:le});return e(t?me:n,{className:pe,ref:de,...se})})),fe=h((function({gap:r,...t},o){return e(se,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));function he({label:t,children:n,onClick:i,open:l,spacingHorizontal:s="4",_content:d,className:p,textProps:c,...m}){return r(C,{layoutVariant:"smooth",layoutSpeed:"3",children:[r(v,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:s,borderRadius:"md",onClick:i,className:re("hover:bg-secondary/80","w-full",p),...m,children:[e(ue,{variant:"title4",color:"primary",...c||{},children:t}),e(o,{initial:!1,children:e(a.div,{initial:"collapsed",animate:l?"open":"collapsed",exit:"collapsed",variants:{open:{rotate:90},collapsed:{rotate:0}},"data-testid":"chevron-motion",children:e(ce,{name:Y,variant:"fill",size:"sm",color:"primary"})})})]}),e(o,{initial:!1,children:e(a.div,{initial:"collapsed",animate:l?"open":"collapsed",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0,overflow:"hidden"}},children:e(fe,{spacingHorizontal:s,...d,children:n})},"content")})]})}var ge=({label:t,checked:o,onChange:a})=>e(de,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:r("label",{children:[e("input",{type:"checkbox",checked:o,onChange:e=>{a(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e(ce,{name:o?X:q,color:"tertiary",size:"md"}),e(ue,{variant:"label2",color:"secondary",className:"select-none",children:t})]})}),xe={accent:"on-color",secondary:"primary"},ye={accent:"on-color",secondary:"tertiary"};function we({children:t,variant:o,startIcon:a,startContent:n=(a?e(ce,{name:a,variant:"fill",size:"sm",color:xe[o]}):null),endIcon:i,endContent:l=(i?e(ce,{name:i,variant:"fill",size:"sm",color:xe[o]}):null)}){return r(v,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:o,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e(ue,{variant:"label2",color:ye[o],children:t}),l]})}function ve({children:t,leading:o,trailing:a}){return r(de,{children:[o,e(ue,{variant:"headline1",color:"primary",asChild:!0,children:e(H,{children:t})}),a]})}var Ce=B,ze=V,ke=E,Se=R,We=j,Ne=G,Te=M,He=L,Be=Ne,Ve=h((function({children:r,disabled:t,onClick:o,...a},n){const i=S(),l=g((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e(v,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:re(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?l:void 0,ref:n,...a,children:r})}));function Ee({title:t,description:o,_title:a,_description:n,startIcon:i,endIcon:l,...s}){return r(Ve,{...s,children:[i&&e(ce,{name:i,size:"md",color:"primary"}),r(fe,{gap:"3",alignItems:"flex-start",children:[t&&e(ue,{variant:"headline1",color:"primary",...a,children:t}),o&&e(ue,{variant:"label2",color:"muted",...n,children:o})]}),l&&e(ce,{name:l,size:"md",color:"primary"})]})}var Re=h((function({children:t,className:o,overflow:a="scroll",...n},i){return e(fe,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:re("z-10 max-h-[312px] min-w-[220px] shadow-md",o),overflow:a,asChild:!0,children:r(Ce,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:i,children:[e(ze,{className:"!stroke-2"}),t]})})}));function je(r){return e(Te,{render:t=>r.children?e(se,{...t,asChild:!0,children:e(z,{startIcon:r.startIcon,...r,children:r.children})}):e(se,{...t,asChild:!0,children:e(k,{...r,name:r.name??r.startIcon})})})}function Ge(e){return I({animated:!0,...e})}function Me({children:t,handleClose:o}){return r(de,{alignItems:"center",justifyContent:"space-between",children:[e(ue,{variant:"headline1",color:"primary",children:t}),e(k,{"aria-label":"Close",size:"sm",variant:"tertiary",name:_,onClick:o})]})}function Le({className:r,...t}){return e(fe,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:re("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e(D,{backdrop:e("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})}var Ie=P,De=ie();function Pe(r){return e($,{...r})}var $e=h((function({className:r,...t},o){const a=ae({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e(W,{ref:o,...t,className:a})})),Oe=function({asChild:t,label:o,value:a,startIcon:n}){const i=t?De:"button",l=ae({});if(!N())throw new Error("Tab must be wrapped in a Tabs component");const s=re("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e(O,{id:a,className:l,render:e(v,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:s,asChild:!0,children:r(i,{children:[n?e(ce,{name:n,className:"text-current",size:"md"}):null,e(ue,{className:"text-current",variant:"headline1",as:"span",children:o})]})})})},Ae=h((function(r,t){const o=N();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const a=o.useState("selectedId");return e(T,{ref:t,tabId:a,...r})}));function Fe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:a="tertiary",borderWidth:n="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e("input",{type:"text","data-1p-ignore":!0,className:re(ae({backgroundColor:o,borderColor:a,borderWidth:n,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function Xe({label:t,required:o,...a}){return r(fe,{gap:"4",className:"w-full",children:[e(Ye,{required:o,children:t}),e(Fe,{required:o,...a})]})}function Ye({children:t,required:o}){return r(ue,{variant:"caption2",color:"primary",children:[t,o&&e(ue,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var _e=ae({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),qe=ae({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Je=ae({backgroundColor:"positive"}),Ze=ae({backgroundColor:"alert"}),Ke=ae({backgroundColor:"accent"}),Qe=ae({backgroundColor:"warning"}),Ue=ae({backgroundColor:"accent"}),er=ae({backgroundColor:"brand"}),rr=ae({backgroundColor:"accent"}),tr=e=>"default"===e?.type?re(_e,rr):e?.defaultClassName??"";function or(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:Je,error:Ze,info:Ke,warning:Qe,default:Ue,dark:er}[r],a=t.replace(/Toastify__progress-bar-theme--light/,"");return re(a,o)}function ar({closeToast:r,type:t}){return e(k,{name:_,size:"sm",palette:{success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t],onClick:r,className:"h-fit self-center"})}function nr(r){return e(A,{toastClassName:tr,className:qe,progressClassName:or,transition:F,closeButton:ar,...r})}
|
3
3
|
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{he as Accordion,ge as CheckBox,we as Chip,Be as Dropdown,Ee as DropdownItem,Ve as DropdownItemPressable,Re as DropdownItems,je as DropdownTrigger,Le as Modal,Ie as ModalDismiss,Me as ModalHeader,Ce as Popover,ke as PopoverAnchor,ze as PopoverArrow,Se as PopoverDescription,Te as PopoverDisclosure,He as PopoverDisclosureArrow,We as PopoverDismiss,ve as PopoverHeading,Ne as PopoverProvider,Oe as Tab,$e as TabList,Ae as TabPanel,Pe as Tabs,Fe as TextInput,Xe as TextInputGroup,Ye as TextInputLabel,nr as ToastContainer,or as getProgressClassName,tr as getToastClassName,Ge as useModalStore};
|
package/dist/fixtures.cjs
CHANGED
@@ -774,6 +774,7 @@ var fontIds = [
|
|
774
774
|
"roboto-mono",
|
775
775
|
"yahoo-sans",
|
776
776
|
"yahoo-sans-cr4",
|
777
|
+
"yahoo-product-sans",
|
777
778
|
"yahoo-sans-condensed",
|
778
779
|
"yahoo-serif-display",
|
779
780
|
"yahoo-serif-text"
|
@@ -813,6 +814,7 @@ var fontUrls = [
|
|
813
814
|
"https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2",
|
814
815
|
"https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2",
|
815
816
|
"https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2",
|
817
|
+
"https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2",
|
816
818
|
"https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2",
|
817
819
|
"https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2",
|
818
820
|
"https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2",
|
package/dist/fixtures.d.cts
CHANGED
@@ -23,7 +23,7 @@ declare const tailwindColorsAsUds: Record<"gray" | "purple" | "indigo" | "blue"
|
|
23
23
|
declare const textVariants: TextVariant[];
|
24
24
|
declare const textProperties: TextProperty[];
|
25
25
|
declare const fontAliases: FontAlias[];
|
26
|
-
declare const fontIds: ("centra-no2" | "inter" | "roboto-mono" | "yahoo-sans" | "yahoo-sans-cr4" | "yahoo-sans-condensed" | "yahoo-serif-display" | "yahoo-serif-text")[];
|
26
|
+
declare const fontIds: ("centra-no2" | "inter" | "roboto-mono" | "yahoo-sans" | "yahoo-sans-cr4" | "yahoo-product-sans" | "yahoo-sans-condensed" | "yahoo-serif-display" | "yahoo-serif-text")[];
|
27
27
|
declare const fontUrls: FontFamilyCDNUrl[];
|
28
28
|
declare const fontWeights: FontWeightDescriptive[];
|
29
29
|
declare const textTransforms: TextTransform[];
|
package/dist/fixtures.d.ts
CHANGED
@@ -23,7 +23,7 @@ declare const tailwindColorsAsUds: Record<"gray" | "purple" | "indigo" | "blue"
|
|
23
23
|
declare const textVariants: TextVariant[];
|
24
24
|
declare const textProperties: TextProperty[];
|
25
25
|
declare const fontAliases: FontAlias[];
|
26
|
-
declare const fontIds: ("centra-no2" | "inter" | "roboto-mono" | "yahoo-sans" | "yahoo-sans-cr4" | "yahoo-sans-condensed" | "yahoo-serif-display" | "yahoo-serif-text")[];
|
26
|
+
declare const fontIds: ("centra-no2" | "inter" | "roboto-mono" | "yahoo-sans" | "yahoo-sans-cr4" | "yahoo-product-sans" | "yahoo-sans-condensed" | "yahoo-serif-display" | "yahoo-serif-text")[];
|
27
27
|
declare const fontUrls: FontFamilyCDNUrl[];
|
28
28
|
declare const fontWeights: FontWeightDescriptive[];
|
29
29
|
declare const textTransforms: TextTransform[];
|
package/dist/fixtures.js
CHANGED
@@ -751,6 +751,7 @@ var fontIds = [
|
|
751
751
|
"roboto-mono",
|
752
752
|
"yahoo-sans",
|
753
753
|
"yahoo-sans-cr4",
|
754
|
+
"yahoo-product-sans",
|
754
755
|
"yahoo-sans-condensed",
|
755
756
|
"yahoo-serif-display",
|
756
757
|
"yahoo-serif-text"
|
@@ -789,6 +790,7 @@ var fontUrls = [
|
|
789
790
|
"https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2",
|
790
791
|
"https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2",
|
791
792
|
"https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2",
|
793
|
+
"https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2",
|
792
794
|
"https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2",
|
793
795
|
"https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2",
|
794
796
|
"https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2",
|
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-JGIKFUBH.cjs"),r=require("./chunk-DMMTEAJW.cjs"),t=require("./chunk-DCXVARRB.cjs"),o=require("./chunk-GIJ2FHY5.cjs"),n=require("./chunk-5WBROFT5.cjs"),i=require("react"),a=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),d=e.createSlot(),l=i.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:f,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:u,borderStartColor:p,borderEndColor:c,borderTopColor:b,borderBottomColor:E,borderWidth:_,borderVerticalWidth:S,borderHorizontalWidth:O,borderStartWidth:g,borderEndWidth:A,borderTopWidth:C,borderBottomWidth:m,alignContent:R,alignItems:x,alignSelf:T,flex:P,flexDirection:L,flexGrow:M,flexShrink:y,flexWrap:D,justifyContent:h,flexBasis:I,display:j="flex",overflow:F,overflowX:B,overflowY:W,position:N,spacing:X,spacingHorizontal:G,spacingVertical:w,spacingBottom:H,spacingEnd:U,spacingStart:V,spacingTop:v,offset:k,offsetVertical:z,offsetHorizontal:Y,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:$,...ee},re){const te=e.getStyles({backgroundColor:o,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:f,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:u,borderStartColor:p,borderEndColor:c,borderTopColor:b,borderBottomColor:E,borderWidth:_,borderVerticalWidth:S,borderHorizontalWidth:O,borderStartWidth:g,borderEndWidth:A,borderTopWidth:C,borderBottomWidth:m,alignContent:R,alignItems:x,alignSelf:T,flex:P,flexDirection:L,flexGrow:M,flexShrink:y,flexWrap:D,justifyContent:h,flexBasis:I,display:j,overflow:F,overflowX:B,overflowY:W,position:N,spacing:X,spacingHorizontal:G,spacingVertical:w,spacingBottom:H,spacingEnd:U,spacingStart:V,spacingTop:v,offset:k,offsetVertical:z,offsetHorizontal:Y,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:$,className:t}),oe=r?d:"div";return a.jsx(oe,{className:te,ref:re,...ee})})),s=i.forwardRef((function({gap:e,...r},t){return a.jsx(l,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...r})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var u=e.createSlot(),p={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},c=i.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:i=p[n],fontSize:f=n,fontFamily:d=n,fontWeight:l=n,lineHeight:s=n,textTransform:c=n,textAlign:b,backgroundColor:E,borderRadius:_,borderTopStartRadius:S,borderTopEndRadius:O,borderBottomStartRadius:g,borderBottomEndRadius:A,borderColor:C,borderStartColor:m,borderEndColor:R,borderTopColor:x,borderBottomColor:T,borderWidth:P,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:y,borderEndWidth:D,borderTopWidth:h,borderBottomWidth:I,alignContent:j,alignItems:F,alignSelf:B,flex:W,flexDirection:N,flexGrow:X,flexShrink:G,flexWrap:w,justifyContent:H,flexBasis:U,display:V,overflow:v,overflowX:k,overflowY:z,position:Y,spacing:q,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:$,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:fe,columnGap:de,rowGap:le,...se},ue){const pe=e.getStyles({className:r,color:o,fontFamily:d,fontSize:f,fontWeight:l,lineHeight:s,textTransform:c,textAlign:b,backgroundColor:E,borderRadius:_,borderTopStartRadius:S,borderTopEndRadius:O,borderBottomStartRadius:g,borderBottomEndRadius:A,borderColor:C,borderStartColor:m,borderEndColor:R,borderTopColor:x,borderBottomColor:T,borderWidth:P,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:y,borderEndWidth:D,borderTopWidth:h,borderBottomWidth:I,alignContent:j,alignItems:F,alignSelf:B,flex:W,flexDirection:N,flexGrow:X,flexShrink:G,flexWrap:w,justifyContent:H,flexBasis:U,display:V,overflow:v,overflowX:k,overflowY:z,position:Y,spacing:q,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:$,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:fe,columnGap:de,rowGap:le}),ce=t?u:i;return a.jsx(ce,{className:pe,ref:ue,...se})})),b=i.forwardRef((function({gap:e,...r},t){return a.jsx(l,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...r})}));Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return e.Icon}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return e.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return e.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return e.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return r.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return r.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return r.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return r.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return r.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return r.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return r.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return r.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return r.button}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return r.defaultTokensConfig}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return r.fromEntries}}),Object.defineProperty(exports,"generateConfigCombinations",{enumerable:!0,get:function(){return r.generateConfigCombinations}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return r.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return t.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return o.fontWeightMap}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),exports.Box=l,exports.HStack=s,exports.Image=function({width:r,height:t,src:o,alt:n,contentFit:i,backgroundColor:f,borderRadius:d,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:p,borderColor:c,borderStartColor:b,borderEndColor:E,borderTopColor:_,borderBottomColor:S,borderWidth:O,borderVerticalWidth:g,borderHorizontalWidth:A,borderStartWidth:C,borderEndWidth:m,borderTopWidth:R,borderBottomWidth:x,alignContent:T,alignItems:P,alignSelf:L,flex:M,flexDirection:y,flexGrow:D,flexShrink:h,flexWrap:I,justifyContent:j,flexBasis:F,display:B,overflow:W,overflowX:N,overflowY:X,position:G,spacing:w,spacingHorizontal:H,spacingVertical:U,spacingBottom:V,spacingEnd:v,spacingStart:k,spacingTop:z,offset:Y,offsetVertical:q,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:$,columnGap:ee,rowGap:re,...te}){const oe=e.getStyles({contentFit:i,backgroundColor:f,borderRadius:d,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:p,borderColor:c,borderStartColor:b,borderEndColor:E,borderTopColor:_,borderBottomColor:S,borderWidth:O,borderVerticalWidth:g,borderHorizontalWidth:A,borderStartWidth:C,borderEndWidth:m,borderTopWidth:R,borderBottomWidth:x,alignContent:T,alignItems:P,alignSelf:L,flex:M,flexDirection:y,flexGrow:D,flexShrink:h,flexWrap:I,justifyContent:j,flexBasis:F,display:B,overflow:W,overflowX:N,overflowY:X,position:G,spacing:w,spacingHorizontal:H,spacingVertical:U,spacingBottom:V,spacingEnd:v,spacingStart:k,spacingTop:z,offset:Y,offsetVertical:q,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:$,columnGap:ee,rowGap:re});return a.jsx("img",{src:o,alt:n,className:oe,style:{objectPosition:"left",width:r,height:t},...te})},exports.Text=c,exports.VStack=b;
|
1
|
+
"use strict";var e=require("./chunk-D5NBUCDY.cjs"),r=require("./chunk-6URF5YHM.cjs"),t=require("./chunk-DCXVARRB.cjs"),o=require("./chunk-GIJ2FHY5.cjs"),n=require("./chunk-5WBROFT5.cjs"),i=require("react"),a=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),d=e.createSlot(),l=i.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:f,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:u,borderStartColor:p,borderEndColor:c,borderTopColor:b,borderBottomColor:E,borderWidth:_,borderVerticalWidth:S,borderHorizontalWidth:O,borderStartWidth:g,borderEndWidth:A,borderTopWidth:C,borderBottomWidth:m,alignContent:R,alignItems:x,alignSelf:T,flex:P,flexDirection:L,flexGrow:M,flexShrink:D,flexWrap:y,justifyContent:h,flexBasis:I,display:j="flex",overflow:F,overflowX:B,overflowY:N,position:W,spacing:X,spacingHorizontal:w,spacingVertical:G,spacingBottom:H,spacingEnd:U,spacingStart:V,spacingTop:v,offset:k,offsetVertical:z,offsetHorizontal:Y,offsetBottom:q,offsetEnd:Z,offsetStart:K,offsetTop:J,columnGap:Q,rowGap:$,...ee},re){const te=e.getStyles({backgroundColor:o,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:f,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:u,borderStartColor:p,borderEndColor:c,borderTopColor:b,borderBottomColor:E,borderWidth:_,borderVerticalWidth:S,borderHorizontalWidth:O,borderStartWidth:g,borderEndWidth:A,borderTopWidth:C,borderBottomWidth:m,alignContent:R,alignItems:x,alignSelf:T,flex:P,flexDirection:L,flexGrow:M,flexShrink:D,flexWrap:y,justifyContent:h,flexBasis:I,display:j,overflow:F,overflowX:B,overflowY:N,position:W,spacing:X,spacingHorizontal:w,spacingVertical:G,spacingBottom:H,spacingEnd:U,spacingStart:V,spacingTop:v,offset:k,offsetVertical:z,offsetHorizontal:Y,offsetBottom:q,offsetEnd:Z,offsetStart:K,offsetTop:J,columnGap:Q,rowGap:$,className:t}),oe=r?d:"div";return a.jsx(oe,{className:te,ref:re,...ee})})),s=i.forwardRef((function({gap:e,...r},t){return a.jsx(l,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...r})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var u=e.createSlot(),p={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},c=i.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:i=p[n],fontSize:f=n,fontFamily:d=n,fontWeight:l=n,lineHeight:s=n,textTransform:c=n,textAlign:b,backgroundColor:E,borderRadius:_,borderTopStartRadius:S,borderTopEndRadius:O,borderBottomStartRadius:g,borderBottomEndRadius:A,borderColor:C,borderStartColor:m,borderEndColor:R,borderTopColor:x,borderBottomColor:T,borderWidth:P,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:D,borderEndWidth:y,borderTopWidth:h,borderBottomWidth:I,alignContent:j,alignItems:F,alignSelf:B,flex:N,flexDirection:W,flexGrow:X,flexShrink:w,flexWrap:G,justifyContent:H,flexBasis:U,display:V,overflow:v,overflowX:k,overflowY:z,position:Y,spacing:q,spacingHorizontal:Z,spacingVertical:K,spacingBottom:J,spacingEnd:Q,spacingStart:$,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:fe,columnGap:de,rowGap:le,...se},ue){const pe=e.getStyles({className:r,color:o,fontFamily:d,fontSize:f,fontWeight:l,lineHeight:s,textTransform:c,textAlign:b,backgroundColor:E,borderRadius:_,borderTopStartRadius:S,borderTopEndRadius:O,borderBottomStartRadius:g,borderBottomEndRadius:A,borderColor:C,borderStartColor:m,borderEndColor:R,borderTopColor:x,borderBottomColor:T,borderWidth:P,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:D,borderEndWidth:y,borderTopWidth:h,borderBottomWidth:I,alignContent:j,alignItems:F,alignSelf:B,flex:N,flexDirection:W,flexGrow:X,flexShrink:w,flexWrap:G,justifyContent:H,flexBasis:U,display:V,overflow:v,overflowX:k,overflowY:z,position:Y,spacing:q,spacingHorizontal:Z,spacingVertical:K,spacingBottom:J,spacingEnd:Q,spacingStart:$,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:fe,columnGap:de,rowGap:le}),ce=t?u:i;return a.jsx(ce,{className:pe,ref:ue,...se})})),b=i.forwardRef((function({gap:e,...r},t){return a.jsx(l,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...r})}));Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return e.Icon}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return e.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return e.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return e.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return r.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return r.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return r.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return r.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return r.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return r.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return r.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return r.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return r.button}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return r.defaultTokensConfig}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return r.fromEntries}}),Object.defineProperty(exports,"generateConfigCombinations",{enumerable:!0,get:function(){return r.generateConfigCombinations}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return r.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return t.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return o.fontWeightMap}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),exports.Box=l,exports.HStack=s,exports.Image=function({width:r,height:t,src:o,alt:n,contentFit:i,backgroundColor:f,borderRadius:d,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:p,borderColor:c,borderStartColor:b,borderEndColor:E,borderTopColor:_,borderBottomColor:S,borderWidth:O,borderVerticalWidth:g,borderHorizontalWidth:A,borderStartWidth:C,borderEndWidth:m,borderTopWidth:R,borderBottomWidth:x,alignContent:T,alignItems:P,alignSelf:L,flex:M,flexDirection:D,flexGrow:y,flexShrink:h,flexWrap:I,justifyContent:j,flexBasis:F,display:B,overflow:N,overflowX:W,overflowY:X,position:w,spacing:G,spacingHorizontal:H,spacingVertical:U,spacingBottom:V,spacingEnd:v,spacingStart:k,spacingTop:z,offset:Y,offsetVertical:q,offsetHorizontal:Z,offsetBottom:K,offsetEnd:J,offsetStart:Q,offsetTop:$,columnGap:ee,rowGap:re,...te}){const oe=e.getStyles({contentFit:i,backgroundColor:f,borderRadius:d,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:p,borderColor:c,borderStartColor:b,borderEndColor:E,borderTopColor:_,borderBottomColor:S,borderWidth:O,borderVerticalWidth:g,borderHorizontalWidth:A,borderStartWidth:C,borderEndWidth:m,borderTopWidth:R,borderBottomWidth:x,alignContent:T,alignItems:P,alignSelf:L,flex:M,flexDirection:D,flexGrow:y,flexShrink:h,flexWrap:I,justifyContent:j,flexBasis:F,display:B,overflow:N,overflowX:W,overflowY:X,position:w,spacing:G,spacingHorizontal:H,spacingVertical:U,spacingBottom:V,spacingEnd:v,spacingStart:k,spacingTop:z,offset:Y,offsetVertical:q,offsetHorizontal:Z,offsetBottom:K,offsetEnd:J,offsetStart:Q,offsetTop:$,columnGap:ee,rowGap:re});return a.jsx("img",{src:o,alt:n,className:oe,style:{objectPosition:"left",width:r,height:t},...te})},exports.Text=c,exports.VStack=b;
|