@yahoo/uds 3.11.0 → 3.11.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/dist/{Input-B0YPRXZL.d.ts → Input-DFCQ2u9B.d.ts} +1 -1
- package/dist/{Input-CkJlVr6O.d.cts → Input-Fjl8GOP_.d.cts} +1 -1
- package/dist/{Pressable-SYT1NQuC.d.ts → Pressable-DexnJ2tl.d.ts} +1 -1
- package/dist/{Pressable-r_yl7aVF.d.cts → Pressable-fG9Ir9i4.d.cts} +1 -1
- package/dist/{VStack-Ca439hrP.d.cts → VStack-BLo_GVRR.d.cts} +1 -1
- package/dist/{VStack-DE7SrIzZ.d.ts → VStack-CAmlGQov.d.ts} +1 -1
- package/dist/{chunk-XUM2E3CP.js → chunk-37HUQ2LJ.js} +1 -1
- package/dist/{chunk-T5MCU3S3.cjs → chunk-3OMTBWQH.cjs} +2 -2
- package/dist/{chunk-H76TDDRW.js → chunk-R5VO4HNN.js} +2 -2
- package/dist/{chunk-BD6B5HKX.cjs → chunk-SQ6WOQUJ.cjs} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/fixtures.d.cts +1 -7
- package/dist/fixtures.d.ts +1 -7
- package/dist/{index-L43FtXGP.d.cts → index-CzTuVTTj.d.cts} +1 -1
- package/dist/{index-Bv1_94xk.d.ts → index-DkZBPwMK.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- 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.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +6 -12
- package/dist/tokens/index.d.ts +6 -12
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-Cearr8np.d.cts → types-CCP4BG97.d.cts} +20 -13
- package/dist/{types-yAntDV_W.d.cts → types-CCP4BG97.d.ts} +1993 -1986
- package/package.json +1 -1
- package/dist/Input-CR-9J6M8.d.ts +0 -42
- package/dist/Input-qGxR-dxk.d.cts +0 -42
- package/dist/Pressable-B726BwIQ.d.ts +0 -44
- package/dist/Pressable-QO5HXmcW.d.cts +0 -44
- package/dist/VStack-D7Psnp1o.d.cts +0 -112
- package/dist/VStack-s3m-s5K6.d.ts +0 -112
- package/dist/chunk-7WZNFZ4I.js +0 -3
- package/dist/chunk-BJCZ62IT.js +0 -1
- package/dist/chunk-FIK5E5XF.cjs +0 -1
- package/dist/chunk-FIY4G5A4.cjs +0 -1
- package/dist/chunk-IVLA3HPE.js +0 -1
- package/dist/chunk-RYT7E6ME.js +0 -3
- package/dist/chunk-SYYG6CQE.js +0 -2
- package/dist/chunk-TD3RXFWA.cjs +0 -2
- package/dist/chunk-UONN6ZKS.cjs +0 -1
- package/dist/chunk-VWJ2HST2.js +0 -2
- package/dist/chunk-WNGG5RTE.cjs +0 -3
- package/dist/chunk-YNGV3P4U.cjs +0 -2
- package/dist/index-COgvj_Xg.d.ts +0 -243
- package/dist/index-CUAvLVAf.d.cts +0 -243
- package/dist/types-Cearr8np.d.ts +0 -10443
- package/dist/types-yAntDV_W.d.ts +0 -10443
package/dist/chunk-WNGG5RTE.cjs
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-UONN6ZKS.cjs"),o=require("@yahoo/uds/fixtures"),e=require("@yahoo/uds/flags"),t=require("clsx"),n=require("imurmurhash"),i=require("tailwind-merge"),a=require("react"),l=require("react/jsx-runtime"),s=require("lodash-es");function d(r){return r&&r.__esModule?r:{default:r}}var c=d(t),f=d(n);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function p(r){return"boolean"==typeof r?`${r}`:0===r?"0":r}function u(r){const o=Object.create(null),e=Object.keys(r);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==r[n]&&(o[n]=r[n])}return o}var h=i.extendTailwindMerge({extend:{theme:{borderColor:o.lineColors,borderWidth:o.borderWidths,borderRadius:o.borderRadii}},override:{classGroups:{"text-color":[{text:[...o.foregroundColors,...o.spectrumColors]}],"bg-color":[{bg:o.backgroundColors}],"font-family":[{font:["icons",...o.textVariants]}],leading:[{leading:o.textVariants}]},conflictingClassGroups:{}}}),b=(...r)=>{const o=c.default(r);return h(o)},m=r=>o=>{if(!r?.variants)return b(r?.base,o?.className);const{variants:e,defaultVariants:t}=r,n=Object.keys(e).map((r=>{const n=o?.[r],i=t?.[r],a=p(n)||p(i);return e[r][a]})),i={...t,...o&&u(o)},a=r?.compoundVariants?.reduce(((r,{className:o,...e})=>Object.entries(e).every((([r,o])=>i[r]===o))?b(r,o):r),"");return b(r?.base,n,a,o?.className)},g=m({variants:r.variants}),x=new Map,S=r=>{const{useGetStylesCache:o}=e.getFeatureFlags();if(o){const o=function(r){const o=Object.create(null),e=Object.keys(r).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];o[n]=r[n]}return o}(u(r)),e=(new f.default).hash(JSON.stringify(o)).result();if(x.has(e))return x.get(e);const t=g(o);return x.set(e,t),t}return g(r)};function C(...r){return o=>r.forEach((r=>function(r,o){"function"==typeof r?r(o):null!=r&&(r.current=o)}(r,o)))}function w(){const r=a.forwardRef(((r,e)=>{const{children:n,...i}=r,s=a.Children.toArray(n),d=s.find(t);if(d){const r=d.props.children,t=s.map((o=>o===d?a.Children.count(r)>1?a.Children.only(null):a.isValidElement(r)?r.props.children:null:o));return l.jsx(o,{...i,ref:e,children:a.isValidElement(r)?a.cloneElement(r,void 0,t):null})}return l.jsx(o,{...i,ref:e,children:n})}));r.displayName="Slot";const o=a.forwardRef(((r,o)=>{const{children:e,...t}=r;return a.isValidElement(e)?a.cloneElement(e,{...n(t,e.props),ref:o?C(o,e.ref):e.ref}):a.Children.count(e)>1?a.Children.only(null):null}));o.displayName="SlotClone";const e=({children:r})=>r;function t(r){return a.isValidElement(r)&&r.type===e}function n(r,o){const e={...o};for(const t in o){const n=r[t],i=o[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...r)=>{i(...r),n(...r)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...r,...e}}return r}var y=w(),v=a.forwardRef((function({asChild:r,className:o,backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:N,justifyContent:j,flexBasis:k,display:G="flex",overflow:z,overflowX:H,overflowY:q,position:I,spacing:O,spacingHorizontal:F,spacingVertical:D,spacingBottom:A,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:P,offsetTop:U,columnGap:L,rowGap:Q,width:rr,height:or,dropShadow:er,insetShadow:tr,...nr},ir){const ar=S({backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:N,justifyContent:j,flexBasis:k,display:G,overflow:z,overflowX:H,overflowY:q,position:I,spacing:O,spacingHorizontal:F,spacingVertical:D,spacingBottom:A,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:P,offsetTop:U,columnGap:L,rowGap:Q,width:rr,height:or,dropShadow:er,insetShadow:tr,className:o}),lr=r?y:"div";return l.jsx(lr,{className:ar,ref:ir,...nr})}));v.displayName="Box";var E=(r,o)=>((r,o)=>{const e=s.isFunction(o)?o:()=>o;return r.flatMap(((r,o)=>0!==o?[e(o),r]:[r]))})(a.Children.toArray(r),(r=>{const e=s.isFunction(o)?o(r):o;return a.isValidElement(e)?a.cloneElement(e,{...e.props,key:e.key??`interspersed-${r}`}):null})),W=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t,children:e?E(o,e):o})}));W.displayName="HStack";var B=w(),R={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",inherit:"p"},T=a.forwardRef((function({className:r,asChild:o,color:e="primary",variant:t="body1",as:n=R[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:N,borderTopWidth:j,borderBottomWidth:k,alignContent:G,alignItems:z,alignSelf:H,flex:q,flexDirection:I,flexGrow:O,flexShrink:F,flexWrap:D,justifyContent:A,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:Z,spacing:J,spacingHorizontal:K,spacingVertical:P,spacingBottom:U,spacingEnd:L,spacingStart:Q,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr,...cr},fr){const pr={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:i??t,fontSize:a??t,fontWeight:s??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},ur=S({className:r,...pr,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:N,borderTopWidth:j,borderBottomWidth:k,alignContent:G,alignItems:z,alignSelf:H,flex:q,flexDirection:I,flexGrow:O,flexShrink:F,flexWrap:D,justifyContent:A,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:Z,spacing:J,spacingHorizontal:K,spacingVertical:P,spacingBottom:U,spacingEnd:L,spacingStart:Q,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr}),hr=o?B:n;return l.jsx(hr,{className:ur,ref:fr,...cr})}));T.displayName="Text";var V=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t,children:e?E(o,e):o})}));V.displayName="VStack";var N={xs:12,sm:16,md:24,lg:32},j=a.forwardRef((function({name:r,size:o="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=r.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=S({flex:"none",color:c?void 0:t,className:b(n,!c&&"[&_path]:fill-current")}),p=N[o];return l.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:l.jsx(r,{size:o,variant:d})})}));j.displayName="Icon";var k=a.memo((function({icon:r,iconProps:o,...e}){if(!r)return null;const t=o??{},n=r;if(n.metadata?.isSvgIcon)return l.jsx(j,{name:n,...t,...e});if(s.isFunction(r)){const o=r(t);return a.isValidElement(o)&&a.cloneElement(o,e)}return a.isValidElement(r)&&a.cloneElement(r,{...t,...r.props,...e})}));
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.HStack=W,exports.Icon=j,exports.IconSlot=k,exports.Text=T,exports.VStack=V,exports.createSlot=w,exports.cva=m,exports.cx=b,exports.getStyles=S;
|