@yahoo/uds 3.11.1 → 3.12.0

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 (55) 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/Input-3VlNho5u.d.ts +42 -0
  5. package/dist/Input-DyendGfP.d.cts +42 -0
  6. package/dist/Pressable-Cg5k06jR.d.ts +44 -0
  7. package/dist/Pressable-DwRN0F9I.d.cts +44 -0
  8. package/dist/VStack-CKzXuoDu.d.cts +112 -0
  9. package/dist/VStack-DTzXc5Gu.d.ts +112 -0
  10. package/dist/{chunk-R5VO4HNN.js → chunk-3AGA62FV.js} +2 -2
  11. package/dist/{chunk-3OMTBWQH.cjs → chunk-4MMZH6H4.cjs} +1 -1
  12. package/dist/chunk-7CV7WF6H.cjs +2 -0
  13. package/dist/chunk-BJCZ62IT.js +1 -0
  14. package/dist/chunk-FIK5E5XF.cjs +1 -0
  15. package/dist/chunk-FIY4G5A4.cjs +1 -0
  16. package/dist/chunk-IVLA3HPE.js +1 -0
  17. package/dist/chunk-KS3DH3LU.js +2 -0
  18. package/dist/chunk-L2LMAKRB.js +2 -0
  19. package/dist/chunk-OJT5LTIJ.cjs +2 -0
  20. package/dist/chunk-PUOU55IC.cjs +2 -0
  21. package/dist/chunk-RYT7E6ME.js +3 -0
  22. package/dist/chunk-SYYG6CQE.js +2 -0
  23. package/dist/chunk-UONN6ZKS.cjs +1 -0
  24. package/dist/chunk-WNGG5RTE.cjs +3 -0
  25. package/dist/chunk-XGNMO7EU.js +3 -0
  26. package/dist/client/Menu.cjs +1 -1
  27. package/dist/client/Menu.js +2 -2
  28. package/dist/client/index.cjs +1 -1
  29. package/dist/client/index.js +1 -1
  30. package/dist/index-6XSLBu2d.d.cts +243 -0
  31. package/dist/index-BVQM-l4R.d.ts +243 -0
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/metafile-cjs.json +1 -1
  35. package/dist/metafile-esm.json +1 -1
  36. package/dist/tailwind/plugin.cjs +1 -1
  37. package/dist/tailwind/plugin.d.cts +3 -3
  38. package/dist/tailwind/plugin.d.ts +3 -3
  39. package/dist/tailwind/plugin.js +2 -2
  40. package/dist/tailwind/utils.cjs +1 -1
  41. package/dist/tailwind/utils.js +1 -1
  42. package/dist/tokens/automation/configs.cjs +1 -1
  43. package/dist/tokens/automation/configs.js +1 -1
  44. package/dist/tokens/automation/properties.cjs +1 -1
  45. package/dist/tokens/automation/properties.js +1 -1
  46. package/dist/tokens/index.cjs +1 -1
  47. package/dist/tokens/index.d.cts +3395 -3395
  48. package/dist/tokens/index.d.ts +3395 -3395
  49. package/dist/tokens/index.js +1 -1
  50. package/dist/types-DHi8fUQQ.d.cts +10450 -0
  51. package/dist/types-DHi8fUQQ.d.ts +10450 -0
  52. package/package.json +2 -1
  53. package/cli/FlattenButtonVariant.mock.tsx +0 -17
  54. package/dist/chunk-37HUQ2LJ.js +0 -2
  55. package/dist/chunk-SQ6WOQUJ.cjs +0 -2
