@yahoo/uds 3.7.0 → 3.8.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 (118) hide show
  1. package/dist/{Input-BGceeqLW.d.ts → Input-CVIrgHsH.d.ts} +1 -1
  2. package/dist/{Input-C99aN91x.d.ts → Input-CmkmuvrM.d.ts} +1 -1
  3. package/dist/{Input-BfPGysFx.d.cts → Input-CzZjGS_G.d.cts} +1 -1
  4. package/dist/{Input-CoUcOVH8.d.cts → Input-PVGFXtkx.d.cts} +1 -1
  5. package/dist/{Pressable-CxNtSwpK.d.cts → Pressable-BhcHtCvI.d.cts} +1 -1
  6. package/dist/{Pressable-BQkEnHzj.d.cts → Pressable-D3FJsB7_.d.cts} +1 -1
  7. package/dist/{Pressable-Dj2Ag1Y0.d.ts → Pressable-dGwwt9jV.d.ts} +1 -1
  8. package/dist/{Pressable-Cuwj0ogR.d.ts → Pressable-lNqsdSJU.d.ts} +1 -1
  9. package/dist/{VStack-CZCVfqEd.d.ts → VStack-5TEnNAP_.d.ts} +1 -1
  10. package/dist/{VStack-ClcIiF83.d.ts → VStack-BB8gaSzn.d.ts} +1 -1
  11. package/dist/{VStack-B7s1TIGk.d.cts → VStack-B_eklK1W.d.cts} +1 -1
  12. package/dist/{VStack-CWMr49LU.d.cts → VStack-Bue6YCyi.d.cts} +1 -1
  13. package/dist/{chunk-3VPI43PY.js → chunk-2DICFUUJ.js} +2 -2
  14. package/dist/chunk-2GIB3HPN.cjs +1 -0
  15. package/dist/{chunk-GSO3MC65.js → chunk-3YSGEWV3.js} +2 -2
  16. package/dist/chunk-46GNFG55.cjs +2 -0
  17. package/dist/{chunk-4AS6QR6M.cjs → chunk-4LBIEP7R.cjs} +2 -2
  18. package/dist/{chunk-AFPPCX7S.js → chunk-4MTULZYF.js} +1 -1
  19. package/dist/chunk-4NXBFKMZ.js +2 -0
  20. package/dist/chunk-6FIPOCHY.cjs +1 -0
  21. package/dist/chunk-AK6RCGU6.cjs +1 -0
  22. package/dist/{chunk-HBZLHJEI.js → chunk-E4RNAQCQ.js} +1 -1
  23. package/dist/{chunk-3WLIHKQU.js → chunk-EYGEUZT7.js} +3 -3
  24. package/dist/{chunk-SBZ7RVDC.js → chunk-FWCCRREG.js} +2 -2
  25. package/dist/{chunk-G6ZVHXS4.cjs → chunk-GKAVWQP5.cjs} +1 -1
  26. package/dist/chunk-J2KVLHS3.js +1 -0
  27. package/dist/chunk-KCTLKYOO.cjs +1 -0
  28. package/dist/{chunk-PDUDFUBF.cjs → chunk-M47X3QGG.cjs} +3 -3
  29. package/dist/chunk-M4DF5FTU.js +1 -0
  30. package/dist/chunk-P4YXS6AA.cjs +1 -0
  31. package/dist/chunk-PBAFGJ2T.js +2 -0
  32. package/dist/chunk-PMY6PJWM.cjs +2 -0
  33. package/dist/chunk-R3F7E5CJ.js +1 -0
  34. package/dist/{chunk-HVVEL54J.js → chunk-RR727YZK.js} +3 -3
  35. package/dist/{chunk-ATOJCFHS.js → chunk-SF7HJKP3.js} +2 -2
  36. package/dist/{chunk-IC335V3E.cjs → chunk-SIBOGMNP.cjs} +1 -1
  37. package/dist/{chunk-YH5T6DT6.cjs → chunk-W6OCS6YF.cjs} +1 -1
  38. package/dist/{chunk-BNLUH23E.cjs → chunk-WQW5COOJ.cjs} +1 -1
  39. package/dist/{chunk-YTMZSL6D.cjs → chunk-YQCS652P.cjs} +1 -1
  40. package/dist/chunk-ZAUAVTUR.js +1 -0
  41. package/dist/client/Menu.cjs +1 -1
  42. package/dist/client/Menu.d.cts +3 -3
  43. package/dist/client/Menu.d.ts +3 -3
  44. package/dist/client/Menu.js +2 -2
  45. package/dist/client/index.cjs +1 -1
  46. package/dist/client/index.d.cts +3 -3
  47. package/dist/client/index.d.ts +3 -3
  48. package/dist/client/index.js +1 -1
  49. package/dist/experimental/client/index.cjs +1 -1
  50. package/dist/experimental/client/index.d.cts +1 -1
  51. package/dist/experimental/client/index.d.ts +1 -1
  52. package/dist/experimental/client/index.js +1 -1
  53. package/dist/experimental/index.cjs +3 -2
  54. package/dist/experimental/index.d.cts +8 -2
  55. package/dist/experimental/index.d.ts +8 -2
  56. package/dist/experimental/index.js +2 -2
  57. package/dist/fixtures.cjs +28 -20
  58. package/dist/fixtures.d.cts +10 -3
  59. package/dist/fixtures.d.ts +10 -3
  60. package/dist/fixtures.js +27 -20
  61. package/dist/{index-DFMpUaM_.d.cts → index-Bszwf4ZY.d.cts} +2 -2
  62. package/dist/{index-COrTgv1K.d.ts → index-DD4YLbLO.d.ts} +2 -2
  63. package/dist/{index-MiKyutQL.d.ts → index-KEPvOXd5.d.cts} +2 -2
  64. package/dist/{index-DYKpV0hQ.d.cts → index-STbRau2s.d.ts} +2 -2
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.d.cts +109 -109
  67. package/dist/index.d.ts +109 -109
  68. package/dist/index.js +1 -1
  69. package/dist/metafile-cjs.json +1 -1
  70. package/dist/metafile-esm.json +1 -1
  71. package/dist/tailwind/plugin.cjs +1 -1
  72. package/dist/tailwind/plugin.d.cts +6 -1
  73. package/dist/tailwind/plugin.d.ts +6 -1
  74. package/dist/tailwind/plugin.js +2 -2
  75. package/dist/tailwind/purger.cjs +1 -1
  76. package/dist/tailwind/purger.js +2 -2
  77. package/dist/tailwind/tsMorph.cjs +1 -1
  78. package/dist/tailwind/tsMorph.js +1 -1
  79. package/dist/tailwind/utils.cjs +1 -1
  80. package/dist/tailwind/utils.d.cts +4 -4
  81. package/dist/tailwind/utils.d.ts +4 -4
  82. package/dist/tailwind/utils.js +1 -1
  83. package/dist/tokens/automation/configs.cjs +1 -1
  84. package/dist/tokens/automation/configs.d.cts +2 -2
  85. package/dist/tokens/automation/configs.d.ts +2 -2
  86. package/dist/tokens/automation/configs.js +1 -1
  87. package/dist/tokens/automation/properties.cjs +1 -1
  88. package/dist/tokens/automation/properties.d.cts +2 -2
  89. package/dist/tokens/automation/properties.d.ts +2 -2
  90. package/dist/tokens/automation/properties.js +1 -1
  91. package/dist/tokens/index.cjs +1 -1
  92. package/dist/tokens/index.d.cts +300 -292
  93. package/dist/tokens/index.d.ts +300 -292
  94. package/dist/tokens/index.js +1 -1
  95. package/dist/tokens/parseTokens.cjs +1 -1
  96. package/dist/tokens/parseTokens.d.cts +1 -1
  97. package/dist/tokens/parseTokens.d.ts +1 -1
  98. package/dist/tokens/parseTokens.js +1 -1
  99. package/dist/{types-BjeRsXL8.d.ts → types-Blp45Jw1.d.cts} +1857 -1812
  100. package/dist/{types-DhYvP9pc.d.cts → types-Blp45Jw1.d.ts} +46 -1
  101. package/dist/{types-BjeRsXL8.d.cts → types-C3IoByX6.d.cts} +1849 -1804
  102. package/dist/{types-DhYvP9pc.d.ts → types-C3IoByX6.d.ts} +1939 -1894
  103. package/package.json +1 -1
  104. package/dist/chunk-2W4ER46N.js +0 -1
  105. package/dist/chunk-4G4TBHHL.js +0 -2
  106. package/dist/chunk-CS622C2O.cjs +0 -1
  107. package/dist/chunk-DCULPJ7L.cjs +0 -1
  108. package/dist/chunk-EULQG2SI.cjs +0 -2
  109. package/dist/chunk-F4J6WCAA.js +0 -1
  110. package/dist/chunk-HFZPYCV3.js +0 -2
  111. package/dist/chunk-HTL6WRXY.cjs +0 -1
  112. package/dist/chunk-L72D6DDM.cjs +0 -1
  113. package/dist/chunk-NCAWMJ7Y.cjs +0 -1
  114. package/dist/chunk-TKGMMX2M.js +0 -1
  115. package/dist/chunk-ZEK66WRR.cjs +0 -2
  116. package/dist/chunk-ZQHOCGRS.js +0 -1
  117. package/dist/{Text-DeEXr2WS.d.cts → Box-CcXdv2Rw.d.cts} +4 -4
  118. package/dist/{Text-DeEXr2WS.d.ts → Box-CcXdv2Rw.d.ts} +4 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "3.7.0",
