@yahoo/uds 3.16.0-beta.2 → 3.16.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.
Files changed (142) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-linux-arm64 +0 -0
  3. package/cli/bin/uds-linux-x64-baseline +0 -0
  4. package/dist/{Box-D40ThLwg.d.cts → Box-CcXdv2Rw.d.cts} +1 -37
  5. package/dist/{Box-D40ThLwg.d.ts → Box-CcXdv2Rw.d.ts} +1 -37
  6. package/dist/{Input-CMSWyzqv.d.cts → Input-BL9lQCDu.d.cts} +1 -1
  7. package/dist/{Input-BMRGSU5y.d.ts → Input-BRzRLQxn.d.ts} +1 -1
  8. package/dist/{Input-Bodf4GHN.d.ts → Input-CpYGVQ-T.d.ts} +1 -1
  9. package/dist/{Input-Dy8st3t9.d.cts → Input-Cqqrcr9V.d.cts} +1 -1
  10. package/dist/{Pressable-Bu5pYD6Z.d.ts → Pressable-B4_x948C.d.ts} +1 -1
  11. package/dist/{Pressable-CIIFtTng.d.ts → Pressable-CoLUS3i4.d.ts} +1 -1
  12. package/dist/{Pressable-6OGAsf5K.d.cts → Pressable-DLz3zvLg.d.cts} +1 -1
  13. package/dist/{Pressable-BWXRpiJE.d.cts → Pressable-uR0PuwES.d.cts} +1 -1
  14. package/dist/{VStack-BeVwzpH2.d.cts → VStack-C-KFLkLJ.d.cts} +1 -1
  15. package/dist/{VStack-BD2tZc5A.d.ts → VStack-D9yWaJWV.d.ts} +1 -1
  16. package/dist/{VStack-QdWDAiK_.d.ts → VStack-DSWpLD2I.d.ts} +1 -1
  17. package/dist/{VStack-neVNcyVv.d.cts → VStack-DUhbtLPK.d.cts} +1 -1
  18. package/dist/chunk-2O4KDOWQ.js +2 -0
  19. package/dist/chunk-37LEXEW4.js +3 -0
  20. package/dist/chunk-5ZMNC32B.js +1 -0
  21. package/dist/chunk-6BNYCBB5.cjs +1 -0
  22. package/dist/chunk-CJQWF4E7.cjs +1 -0
  23. package/dist/chunk-GDB25UGP.js +2 -0
  24. package/dist/chunk-HT3GLDSF.js +2 -0
  25. package/dist/chunk-IA5PTKGD.cjs +1 -0
  26. package/dist/chunk-JFLE7LSO.cjs +3 -0
  27. package/dist/chunk-M5SXYW4O.js +1 -0
  28. package/dist/chunk-NHBTWN5R.js +3 -0
  29. package/dist/chunk-ODIO4O52.js +2 -0
  30. package/dist/chunk-OMJ3BDEX.cjs +1 -0
  31. package/dist/chunk-RDF2NPZV.cjs +1 -0
  32. package/dist/chunk-RQARSMJK.cjs +2 -0
  33. package/dist/chunk-RR45EHLK.js +3 -0
  34. package/dist/chunk-S5OCORC7.js +3 -0
  35. package/dist/chunk-T7G5JTDY.js +2 -0
  36. package/dist/chunk-TJZ4HVAG.cjs +3 -0
  37. package/dist/chunk-W4KK6R6C.js +1 -0
  38. package/dist/chunk-WGG66FKO.cjs +1 -0
  39. package/dist/chunk-X2JAO3BG.cjs +2 -0
  40. package/dist/chunk-YMQMU4E2.cjs +1 -0
  41. package/dist/chunk-YR633T75.cjs +1 -0
  42. package/dist/chunk-YVEYAMML.js +1 -0
  43. package/dist/chunk-ZO4QHULA.cjs +1 -0
  44. package/dist/client/Menu.cjs +1 -1
  45. package/dist/client/Menu.d.cts +3 -3
  46. package/dist/client/Menu.d.ts +3 -3
  47. package/dist/client/Menu.js +2 -2
  48. package/dist/client/index.cjs +1 -1
  49. package/dist/client/index.d.cts +38 -6
  50. package/dist/client/index.d.ts +38 -6
  51. package/dist/client/index.js +1 -1
  52. package/dist/experimental/client/index.cjs +2 -2
  53. package/dist/experimental/client/index.d.cts +2 -39
  54. package/dist/experimental/client/index.d.ts +2 -39
  55. package/dist/experimental/client/index.js +2 -2
  56. package/dist/experimental/index.cjs +1 -1
  57. package/dist/experimental/index.d.cts +2 -2
  58. package/dist/experimental/index.d.ts +2 -2
  59. package/dist/experimental/index.js +1 -1
  60. package/dist/{index-B3nKT69I.d.cts → index-BSMvOULh.d.cts} +1 -1
  61. package/dist/{index-B7kmT6BF.d.cts → index-BuZPwX-z.d.cts} +1 -1
  62. package/dist/{index-Dv3eaEEg.d.ts → index-CEYXA0Pi.d.ts} +1 -1
  63. package/dist/{index-Cp0yW36O.d.ts → index-DCMwb5yd.d.ts} +1 -1
  64. package/dist/index.cjs +1 -1
  65. package/dist/index.d.cts +6 -6
  66. package/dist/index.d.ts +6 -6
  67. package/dist/index.js +1 -1
  68. package/dist/metafile-cjs.json +1 -1
  69. package/dist/metafile-esm.json +1 -1
  70. package/dist/tailwind/plugin.cjs +1 -1
  71. package/dist/tailwind/plugin.d.cts +1 -1
  72. package/dist/tailwind/plugin.d.ts +1 -1
  73. package/dist/tailwind/plugin.js +2 -2
  74. package/dist/tailwind/purger.cjs +1 -1
  75. package/dist/tailwind/purger.js +1 -1
  76. package/dist/tailwind/utils.cjs +1 -1
  77. package/dist/tailwind/utils.d.cts +6 -12
  78. package/dist/tailwind/utils.d.ts +6 -12
  79. package/dist/tailwind/utils.js +1 -1
  80. package/dist/tokens/automation/configs.cjs +1 -1
  81. package/dist/tokens/automation/configs.d.cts +2 -2
  82. package/dist/tokens/automation/configs.d.ts +2 -2
  83. package/dist/tokens/automation/configs.js +1 -1
  84. package/dist/tokens/automation/properties.cjs +1 -1
  85. package/dist/tokens/automation/properties.d.cts +2 -2
  86. package/dist/tokens/automation/properties.d.ts +2 -2
  87. package/dist/tokens/automation/properties.js +1 -1
  88. package/dist/tokens/index.cjs +1 -1
  89. package/dist/tokens/index.d.cts +20 -20
  90. package/dist/tokens/index.d.ts +20 -20
  91. package/dist/tokens/index.js +1 -1
  92. package/dist/tokens/parseTokens.d.cts +1 -1
  93. package/dist/tokens/parseTokens.d.ts +1 -1
  94. package/dist/{types-DYEQXQnF.d.ts → types-B_G_Ws4q.d.cts} +1945 -1945
  95. package/dist/{types-BPg1GqRW.d.ts → types-B_G_Ws4q.d.ts} +1 -1
  96. package/dist/{types-BPg1GqRW.d.cts → types-bUSRKyjU.d.cts} +1958 -1958
  97. package/dist/{types-DYEQXQnF.d.cts → types-bUSRKyjU.d.ts} +1 -1
  98. package/package.json +2 -12
  99. package/dist/SpringMotionConfig-CDjfwVEF.d.cts +0 -45
  100. package/dist/SpringMotionConfig-CGcal4P2.d.cts +0 -45
  101. package/dist/SpringMotionConfig-DVN_tZUq.d.ts +0 -45
  102. package/dist/SpringMotionConfig-G-5m8zYg.d.ts +0 -45
  103. package/dist/chunk-24HEQ4PT.js +0 -1
  104. package/dist/chunk-2ZZHX2EJ.cjs +0 -1
  105. package/dist/chunk-35PHZJZG.cjs +0 -1
  106. package/dist/chunk-3T5IX3JE.cjs +0 -1
  107. package/dist/chunk-4OQKZKM5.js +0 -1
  108. package/dist/chunk-6ZCIS462.cjs +0 -2
  109. package/dist/chunk-72JXN7EE.js +0 -1
  110. package/dist/chunk-A3B3VYP6.cjs +0 -1
  111. package/dist/chunk-A4MU7ARJ.cjs +0 -1
  112. package/dist/chunk-AIZ2OTKW.cjs +0 -2
  113. package/dist/chunk-BIT4ZYYL.cjs +0 -1
  114. package/dist/chunk-EF6FLPTH.cjs +0 -1
  115. package/dist/chunk-FOQRYH73.js +0 -1
  116. package/dist/chunk-GP7XCURZ.js +0 -1
  117. package/dist/chunk-HN3QQ5PU.js +0 -2
  118. package/dist/chunk-HUFHYJ5T.cjs +0 -1
  119. package/dist/chunk-HYCGETLK.js +0 -2
  120. package/dist/chunk-LUIZSLSJ.cjs +0 -1
  121. package/dist/chunk-MSCQUXK7.js +0 -2
  122. package/dist/chunk-MWF3T6YY.cjs +0 -3
  123. package/dist/chunk-OCQZCUT3.js +0 -2
  124. package/dist/chunk-OGIKGD5Z.js +0 -2
  125. package/dist/chunk-OJB3FVN6.js +0 -3
  126. package/dist/chunk-ON6FCSMM.js +0 -1
  127. package/dist/chunk-PN3UA6WB.cjs +0 -1
  128. package/dist/chunk-Q3GQNZOI.js +0 -1
  129. package/dist/chunk-Q6L5YDK4.cjs +0 -1
  130. package/dist/chunk-QFJTN7H3.js +0 -2
  131. package/dist/chunk-SQCEFYU5.cjs +0 -3
  132. package/dist/chunk-TPSHAL7U.js +0 -3
  133. package/dist/chunk-XMZZKQMQ.js +0 -1
  134. package/dist/chunk-XVD3PMQ7.cjs +0 -1
  135. package/dist/domMax-OBCHPQP3.js +0 -1
  136. package/dist/domMax-ZTC57OAI.cjs +0 -1
  137. package/dist/experimental/client/SwitchV2.cjs +0 -2
  138. package/dist/experimental/client/SwitchV2.d.cts +0 -44
  139. package/dist/experimental/client/SwitchV2.d.ts +0 -44
  140. package/dist/experimental/client/SwitchV2.js +0 -2
  141. /package/dist/{domAnimation-ESPUKI4G.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
  142. /package/dist/{domAnimation-MWKTMI4P.js → motionFeatures-SJISLQ4M.js} +0 -0
@@ -1,3 +0,0 @@
1
- "use strict";var o=require("./chunk-FSOKVNOU.cjs"),r=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),e=require("clsx"),n=require("imurmurhash"),i=require("tailwind-merge"),a=require("react"),l=require("react/jsx-runtime"),s=require("lodash-es");function d(o){return o&&o.__esModule?o:{default:o}}var f=d(e),c=d(n);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- function p(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function u(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var b=i.extendTailwindMerge({extend:{theme:{borderColor:r.lineColors,borderWidth:r.borderWidths,borderRadius:r.borderRadii}},override:{classGroups:{"text-color":[{text:[...r.foregroundColors,...r.spectrumColors]}],"bg-color":[{bg:r.backgroundColors}],"font-family":[{font:["icons",...r.textVariants]}],leading:[{leading:r.textVariants}]},conflictingClassGroups:{}}}),h=(...o)=>{const r=f.default(o);return b(r)},m=o=>r=>{if(!o?.variants)return h(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map((o=>{const n=r?.[o],i=e?.[o],a=p(n)||p(i);return t[o][a]})),i={...e,...r&&u(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>i[o]===r))?h(o,r):o),"");return h(o?.base,n,a,r?.className)},g=m({variants:o.variants}),x=new Map,C=o=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(u(o)),t=(new c.default).hash(JSON.stringify(r)).result();if(x.has(t))return x.get(t);const e=g(r);return x.set(t,e),e}return g(o)};function S(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function w(){const o=a.forwardRef(((o,t)=>{const{children:n,...i}=o,s=a.Children.toArray(n),d=s.find(e);if(d){const o=d.props.children,e=s.map((r=>r===d?a.Children.count(o)>1?a.Children.only(null):a.isValidElement(o)?o.props.children:null:r));return l.jsx(r,{...i,ref:t,children:a.isValidElement(o)?a.cloneElement(o,void 0,e):null})}return l.jsx(r,{...i,ref:t,children:n})}));o.displayName="Slot";const r=a.forwardRef(((o,r)=>{const{children:t,...e}=o;return a.isValidElement(t)?a.cloneElement(t,{...n(e,t.props),ref:r?S(r,t.ref):t.ref}):a.Children.count(t)>1?a.Children.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return a.isValidElement(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var y=w(),v=a.forwardRef((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:b,borderVerticalWidth:h,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:S,borderBottomWidth:w,alignContent:v,alignItems:W,alignSelf:E,flex:B,flexDirection:T,flexGrow:R,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:z,display:G="flex",overflow:H,overflowX:k,overflowY:q,position:O,spacing:I,spacingHorizontal:F,spacingVertical:A,spacingBottom:D,spacingEnd:X,spacingStart:Y,spacingTop:M,offset:$,offsetVertical:_,offsetHorizontal:J,offsetBottom:K,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:L,rowGap:Q,width:oo,height:ro,dropShadow:to,insetShadow:eo,...no},io){const ao=C({backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:b,borderVerticalWidth:h,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:S,borderBottomWidth:w,alignContent:v,alignItems:W,alignSelf:E,flex:B,flexDirection:T,flexGrow:R,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:z,display:G,overflow:H,overflowX:k,overflowY:q,position:O,spacing:I,spacingHorizontal:F,spacingVertical:A,spacingBottom:D,spacingEnd:X,spacingStart:Y,spacingTop:M,offset:$,offsetVertical:_,offsetHorizontal:J,offsetBottom:K,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:L,rowGap:Q,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r}),lo=o?y:"div";return l.jsx(lo,{className:ao,ref:io,...no})}));v.displayName="Box";var W=w(),E={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"},B=a.forwardRef((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=E[e],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:f,textAlign:c,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:S,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:O,flexGrow:I,flexShrink:F,flexWrap:A,justifyContent:D,flexBasis:X,display:Y,overflow:M,overflowX:$,overflowY:_,position:J,spacing:K,spacingHorizontal:P,spacingVertical:U,spacingBottom:Z,spacingEnd:L,spacingStart:Q,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:s??e,lineHeight:d??e,textTransform:f??e}:{},textAlign:c},bo=C({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:S,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:O,flexGrow:I,flexShrink:F,flexWrap:A,justifyContent:D,flexBasis:X,display:Y,overflow:M,overflowX:$,overflowY:_,position:J,spacing:K,spacingHorizontal:P,spacingVertical:U,spacingBottom:Z,spacingEnd:L,spacingStart:Q,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo}),ho=r?W:n;return l.jsx(ho,{className:bo,ref:po,...co})}));B.displayName="Text";var T={xs:12,sm:16,md:24,lg:32},R=a.forwardRef((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const s=o.metadata?.variants??[],d=s.includes(t)?t:s[0]??"fill",f="multicolor"===d,c=C({flex:"none",color:f?void 0:e,className:h(n,!f&&"[&_path]:fill-current")}),p=T[r];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:c,...i,children:l.jsx(o,{size:r,variant:d})})}));R.displayName="Icon";var V=a.memo((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},n=o;if(n.metadata?.isSvgIcon)return l.jsx(R,{name:n,...e,...t});if(s.isFunction(o)){const r=o(e);return a.isValidElement(r)&&a.cloneElement(r,t)}return a.isValidElement(o)&&a.cloneElement(o,{...e,...o.props,...t})}));
3
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.Icon=R,exports.IconSlot=V,exports.Text=B,exports.createSlot=w,exports.cva=m,exports.cx=h,exports.getStyles=C;