@@ -0,0 +1 @@
1
+ "use strict";var r=require("./chunk-WNGG5RTE.cjs"),o=require("lodash-es"),e=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t=require("react").memo((function({startIcon:o,endIcon:t,iconProps:i,children:a,size:n,isFilled:l,...s}){const d={helperText:r.cx(r.getStyles({inputSizeHelperText:n,inputVariantHelperText:"default",inputVariantValueHelperText:l?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:n,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:l?"filled":"empty"})},c={variant:"outline",...i};return e.jsxs(r.HStack,{gap:"1",alignItems:"center",...s,children:[o&&e.jsx(r.IconSlot,{icon:o,...c,iconProps:i,className:d.helperIcon}),e.jsx("span",{className:d.helperText,children:a}),t&&e.jsx(r.IconSlot,{icon:t,...c,iconProps:i,className:d.helperIcon})]})}));exports.FormLabel=({htmlFor:t,required:i,label:a,children:n,color:l="muted",variant:s="label3",hasError:d=!1,showRequiredAsterisk:c=!1,as:p="label",className:f,...u})=>{const h=a?o.isFunction(a)?a():a:n;return h?e.jsxs(r.Text,{variant:s,color:l,as:p,htmlFor:t,className:r.cx("cursor-[inherit]",f),...u,children:[h,i&&c&&e.jsx(r.Text,{as:"sup",color:d?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},exports.Image=function({width:o,height:t,src:i,alt:a,contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:I,borderBottomWidth:B,alignContent:E,alignItems:H,alignSelf:w,flex:v,flexDirection:R,flexGrow:V,flexShrink:j,flexWrap:y,justifyContent:z,flexBasis:G,display:k,overflow:F,overflowX:N,overflowY:q,position:P,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:L,spacingStart:M,spacingTop:J,offset:K,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or,...er}){const tr=r.getStyles({contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:I,borderBottomWidth:B,alignContent:E,alignItems:H,alignSelf:w,flex:v,flexDirection:R,flexGrow:V,flexShrink:j,flexWrap:y,justifyContent:z,flexBasis:G,display:k,overflow:F,overflowX:N,overflowY:q,position:P,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:L,spacingStart:M,spacingTop:J,offset:K,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or});return e.jsx("img",{src:i,alt:a,className:tr,style:{width:o,height:t},...er})},exports.InputHelpTextMemo=t;
@@ -0,0 +1 @@
1
+ import{getStyles as o,cx as r,HStack as t,IconSlot as e,Text as i}from"./chunk-RYT7E6ME.js";import{isFunction as a}from"lodash-es";import{jsxs as n,jsx as l}from"react/jsx-runtime";import{memo as d}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var s=({htmlFor:o,required:t,label:e,children:d,color:s="muted",variant:c="label3",hasError:p=!1,showRequiredAsterisk:f=!1,as:h="label",className:u,...b})=>{const m=e?a(e)?e():e:d;return m?n(i,{variant:c,color:s,as:h,htmlFor:o,className:r("cursor-[inherit]",u),...b,children:[m,t&&f&&l(i,{as:"sup",color:p?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};function c({width:r,height:t,src:e,alt:i,contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:E,borderBottomWidth:B,alignContent:w,alignItems:v,alignSelf:H,flex:R,flexDirection:V,flexGrow:I,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:Y,spacing:q,spacingHorizontal:D,spacingVertical:X,spacingBottom:A,spacingEnd:M,spacingStart:J,spacingTop:K,offset:L,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:E,borderBottomWidth:B,alignContent:w,alignItems:v,alignSelf:H,flex:R,flexDirection:V,flexGrow:I,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:Y,spacing:q,spacingHorizontal:D,spacingVertical:X,spacingBottom:A,spacingEnd:M,spacingStart:J,spacingTop:K,offset:L,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return l("img",{src:e,alt:i,className:eo,style:{width:r,height:t},...to})}var p=d((function({startIcon:i,endIcon:a,iconProps:d,children:s,size:c,isFilled:p,...f}){const h={helperText:r(o({inputSizeHelperText:c,inputVariantHelperText:"default",inputVariantValueHelperText:p?"filled":"empty"})),helperIcon:o({inputSizeHelperIcon:c,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:p?"filled":"empty"})},u={variant:"outline",...d};return n(t,{gap:"1",alignItems:"center",...f,children:[i&&l(e,{icon:i,...u,iconProps:d,className:h.helperIcon}),l("span",{className:h.helperText,children:s}),a&&l(e,{icon:a,...u,iconProps:d,className:h.helperIcon})]})}));export{s as FormLabel,c as Image,p as InputHelpTextMemo};