4
+ "version": "3.8.0",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"
@@ -1 +0,0 @@
1
- import{getStyles as o,HStack as r,IconSlot as t,Text as e,cx as i}from"./chunk-3WLIHKQU.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:r,label:t,children:d,color:s="muted",variant:c="label3",hasError:p=!1,showRequiredAsterisk:f=!1,as:h="label",className:u,...b})=>{const m=t?a(t)?t():t:d;return m?n(e,{variant:c,color:s,as:h,htmlFor:o,className:i("cursor-[inherit]",u),...b,children:[m,r&&f&&l(e,{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:W,borderEndWidth:C,borderTopWidth:B,borderBottomWidth:w,alignContent:E,alignItems:H,alignSelf:v,flex:I,flexDirection:V,flexGrow:R,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:q,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:K,spacingStart:L,spacingTop:Q,offset:U,offsetVertical:J,offsetHorizontal:M,offsetBottom:O,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:W,borderEndWidth:C,borderTopWidth:B,borderBottomWidth:w,alignContent:E,alignItems:H,alignSelf:v,flex:I,flexDirection:V,flexGrow:R,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:q,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:K,spacingStart:L,spacingTop:Q,offset:U,offsetVertical:J,offsetHorizontal:M,offsetBottom:O,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:e,endIcon:i,iconProps:a,children:d,size:s,isFilled:c,...p}){const f={helperText:o({inputSizeHelperText:s,inputVariantHelperText:"default",inputVariantValueHelperText:c?"filled":"empty"}),helperIcon:o({inputSizeHelperIcon:s,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:c?"filled":"empty"})},h={variant:"outline",...a};return n(r,{gap:"1",alignItems:"center",...p,children:[e&&l(t,{icon:e,...h,iconProps:a,className:f.helperIcon}),l("span",{className:f.helperText,children:d}),i&&l(t,{icon:i,...h,iconProps:a,className:f.helperIcon})]})}));export{s as FormLabel,c as Image,p as InputHelpTextMemo};
@@ -1,2 +0,0 @@
1
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- var o="uds",t=`${o}-avatar-size`,e=`${o}-border-radius`,n=`${o}-border-width`,d=`${o}-font`,s=`${o}-font-size`,i=`${o}-font-weight`,r=`${o}-font-slant`,a=`${o}-font-width`,l=`${o}-icon-size`,$=`${o}-line-height`,b=`${o}-motion`,c=`${o}-spectrum-color`,u=`${o}-text-transform`,f=`${o}-color-mode-dark`,h=`${o}-color-mode-light`,m=`${o}-scale-mode-xsmall`,g=`${o}-scale-mode-small`,p=`${o}-scale-mode-medium`,x=`${o}-scale-mode-large`,w=`${o}-scale-mode-xlarge`,v=`${o}-scale-mode-xxlarge`,z=`${o}-scale-mode-xxxlarge`,S=h,W=x,k={borderRadius:`--${o}-button-border-radius`,borderWidth:`--${o}-button-border-width`,color:`--${o}-button-color`,backgroundColor:`--${o}-button-background-color`,borderColor:`--${o}-button-border-color`,padding:`--${o}-button-padding`,columnGap:`--${o}-button-gap`,fontFamily:`--${o}-button-font`,fontWeight:`--${o}-button-font-weight`,fontWidth:`--${o}-button-font-width`,fontSlant:`--${o}-button-font-slant`,fontSize:`--${o}-button-font-size`,lineHeight:`--${o}-button-line-height`,textTransform:`--${o}-button-text-transform`,iconSize:`--${o}-button-icon-size`,dropShadow:`--${o}-button-shadow`,insetShadow:`--${o}-button-inset-shadow`,effects:{scale:{rest:`--${o}-button-effects-scale--rest`,hover:`--${o}-button-effects-scale--hover`,pressed:`--${o}-button-effects-scale--pressed`}}},C={padding:`--${o}-icon-button-padding`,iconSize:`--${o}-icon-button-icon-size`},y={hover:":hover:not([disabled])",pressed:":active:not([disabled])",disabled:":disabled",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:disabled)"};export{t as AVATAR_SIZE_PREFIX,e as BORDER_RADIUS_PREFIX,n as BORDER_WIDTH_PREFIX,k as BUTTON_CSS_VAR_MAP,f as DARK_COLOR_MODE_CLASSNAME,S as DEFAULT_COLOR_MODE_CLASSNAME,W as DEFAULT_SCALE_MODE_CLASSNAME,d as FONT_FAMILY_PREFIX,s as FONT_SIZE_PREFIX,r as FONT_SLANT_PREFIX,i as FONT_WEIGHT_PREFIX,a as FONT_WIDTH_PREFIX,C as ICON_BUTTON_CSS_VAR_MAP,l as ICON_SIZE_PREFIX,x as LARGE_SCALE_MODE_CLASSNAME,h as LIGHT_COLOR_MODE_CLASSNAME,$ as LINE_HEIGHT_PREFIX,p as MEDIUM_SCALE_MODE_CLASSNAME,b as MOTION_PREFIX,y as PSEUDO_STYLE_SELECTOR_MAP,g as SMALL_SCALE_MODE_CLASSNAME,c as SPECTRUM_COLOR_PREFIX,u as TEXT_TRANSFORM_PREFIX,o as UDS_PREFIX,w as XLARGE_SCALE_MODE_CLASSNAME,m as XSMALL_SCALE_MODE_CLASSNAME,v as XXLARGE_SCALE_MODE_CLASSNAME,z as XXXLARGE_SCALE_MODE_CLASSNAME};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./chunk-4AS6QR6M.cjs"),r=require("react"),t=require("react/jsx-runtime"),i={horizontal:"w-full",vertical:""},a=r.forwardRef((function({vertical:a=!1,contentPosition:o="center",className:l,layerClassNames:n,children:s,...c},d){const x=a?"vertical":"horizontal",h=a?e.VStack:e.HStack,m=r.useMemo((()=>({root:e.cx(i[x],l,n?.root),label:n?.text,line:n?.line})),[l,x,n?.root,n?.text,n?.line]),f=r.useMemo((()=>"vertical"===x?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[x]),v=()=>t.jsx(e.Box,{flex:"1",className:m.line,style:f});return s?t.jsxs(h,{flex:"1",alignItems:"center",className:m.root,ref:d,...c,children:["start"!==o&&t.jsx(v,{}),t.jsx(e.Box,{flex:"none",children:t.jsx(e.Text,{color:"inherit",variant:"inherit",className:m.label,children:s})}),"end"!==o&&t.jsx(v,{})]}):t.jsx(e.Box,{display:"flex",flex:"none",className:m.root,ref:d,...c,children:t.jsx(v,{})})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="DividerCore";var o=r.forwardRef((function({variant:i="primary",layerClassNames:o,...l},n){const s=r.useMemo((()=>({root:e.cx("inherit"!==i&&e.getStyles({dividerVariantRoot:i}),o?.root),text:e.cx("inherit"!==i?e.getStyles({dividerVariantLabel:i}):void 0,o?.text),line:e.cx("inherit"!==i&&e.getStyles({dividerVariantLine:i}),o?.line)})),[o?.line,o?.root,o?.text,i]);return t.jsx(a,{ref:n,layerClassNames:s,...l})}));o.displayName="DividerInternal",exports.DividerInternal=o;
@@ -1 +0,0 @@
1
- "use strict";var r=require("./chunk-PDUDFUBF.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.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:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:I,alignContent:H,alignItems:w,alignSelf:E,flex:v,flexDirection:V,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:F,display:k,overflow:q,overflowX:G,overflowY:N,position:D,spacing:P,spacingHorizontal:U,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:L,spacingTop:M,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,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:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:I,alignContent:H,alignItems:w,alignSelf:E,flex:v,flexDirection:V,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:F,display:k,overflow:q,overflowX:G,overflowY:N,position:D,spacing:P,spacingHorizontal:U,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:L,spacingTop:M,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,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;