@yahoo/uds 3.35.0-beta.1 → 3.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/utils/purgeCSS.ts +1 -1
- package/dist/Box-B5-iomov.d.ts +34 -0
- package/dist/Box-DiAlMwFs.d.cts +34 -0
- package/dist/Input-C2JHbAnz.d.cts +54 -0
- package/dist/Input-Drdk_VTx.d.ts +54 -0
- package/dist/Pressable-BtsR3Qz0.d.cts +44 -0
- package/dist/Pressable-DvTJyjgZ.d.ts +44 -0
- package/dist/VStack-mmwkcypy.d.cts +83 -0
- package/dist/VStack-r7oAc-8J.d.ts +83 -0
- package/dist/{chunk-LY4CD7HC.cjs → chunk-2D7AZCOW.cjs} +1 -1
- package/dist/chunk-3ATZCWGK.js +1 -0
- package/dist/{chunk-G424GRRD.js → chunk-3K7DOMTA.js} +2 -2
- package/dist/chunk-5CIFYYX6.js +1 -0
- package/dist/{chunk-S5XWK3OK.cjs → chunk-5IKCFMD6.cjs} +3 -3
- package/dist/chunk-5NN6ZF5W.js +2 -0
- package/dist/chunk-6SO7GS3O.cjs +1 -0
- package/dist/chunk-6ZDLVWZ6.js +2 -0
- package/dist/chunk-CVTO6YUZ.cjs +1 -0
- package/dist/chunk-DT44WONZ.js +2 -0
- package/dist/chunk-EI6CRZHC.cjs +1 -0
- package/dist/{chunk-2KFM5W3U.cjs → chunk-ES6CXMIM.cjs} +1 -1
- package/dist/chunk-FN67NTU3.cjs +1 -0
- package/dist/{chunk-YPFSOK5E.js → chunk-FOQIWA4A.js} +1 -1
- package/dist/chunk-G6QAZH7S.cjs +1 -0
- package/dist/{chunk-YRL363DC.js → chunk-HVGHKZ4H.js} +1 -1
- package/dist/{chunk-2N6GU6KA.js → chunk-I2KSBIOI.js} +2 -2
- package/dist/chunk-I47FIXBS.cjs +2 -0
- package/dist/chunk-I7OQUICC.js +1 -0
- package/dist/chunk-JR2PCA2X.cjs +2 -0
- package/dist/chunk-JVVDKBCK.js +3 -0
- package/dist/chunk-KEH2EHXC.js +1 -0
- package/dist/chunk-LAIVXF4G.cjs +2 -0
- package/dist/chunk-MIIME2GR.cjs +1 -0
- package/dist/chunk-NND2VG42.cjs +3 -0
- package/dist/chunk-R2KJRUSH.js +2 -0
- package/dist/chunk-T7TLALTB.js +1 -0
- package/dist/chunk-TTJYIJLH.cjs +1 -0
- package/dist/chunk-TW6PDFBX.cjs +1 -0
- package/dist/chunk-ZQWXDXPQ.js +1 -0
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +2 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.js +2 -2
- package/dist/fixtures.cjs +771 -541
- package/dist/fixtures.js +771 -541
- package/dist/index-BiFYC5eM.d.ts +245 -0
- package/dist/index-CISBacKa.d.cts +245 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +2 -2
- package/dist/tailwind/tsMorph.cjs +2 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +8 -6
- package/dist/tailwind/utils.d.ts +8 -6
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/types-BRmrSr-u.d.cts +10585 -0
- package/dist/types-BRmrSr-u.d.ts +10585 -0
- package/package.json +3 -2
- package/dist/chunk-4YKYM24Q.cjs +0 -1
- package/dist/chunk-B2TWH6YF.cjs +0 -2
- package/dist/chunk-HHB3JZDI.js +0 -1
- package/dist/chunk-MIYOAJO6.js +0 -2
- package/dist/chunk-QNNUPDNC.cjs +0 -1
- package/dist/chunk-T3NVPMAQ.cjs +0 -1
- package/dist/chunk-TKDMDEZQ.js +0 -2
- package/dist/chunk-XT7VV5LA.cjs +0 -1
- package/dist/chunk-XUETKXD3.js +0 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yahoo/uds",
|
3
3
|
"description": "Yahoo Universal System",
|
4
|
-
"version": "3.35.
|
4
|
+
"version": "3.35.1",
|
5
5
|
"type": "module",
|
6
6
|
"bin": {
|
7
7
|
"uds": "./cli/uds-cli.js"
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"bluebun": "^0.0.34",
|
204
204
|
"clsx": "^2.1.1",
|
205
205
|
"imurmurhash": "^0.1.4",
|
206
|
-
"lodash
|
206
|
+
"lodash": "^4.17.21",
|
207
207
|
"motion": "^12.23.12",
|
208
208
|
"prompts": "^2.4.2",
|
209
209
|
"react-toastify": "^11.0.5",
|
@@ -219,6 +219,7 @@
|
|
219
219
|
"@next/env": "^14.2.15",
|
220
220
|
"@types/bun": "1.2.17",
|
221
221
|
"@types/imurmurhash": "^0.1.4",
|
222
|
+
"@types/lodash": "^4.17.20",
|
222
223
|
"@types/prompts": "^2.4.9",
|
223
224
|
"@types/react": "^18.3.11",
|
224
225
|
"@types/react-dom": "^18.3.0",
|
package/dist/chunk-4YKYM24Q.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var e=require("./chunk-NQ7BFO3S.cjs"),t=require("./chunk-T3NVPMAQ.cjs"),r=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-3AYBRPUC.cjs"),n=require("@yahoo/uds/fixtures"),o=require("lodash-es");function s(e){return e&&e.__esModule?e:{default:e}}var i=s(require("tailwindcss/plugin.js")),d=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var l=(e,t,r,a)=>{const n=e.typography[t]?.[r];if(!n)throw new Error(`Missing typography data for variant "${t}" and key "${r}"`);const s="base"===a?n.base:n.breakpoints?.[a];if(!s)throw new Error(`Missing value for variant "${t}", key "${r}", and breakpoint "${a}"`);if(o.isString(s))return s;switch(s.type){case"px":return s.value/16+"rem";case"unitless":return String(s.value)}return d()},c=(e,t)=>t in e.font?`var(--${a.FONT_FAMILY_PREFIX}-${t})`:t,u=(e,t)=>Object.fromEntries(n.textVariants.flatMap(r=>[[`--${a.FONT_FAMILY_PREFIX}-${r}`,c(e,l(e,r,"fontFamily",t))],[`--${a.FONT_SIZE_PREFIX}-${r}`,l(e,r,"fontSize",t)],[`--${a.FONT_WEIGHT_PREFIX}-${r}`,l(e,r,"fontWeight",t)],[`--${a.FONT_SLANT_PREFIX}-${r}`,l(e,r,"fontSlant",t)],[`--${a.FONT_WIDTH_PREFIX}-${r}`,l(e,r,"fontWidth",t)],[`--${a.LINE_HEIGHT_PREFIX}-${r}`,l(e,r,"lineHeight",t)],[`--${a.TEXT_TRANSFORM_PREFIX}-${r}`,l(e,r,"textTransform",t)]])),f=e=>Object.fromEntries(n.textVariants.map(t=>[t,`var(--${e}-${t})`])),F={fontFamily:f(a.FONT_FAMILY_PREFIX),fontWeight:f(a.FONT_WEIGHT_PREFIX),fontSlant:f(a.FONT_SLANT_PREFIX),fontWidth:f(a.FONT_WIDTH_PREFIX),fontSize:f(a.FONT_SIZE_PREFIX),lineHeight:f(a.LINE_HEIGHT_PREFIX),textTransform:f(a.TEXT_TRANSFORM_PREFIX)};function _(e,{addBase:t}){const r=E(e);for(const e of r)t({"@font-face":e})}var p=i.default.withOptions(function({fontIds:e}){return function({addBase:t}){_(e,{addBase:t})}});function E(e){return e.flatMap(e=>{const{declarations:r,fontFamily:a}=t.FONT_DECLARATIONS_MAP[e];return r.map(e=>({fontFamily:a,fontDisplay:"swap",...e}))})}function h(e){return`"${e}"`}function I(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.RESPONSIVE_TAILWIND_CONFIG_MAP=F,exports.addFontFaceDeclarations=_,exports.addFontsPlugin=p,exports.assertUnreachable=d,exports.getBaseTextVars=e=>u(e,"base"),exports.getColorModeStyles=function(e){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...e.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...e.colorMode.dark._vars}}},exports.getFontFaceDeclarations=E,exports.getFontStyles=function(e){return t.fromEntries(r.entries(e).map(([e,r])=>{const n=`--${a.FONT_FAMILY_PREFIX}-${e}`,o=t.FONT_DECLARATIONS_MAP[r];return[n,[o.fontFamily,...o.fallback].map(h).join(", ")]}))},exports.getMotionStyles=function(a){const o=r.entries(a).flatMap(([t,a])=>r.entries(a).flatMap(([r,a])=>n.motionSpringConfigOptions.map(n=>[e.getMotionVar({variant:t,speed:r,control:n}),`${a[n]}`])));return t.fromEntries(o)},exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${a.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:r}])=>[`@media (min-width: ${r}px)`,u(e,t)])),".uds-text-base":u(e,"base"),...Object.fromEntries(t.map(([t])=>[`.uds-text-${t}`,u(e,t)]))}},exports.getScaleModeStyles=function(e){return{xSmall:I(e.scaleMode.xSmall),small:I(e.scaleMode.small),medium:I(e.scaleMode.medium),large:I(e.scaleMode.large),xLarge:I(e.scaleMode.xLarge),xxLarge:I(e.scaleMode.xxLarge),xxxLarge:I(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:n}){const o=e.shadow[n],s=r.entries(o).map(([e])=>[`.uds-${n}-shadow-${e}`,{[`--uds-${n}-shadow`]:`var(--${a.UDS_PREFIX}-${n}-shadow-${e})`,boxShadow:`var(--${a.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${a.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return t.fromEntries(s)};
|
package/dist/chunk-B2TWH6YF.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-S5XWK3OK.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:P,overflowY:k,position:I,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:X,spacingStart:D,spacingTop:K,offset:Y,offsetVertical:O,offsetHorizontal:J,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:P,overflowY:k,position:I,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:X,spacingStart:D,spacingTop:K,offset:Y,offsetVertical:O,offsetHorizontal:J,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,...ar})}),n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=a,exports.a=o,exports.e=s,exports.e2=h,exports.o=i,exports.o2=c,exports.t=n;
|
package/dist/chunk-HHB3JZDI.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{Box as r}from"./chunk-G424GRRD.js";import{forwardRef as e,Children as o,cloneElement as t,isValidElement as a}from"react";import{isFunction as n}from"lodash-es";import{jsx as p}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c=(r,e)=>((r,e)=>{const o=n(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[o(e),r]:[r])})(o.toArray(r),r=>{const o=n(e)?e(r):e;return a(o)?t(o,{...o.props,key:o.key??`interspersed-${r}`}):null}),i=e(function({gap:e,children:o,separator:t,...a},n){return p(r,{ref:n,flexDirection:"row",rowGap:e,columnGap:e,...a,children:t?c(o,t):o})});i.displayName="HStack";var l=e(function({gap:e,children:o,separator:t,...a},n){return p(r,{ref:n,flexDirection:"column",columnGap:e,rowGap:e,...a,children:t?c(o,t):o})});l.displayName="VStack";export{i as HStack,l as VStack};
|
package/dist/chunk-MIYOAJO6.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
import{createSlot as r,getStyles as l}from"./chunk-G424GRRD.js";import{forwardRef as e}from"react";import{jsx as t,Fragment as o,jsxs as a}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r(),n=e(function({className:r,asChild:e,onPress:o,onClick:a=o,backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:w,alignItems:x,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:R,justifyContent:T,flexBasis:_,display:P,overflow:k,overflowX:G,overflowY:I,position:j,spacing:y,spacingHorizontal:D,spacingVertical:N,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,...or},ar){const ir=l({backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:w,alignItems:x,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:R,justifyContent:T,flexBasis:_,display:P,overflow:k,overflowX:G,overflowY:I,position:j,spacing:y,spacingHorizontal:D,spacingVertical:N,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,className:r});return t(e?i:"button",{className:ir,ref:ar,onClick:a,...or})}),h=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:a("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t(o,{})};h.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t(o,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t(o,{children:t("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 t(o,{children:t("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"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t(o,{children:t("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 t(o,{children:t("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 t(o,{})};d.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t(o,{})};s.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t(o,{})};u.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t(o,{})};f.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{n as Pressable,d as a,c as e,u as e2,s as o,f as o2,h as t};
|
package/dist/chunk-QNNUPDNC.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-S5XWK3OK.cjs"),e=require("lodash-es"),a=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.FormLabel=({htmlFor:s,required:i,label:t,children:l,color:n="muted",variant:c="label3",hasError:o=!1,showRequiredAsterisk:u=!1,as:h="label",className:d,...m})=>{const x=t?e.isFunction(t)?t():t:l;return x?a.jsxs(r.Text,{variant:c,color:n,as:h,htmlFor:s,className:r.cx("cursor-[inherit]",d),...m,children:[x,i&&u&&a.jsx(r.Text,{as:"sup",color:o?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};
|
package/dist/chunk-T3NVPMAQ.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var e=require("./chunk-J7PUOUXC.cjs"),t=require("@yahoo/uds/fixtures"),o=require("lodash-es");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function a({variantKey:e,variantValue:t,layer:o,subComponentName:a,stateKey:r,stateValue:n}){return a?r&&n?`${a}/${e}/${t}/${r}/${n}/${o}`:`${a}/${e}/${t}/${o}`:r&&n?`${e}/${t}/${r}/${n}/${o}`:`${e}/${t}/${o}`}var r=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function n(t,o){const a=t.variants?.[o];if(a)return{type:"no-sub-components",variant:a};const r=f(t);if(!r)return{type:"no-variants"};return{type:"has-sub-components",variants:e.mapValues(r,e=>e.variants[o])}}function l(e,t,o){const a=e[t]?.defaults?.[o];if(void 0===a)throw new Error(`The variant default for "${o}" is not defined for the component "${t}"`);return a}function s(e,t,o){const a=n(e,t);switch(a.type){case"no-variants":return null;case"no-sub-components":return a.variant;case"has-sub-components":if(!o)throw new Error("subComponentName argument name is required for configs with subcomponents");return a.variants[o]}}var i=e=>!!e?.layers,p=e=>!!e?.componentStates;function u(e,t,o){const a=s(e,t,o);return a&&p(a)?a?.componentStates??null:null}var c=["rest"];function f(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function d(e,t,o,a,r){const n=e[o].variables[t];if(!n)throw new Error(`No layer variables found for ${t}.`);const l=n[a];if(!l)throw new Error(`No property variables found for ${a}.`);const s=l[r];if(!s)throw new Error(`No pseudoState variables found for ${r}.`);return s}function y(e,t,a,r,n,l){const s=o.cloneDeep(e),i=d(s,t,a,r,n);return void 0!==l.type&&(i.type=l.type),void 0!==l.value&&(i.value=l.value),s}var v={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},b={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function m(e,t){const o=e.defaults[t],a=e.typeOfFixture;let r=0;return e.values.forEach((e,t)=>{e.includes(o)&&(r=t)}),a[r]}function h({componentName:e,variantKey:t,variantValue:a,layer:r,layerOptionalPseudoSelector:n,subComponentName:l,stateKey:s,stateValue:i}){let p="";return p=l?`uds-${o.lowerCase(e)}-${o.lowerCase(l)}-${o.lowerCase(t)}`:`uds-${o.lowerCase(e)}-${o.lowerCase(t)}`,a&&(p=`${p}-${o.lowerCase(a)}`),s&&i&&(p=`${p}-${o.lowerCase(s)}-${o.lowerCase(i)}`),p=`${p}-${o.lowerCase(r)}`,n&&(p=`${p}${n}`),p.replaceAll(/\s+/g,"-")}function g({componentName:e,variantKey:t,variantValue:r,layer:n,layerOptionalPseudoSelector:l,subComponentName:s,stateKey:i,stateValue:p,schema:u,propertyKey:c,originalPropertyDefinition:f,theme:d,currentStyles:y,previewOptions:m}){const g=a({variantKey:t,variantValue:r,layer:n,subComponentName:s,stateKey:i,stateValue:p});let w=h({componentName:e,variantKey:t,variantValue:r,layer:n,subComponentName:s,stateKey:i,stateValue:p});const C=u.variables[g][c];if(!C)throw"size/md/root"===g&&"spacingHorizontal"===c&&console.log({componentName:e,schemaKey:g,propertyKey:c},u.variables),new Error(`Prop definition (${e} - ${g} - ${c}) not found, this is not expected, please report the bug to the UDS team`);const $={};for(const a in C){const g=v[a]??"";let x="";if("root"===n)if(i&&p){const o=h({componentName:e,variantKey:t,variantValue:r,layer:n,subComponentName:s});w=h({componentName:e,variantKey:t,layer:n,subComponentName:s,stateKey:i,stateValue:p}),x=`.${o}${g}.${w}`}else x=`.${w}${g}`;else{const o=h({componentName:e,variantKey:t,variantValue:r,layer:"root",subComponentName:s});if(i&&p){const a=h({componentName:e,variantKey:t,layer:"root",subComponentName:s,stateKey:i,stateValue:p});w=h({componentName:e,variantKey:t,variantValue:r,layer:n,layerOptionalPseudoSelector:l,subComponentName:s}),x=`.${o}${g}.${a} .${w}`}else x=`.${o}${g} .${w}`}const S=(e,t,o,a)=>{const{value:r,type:n}=e,l=M[t];let s;if(M[t].customValueRenderer)s=M[t].customValueRenderer(e,u,o);else{s=o(M[t].twThemePath(n,String(r)))}if(l.concatenate&&a){return`${a}${l.concatenationDelimiter||", "}${s}`}return s},{cssProperties:P,extendedProperties:W}=M[f.name],k={},V=o.isFunction(W),T=V?W({componentName:e,subComponentName:s,layer:n,propertyKey:c}):W;if(T&&T.length){if(!V&&("string"==typeof P||Array.isArray(P)&&P.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of T){const t=M[e].cssProperties;if("string"==typeof t){const o=y?.[x]?.[t];k[t]=S(C[a],e,d,o)}else if(Array.isArray(t))for(const o of t){const t=y?.[x]?.[o];k[o]=S(C[a],e,d,t)}}}else if("string"==typeof P){const e=y?.[x]?.[P];k[P]=S(C[a],f.name,d,e)}else if(Array.isArray(P))for(const e of P){const t=y?.[x]?.[e];k[e]=S(C[a],f.name,d,t)}if($[x]||($[x]={...k,...$[x]}),m?.generatePseudoStateClassModifier){const e=b[a]??"";e.length>0&&"root"!==a&&($[`.${e}${x}`.replace(g,"")]={...k,...$[`.${e}${x}`.replace(g,"")]})}}return $}var w=["none","custom"],C=["none","up","down"],$={hover:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"up",options:C}},pressed:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"down",options:C}}},x={hover:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"up",options:C}},pressed:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"down",options:C}}},S={hover:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"up",options:C}},pressed:{backgroundColor:{value:"none",options:w},borderColor:{value:"none",options:w},color:{value:"none",options:w},scale:{value:"down",options:C}}},P={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function W(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...P}}function k(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...P}}function V(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...P}}var T={fill:W,outline:k,ghost:V},F={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"6",spacingVertical:"3",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"7",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"headline1"}},palette:{info:{primary:{kind:"fill",effect:$,base:W("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...P}}}},accent:{primary:{kind:"fill",effect:$,base:W("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...P}}}},brand:{primary:{kind:"fill",effect:$,base:W("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...P}}}},alert:{primary:{kind:"fill",effect:$,base:W("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...P}}}},positive:{primary:{kind:"fill",effect:$,base:W("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...P}}}},warning:{primary:{kind:"fill",effect:$,base:W("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...P}}},secondary:{kind:"outline",effect:x,base:k("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...P},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...P}}},tertiary:{kind:"ghost",effect:S,base:V("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...P},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...P}}}}}},N="https://s.yimg.com/bw/fonts",O=["Helvetica Neue","Helvetica","Arial","sans-serif"],E=["Georgia","Times","Times New Roman","serif"],A={"centra-no2":{fallback:O,type:"sans",fontFamily:"Centra No2",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Hairline",value:50},{label:"Thin",value:100},{label:"Light",value:300},{label:"Book",value:400},{label:"Medium",value:500},{label:"Bold",value:700},{label:"ExtraBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"50",src:`url('${N}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${N}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${N}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${N}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${N}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${N}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${N}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${N}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${N}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${N}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${N}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${N}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${N}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${N}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${N}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${N}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:O,type:"sans",fontFamily:"Inter",isVariableFont:!0,fontSlants:[{label:"Italic",value:-10},{label:"None",value:0}],fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Extra Light",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semi Bold",value:600},{label:"Bold",value:700},{label:"Extra Bold",value:800},{label:"Black",value:900}],defaults:{fontSlant:0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${N}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",fontFamily:"Roboto Mono",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"100",src:`url('${N}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${N}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${N}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${N}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${N}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${N}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${N}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${N}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${N}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${N}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:O,type:"sans",fontFamily:"Yahoo Sans",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"ExtraLight",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semibold",value:585},{label:"Bold",value:700},{label:"ExtraBold",value:810},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${N}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:O,type:"sans",fontFamily:"Yahoo CR4 BETA VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${N}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:O,type:"sans",fontFamily:"Yahoo Product Sans VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${N}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:O,type:"sans",fontFamily:"YahooPd_Eval202412",isVariableFont:!0,fontSlants:[{label:"Italic",value:9},{label:"None",value:0}],fontWidths:[{label:"Cond",value:50},{label:"Normal",value:75},{label:"Ext",value:100}],fontWeights:[{label:"Light",value:300},{label:"Regular",value:450},{label:"Medium",value:500},{label:"Semibold",value:600},{label:"Bold",value:700},{label:"Black",value:850}],defaults:{fontSlant:0,fontWidth:75,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${N}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${N}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:O,type:"sans",fontFamily:"Yahoo Sans Cond",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:718},{label:"XBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${N}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:E,type:"serif",fontFamily:"Yahoo Serif Display",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Bold",value:700},{label:"Extrabold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"300",src:`url('${N}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${N}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${N}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${N}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${N}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:E,type:"serif",fontFamily:"Yahoo Serif Text",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"400",src:`url('${N}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${N}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${N}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${N}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};var K={black:"0 0 0",white:"255 255 255"};function Y({preset:e,prefix:o,shadowType:a}){const r=`--uds-${a}-shadow-`,n="palette"===e.color?.type,l="always"===e.color?.type;let s=`var(--uds-${n?"shadow":"spectrum"}-color-${e?.color?.value})`;l&&(s=K[e.color.value]);const i=`var(${r}${o?`${o}-`:""}color, ${s})`;return`${"inset"===a?"inset ":""}${[`${t.shadowOffsetMap[e.offsetX]}px`,`${t.shadowOffsetMap[e.offsetY]}px`,`${t.spacingMap[e.blur]}px`,`${t.shadowSpreadRadiusMap[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${i} / var(${r}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}var R=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),M={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,t)=>{if("spectrumColors"===e){const[e,o]=t.split("-");return`colors.${e}.${o}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${t}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>R(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>R(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,t)=>`typography.fontFamily.${t}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,t)=>`typography.fontSize.${t}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e;return`"wght" var(--uds-font-weight-${t}), "slnt" var(--uds-font-slant-${t}), "wdth" var(--uds-font-width-${t});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,t)=>`typography.lineHeight.${t}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,t)=>`typography.textTransform.${t}`,possibleFixtures:["textVariants"]},padding:{name:"padding",cssProperties:"padding",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},color:{name:"color",cssProperties:"color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`textColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,t)=>`typography.fontWeight.${t}`,possibleFixtures:["textVariants"]},iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,t)=>`sizing.icon.${t}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},textVariant:{name:"textVariant",cssProperties:[],twThemePath:()=>"",possibleFixtures:["textVariants"],extendedProperties:["fontSize","fontWeight","fontFamily","lineHeight","textTransform","fontVariationSettings"]},textDecorationLine:{name:"textDecorationLine",cssProperties:"text-decoration-line",possibleFixtures:["textDecorationLines"],twThemePath:()=>"",customValueRenderer:e=>String(e.value)},shadow:{name:"drop shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="drop";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>Y({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariants"]},insetShadow:{name:"inset shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="inset";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>Y({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,t)=>`height[${t}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,t)=>`width[${t}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:t},o,a)=>`calc(-1 * ${a("borderWidths"===t?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.FONT_DECLARATIONS_MAP=A,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.button=F,exports.cartesianProduct=r,exports.coalesceConfigVariant=n,exports.configurableProperties=M,exports.createComponentStateConfig=function(e){return e},exports.createComponentStates=function(e){return e},exports.createConfigurableProperty=function(e){return e},exports.createLayerConfig=function(e){return e},exports.createSubComponentConfig=function(e){return e},exports.createVariantConfig=function(e){return e},exports.createVariantConfigWithComponentStates=function(e){return e},exports.createVariantConfigWithProperties=function(e){return e},exports.findFixtureType=m,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},exports.fromEntries=function(e){return Object.fromEntries(e)},exports.generateClassName=h,exports.generateDeclaration=g,exports.generateKeyFromFlatConfigPath=function(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t},exports.generateSchemaKey=a,exports.generateStyles=function(e,t,a,r){function n(e,t){return o.mergeWith({},e,t)}let l=e.label.toLowerCase();e.overrideComponentName&&(l=e.overrideComponentName.toLowerCase());let s={};for(const o in e.variants){const i=e.variants[o];for(const e of i.options)if(i.componentStates){const p=i.componentStates;for(const i in p){const u=p[i];for(const p of u.options)for(const c in u.layers){const f=u.layers[c];for(const u in f.properties){const d=f.properties[u];s=n(s,g({componentName:l,variantKey:o,variantValue:e,stateKey:i,stateValue:p,layer:c,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:u,originalPropertyDefinition:d,theme:a,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const p in i.layers){const u=i.layers[p];for(const i in u.properties){const c=u.properties[i];s=n(s,g({componentName:l,variantKey:o,variantValue:e,layer:p,layerOptionalPseudoSelector:u.pseudoSelector,propertyKey:i,originalPropertyDefinition:c,theme:a,schema:t,currentStyles:s,previewOptions:r}))}}}if(e.subComponents){const{subComponents:o}=e;for(const e in o)for(const i in o[e].variants){const p=o[e].variants[i];for(const o of p.options)if(p.componentStates){const u=p.componentStates;for(const p in u){const c=u[p];for(const u of c.options)for(const f in c.layers){const d=c.layers[f];for(const c in d.properties){const y=d.properties[c];s=n(s,g({componentName:l,variantKey:i,variantValue:o,stateKey:p,stateValue:u,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:c,originalPropertyDefinition:y,theme:a,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const u in p.layers){const c=p.layers[u];for(const p in c.properties){const f=c.properties[p];s=n(s,g({componentName:l,subComponentName:e,variantKey:i,variantValue:o,layer:u,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:p,originalPropertyDefinition:f,theme:a,schema:t,currentStyles:s,previewOptions:r}))}}}}return s},exports.getConfigDefaultValue=l,exports.getConfigPseudoStateVariables=d,exports.getConfigPseudoStateVariablesWithSetter=function(e,t,o,a,r){return[d(e,t,o,a,r),n=>y(e,t,o,a,r,n)]},exports.getConfigSubcomponents=f,exports.getConfigVariantComponentStates=u,exports.getConfigVariantComponentStatesMatrix=function(e,t,a){const n=u(e,t,a);return n?r(o.entries(n).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e):null},exports.getConfigVariantProperties=function(t){if(!t||!i(t))return null;const o=e.mapValues(t.layers,e=>e.properties);for(const e in o){const t=o[e];t&&0!==Object.keys(t).length||delete o[e]}return 0===Object.keys(o).length?null:o},exports.getConfigVariantPseudoStates=function(e,t,o,a){const r=s(e,t,a);return r?[...i(r)?Object.entries(r?.layers??{}):[],...p(r)&&o?Object.entries(r.componentStates[o].layers??{}):[]].flatMap(([e,t])=>Object.entries(t.properties).map(([t,o])=>[e,t,o])).flatMap(([e,t,o])=>[...c,...o.pseudoStates??[]].map(a=>[e,t,o,a])).reduce((e,[t,o,a,r])=>{e[r]=e[r]??[];const n=[t,o,a];return e[r].push(n),e},{}):null},exports.getConfigVariants=function(e,t="variant"){const a=n(e,t);if("no-variants"===a.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===a.type){if(f(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:a.variant.description,variantNames:[...a.variant.options]}}const r=o.entries(a.variants).reduce((e,[t,o])=>{for(const a of o.options)e[a]??=[],e[a].includes(t)||e[a].push(t);return e},{});return{type:"has-sub-components",description:Object.values(a.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}},exports.getDefaultButtonBaseMap=T,exports.getShadowLayerValue=Y,exports.getShadowPresetValues=function({config:t,shadowType:o}){const a=t?.shadow?.[o];if(!a)return{};const r={};return e.entries(a).forEach(([e,t])=>{if("none"===e)return void(r[`--uds-${o}-shadow-${e}`]="0 0 transparent");const a=t.map((e,t)=>Y({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));r[`--uds-${o}-shadow-${e}`]=`${a.join(", ")}`}),r},exports.isConfigDefaultValue=function(e,t,o,a){return l(e,t,o)===a},exports.parseButtonVariantFlat=function({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`},exports.parseDeprecatedButtonPaletteVariant=function({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[t,o]=e.split("-");return o?{palette:t,variant:o}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}},exports.setConfigPseudoStateVariable=y,exports.shadow={drop:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}]},inset:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}],"xs-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"always",value:"white"}}],"sm-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"always",value:"white"}}],"md-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"lg-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"xl-invert":[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"always",value:"white"}}],"2xl-invert":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"always",value:"white"}}]}},exports.statePseudoMapDocsMode=b,exports.toMinimalDbConfigObject=function(e){const t={},o={};for(const t in e.variants){const a=e.variants[t];o[t]=a.default}t.defaults=o,t.variables={};for(const o in e.variants){const r=e.variants[o];for(const e of r.options)if(r.componentStates){const n=r.componentStates;for(const r in n){const l=n[r];for(const n of l.options)for(const s in l.layers){const i=l.layers[s],p=a({variantKey:o,variantValue:e,stateKey:r,stateValue:n,layer:s});t.variables[p]={};for(const o in i.properties){const a=i.properties[o],r={[o]:{rest:{type:m(a,e),valueType:"alias",value:a.defaults[e]}}};if(a.pseudoStates)for(const t of a.pseudoStates)r[o][t]={type:m(a,e),valueType:"alias",value:a.defaults[e]};t.variables[p]={...t.variables[p],...r}}}}}else for(const n in r.layers){const l=r.layers[n],s=a({variantKey:o,variantValue:e,layer:n});t.variables[s]={};for(const o in l.properties){const a=l.properties[o],r={[o]:{rest:{type:m(a,e),valueType:"alias",value:a.defaults[e]}}};if(a.pseudoStates)for(const t of a.pseudoStates)r[o][t]={type:m(a,e),valueType:"alias",value:a.defaults[e]};t.variables[s]={...t.variables[s],...r}}}}if(e.subComponents){const{subComponents:o}=e;for(const e in o)for(const r in o[e].variants){const n=o[e].variants[r];t.defaults[r]=n.default;for(const o of n.options)if(n.componentStates){const l=n.componentStates;for(const n in l){const s=l[n];for(const l of s.options)for(const i in s.layers){const p=s.layers[i],u=a({variantKey:r,variantValue:o,stateKey:n,stateValue:l,layer:i,subComponentName:e});t.variables[u]={};for(const e in p.properties){const a=p.properties[e],r={[e]:{rest:{type:m(a,o),valueType:"alias",value:a.defaults[o]}}};if(a.pseudoStates)for(const t of a.pseudoStates)r[e][t]={type:m(a,o),valueType:"alias",value:a.defaults[o]};t.variables[u]={...t.variables[u],...r}}}}}else for(const l in n.layers){const s=n.layers[l],i=a({variantKey:r,variantValue:o,layer:l,subComponentName:e});t.variables[i]={};for(const e in s.properties){const a=s.properties[e],r={[e]:{rest:{type:m(a,o),valueType:"alias",value:a.defaults[o]}}};if(a.pseudoStates)for(const t of a.pseudoStates)r[e][t]={type:m(a,o),valueType:"alias",value:a.defaults[o]};t.variables[i]={...t.variables[i],...r}}}}}return t};
|
package/dist/chunk-TKDMDEZQ.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
import{getMotionVar as r}from"./chunk-KYESDN2J.js";import{FONT_DECLARATIONS_MAP as t,fromEntries as a}from"./chunk-2N6GU6KA.js";import{entries as n}from"./chunk-EWJ3J526.js";import{TEXT_TRANSFORM_PREFIX as e,LINE_HEIGHT_PREFIX as o,FONT_SIZE_PREFIX as s,FONT_WIDTH_PREFIX as i,FONT_SLANT_PREFIX as d,FONT_WEIGHT_PREFIX as f,FONT_FAMILY_PREFIX as c,TEXT_RESPONSIVE_CLASSNAME as l,UDS_PREFIX as u}from"./chunk-24RMELG3.js";import{textVariants as m,motionSpringConfigOptions as p}from"@yahoo/uds/fixtures";import{isString as h}from"lodash-es";import $ from"tailwindcss/plugin.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
var v=r=>{throw new Error("Didn't expect to get here")};var g=(r,t,a,n)=>{const e=r.typography[t]?.[a];if(!e)throw new Error(`Missing typography data for variant "${t}" and key "${a}"`);const o="base"===n?e.base:e.breakpoints?.[n];if(!o)throw new Error(`Missing value for variant "${t}", key "${a}", and breakpoint "${n}"`);if(h(o))return o;switch(o.type){case"px":return o.value/16+"rem";case"unitless":return String(o.value)}return v()},w=(r,t)=>t in r.font?`var(--${c}-${t})`:t,x=(r,t)=>Object.fromEntries(m.flatMap(a=>[[`--${c}-${a}`,w(r,g(r,a,"fontFamily",t))],[`--${s}-${a}`,g(r,a,"fontSize",t)],[`--${f}-${a}`,g(r,a,"fontWeight",t)],[`--${d}-${a}`,g(r,a,"fontSlant",t)],[`--${i}-${a}`,g(r,a,"fontWidth",t)],[`--${o}-${a}`,g(r,a,"lineHeight",t)],[`--${e}-${a}`,g(r,a,"textTransform",t)]])),b=r=>Object.fromEntries(m.map(t=>[t,`var(--${r}-${t})`])),M={fontFamily:b(c),fontWeight:b(f),fontSlant:b(d),fontWidth:b(i),fontSize:b(s),lineHeight:b(o),textTransform:b(e)},k=r=>x(r,"base"),y=r=>{const t=(a=r.breakpoints,Object.entries(a)).sort(([,{value:r}],[,{value:t}])=>r-t);var a;return{[`.${l}`]:Object.fromEntries(t.map(([t,{value:a}])=>[`@media (min-width: ${a}px)`,x(r,t)])),".uds-text-base":x(r,"base"),...Object.fromEntries(t.map(([t])=>[`.uds-text-${t}`,x(r,t)]))}};function S(r,{addBase:t}){const a=L(r);for(const r of a)t({"@font-face":r})}var j=$.withOptions(function({fontIds:r}){return function({addBase:t}){S(r,{addBase:t})}});function E(r){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...r.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...r.colorMode.dark._vars}}}function L(r){return r.flatMap(r=>{const{declarations:a,fontFamily:n}=t[r];return a.map(r=>({fontFamily:n,fontDisplay:"swap",...r}))})}function O(r){return`"${r}"`}function W(r){return a(n(r).map(([r,a])=>{const n=`--${c}-${r}`,e=t[a];return[n,[e.fontFamily,...e.fallback].map(O).join(", ")]}))}function _(t){const e=n(t).flatMap(([t,a])=>n(a).flatMap(([a,n])=>p.map(e=>[r({variant:t,speed:a,control:e}),`${n[e]}`])));return a(e)}function F(r){return{...r.borderRadius._vars,...r.borderWidth._vars,...r.avatarSizes._vars,...r.iconSizes._vars}}function z(r){return{xSmall:F(r.scaleMode.xSmall),small:F(r.scaleMode.small),medium:F(r.scaleMode.medium),large:F(r.scaleMode.large),xLarge:F(r.scaleMode.xLarge),xxLarge:F(r.scaleMode.xxLarge),xxxLarge:F(r.scaleMode.xxxLarge)}}function B({config:r,shadowType:t}){const e=r.shadow[t],o=n(e).map(([r])=>[`.uds-${t}-shadow-${r}`,{[`--uds-${t}-shadow`]:`var(--${u}-${t}-shadow-${r})`,boxShadow:`var(--${u}-drop-shadow, 0 0 transparent), var(--${u}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return a(o)}export{M as RESPONSIVE_TAILWIND_CONFIG_MAP,S as addFontFaceDeclarations,j as addFontsPlugin,v as assertUnreachable,k as getBaseTextVars,E as getColorModeStyles,L as getFontFaceDeclarations,W as getFontStyles,_ as getMotionStyles,y as getResponsiveTextStyles,z as getScaleModeStyles,B as getShadowStyles};
|
package/dist/chunk-XT7VV5LA.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-S5XWK3OK.cjs"),e=require("react"),n=require("lodash-es"),t=require("react/jsx-runtime"),a=(r,t)=>((r,e)=>{const t=n.isFunction(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(e.Children.toArray(r),r=>{const a=n.isFunction(t)?t(r):t;return e.isValidElement(a)?e.cloneElement(a,{...a.props,key:a.key??`interspersed-${r}`}):null}),i=e.forwardRef(function({gap:e,children:n,separator:i,...o},c){return t.jsx(r.Box,{ref:c,flexDirection:"row",rowGap:e,columnGap:e,...o,children:i?a(n,i):n})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */i.displayName="HStack";var o=e.forwardRef(function({gap:e,children:n,separator:i,...o},c){return t.jsx(r.Box,{ref:c,flexDirection:"column",columnGap:e,rowGap:e,...o,children:i?a(n,i):n})});o.displayName="VStack",exports.HStack=i,exports.VStack=o;
|
package/dist/chunk-XUETKXD3.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{Text as r,cx as a}from"./chunk-G424GRRD.js";import{isFunction as e}from"lodash-es";import{jsxs as i,jsx as t}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var l=({htmlFor:l,required:o,label:s,children:n,color:c="muted",variant:h="label3",hasError:m=!1,showRequiredAsterisk:d=!1,as:u="label",className:p,...v})=>{const b=s?e(s)?s():s:n;return b?i(r,{variant:h,color:c,as:u,htmlFor:l,className:a("cursor-[inherit]",p),...v,children:[b,o&&d&&t(r,{as:"sup",color:m?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};export{l as FormLabel};
|