@yahoo/uds 3.50.3-beta.1 → 3.50.3-beta.3
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/{chunk-3YJP26HJ.js → chunk-2LZ5U2CM.js} +1 -1
- package/dist/{chunk-TWY4OLLL.js → chunk-3LDF2USR.js} +1 -1
- package/dist/{chunk-CA6376C7.js → chunk-43VVT2CB.js} +1 -1
- package/dist/{chunk-7PHFJETU.cjs → chunk-4FCTV3VA.cjs} +1 -1
- package/dist/{chunk-NRDDJAKB.cjs → chunk-5Z75VFIX.cjs} +1 -1
- package/dist/chunk-A46W72M5.js +1 -0
- package/dist/{chunk-X3BU7MGE.cjs → chunk-AMJXC2BG.cjs} +1 -1
- package/dist/{chunk-R7D7ONN4.js → chunk-BTR4RTGJ.js} +1 -1
- package/dist/{chunk-655ZCBNU.js → chunk-DETKO7TK.js} +1 -1
- package/dist/{chunk-NAWOAJTY.cjs → chunk-FSONBOAH.cjs} +1 -1
- package/dist/{chunk-GV4NPPD2.cjs → chunk-IKHBSWUK.cjs} +1 -1
- package/dist/{chunk-EWSW2GWL.cjs → chunk-LV7XNH7V.cjs} +1 -1
- package/dist/chunk-MCTOBJX3.cjs +2 -0
- package/dist/{chunk-KDDXVONZ.js → chunk-MMKC55NE.js} +1 -1
- package/dist/{chunk-UMHALVPH.js → chunk-N3J75R4I.js} +1 -1
- package/dist/chunk-NH75YCQ4.cjs +1 -0
- package/dist/{chunk-MTEZT4ZP.js → chunk-NRI7XE2G.js} +2 -2
- package/dist/{chunk-DAQ56EQD.js → chunk-NSZ5RVES.js} +1 -1
- package/dist/chunk-OWZDKFOO.cjs +1 -0
- package/dist/chunk-T7RK4B4K.js +3 -0
- package/dist/chunk-UYBPFREB.js +3 -0
- package/dist/{chunk-BZW76GTU.cjs → chunk-V3Y37KHE.cjs} +1 -1
- package/dist/{chunk-3LLNG5H3.cjs → chunk-VZKLMEKS.cjs} +1 -1
- package/dist/chunk-ZQOTDV34.cjs +2 -0
- package/dist/client/Menu.cjs +1 -1
- 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 +1 -2
- package/dist/experimental/client/SwitchV2.js +1 -2
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.js +2 -2
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.js +2 -2
- package/dist/flags.cjs +1 -1
- package/dist/flags.d.cts +6 -0
- package/dist/flags.d.ts +6 -0
- package/dist/flags.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- package/dist/chunk-4S7SR5XW.js +0 -3
- package/dist/chunk-6EPARRAG.cjs +0 -2
- package/dist/chunk-A5Y3R7TT.cjs +0 -1
- package/dist/chunk-CBT4VCHY.js +0 -1
- package/dist/chunk-EWZLYSEF.cjs +0 -2
- package/dist/chunk-INU6DOO3.js +0 -3
- package/dist/chunk-LK54QBQX.cjs +0 -1
package/package.json
CHANGED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Button, HStack, IconButton } from '@yahoo/uds';
|
2
|
-
import { Cross } from '@yahoo/uds-icons';
|
3
|
-
|
4
|
-
export const PageA = () => {
|
5
|
-
return (
|
6
|
-
<HStack>
|
7
|
-
<Button variant="brand-secondary">Click me</Button><IconButton name={Cross} />
|
8
|
-
<Button variant="primary">Click me</Button><IconButton name={Cross} variant="primary" />
|
9
|
-
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="brand" />
|
10
|
-
<Button variant="warning-tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
11
|
-
<Button>Click me</Button><IconButton name={Cross} />
|
12
|
-
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
13
|
-
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="secondary" />
|
14
|
-
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="tertiary" />
|
15
|
-
</HStack>
|
16
|
-
);
|
17
|
-
}
|
package/dist/chunk-4S7SR5XW.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{require_isFunction as o,variants as r}from"./chunk-ND5BLCNY.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{textVariants as e,backgroundColors as n,foregroundColors as i,spectrumColors as a,borderRadii as s,borderWidths as l,lineColors as d}from"@yahoo/uds/fixtures";import{getFeatureFlags as f}from"@yahoo/uds/flags";import{clsx as c}from"clsx";import{extendTailwindMerge as p}from"tailwind-merge";import{forwardRef as u,memo as m,isValidElement as b,cloneElement as h,Children as g}from"react";import{jsx as S}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function x(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function C(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];void 0!==o[n]&&(r[n]=o[n])}return r}var v=p({extend:{theme:{borderColor:d,borderWidth:l,borderRadius:s}},override:{classGroups:{"text-color":[{text:[...i,...a]}],"bg-color":[{bg:n}],"font-family":[{font:["icons",...e]}],leading:[{leading:e}]},conflictingClassGroups:{}}}),y=(...o)=>{const r=c(o);return v(r)},W=o=>{const{base:r,variants:t,defaultVariants:e,compoundVariants:n}=o;return o=>{if(!o)return y(r);const{className:i,...a}=o;if(!t)return y(r,i);const s=[];for(const o in e){if(void 0===o)continue;if(void 0!==a[o])continue;const r=x(e[o]);s.push(t[o][r])}for(const o in a){if(void 0===o)continue;const r=x(a[o]);s.push(t[o][r])}if(!n)return y(r,s,i);let l="";for(const o of n){const{className:r,...t}=o;let n=!0;for(const o in t){const r=t[o];if(!((a[o]??e?.[o])===r)){n=!1;break}}n&&(l=y(l,r))}return y(r,s,l,i)}},w=W({variants:r}),B=new Map,E="true"===process.env.UDS_FEATURE_USE_STYLE_CACHE||f().useGetStylesCache,T=o=>{if(!E)return w(o);const r=(o=>{const r=C(o);let t="";for(const o in r)t+=`${o}:${r[o]}|`;return t})(o);if(B.has(r))return console.info(`getStyles: cache hit: ${r}`),B.get(r);const t=w(o);return B.set(r,t),t};function N(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function R(){const o=u((o,t)=>{const{children:n,...i}=o,a=g.toArray(n),s=a.find(e);if(s){const o=s.props.children,e=a.map(r=>r===s?g.count(o)>1?g.only(null):b(o)?o.props.children:null:r);return S(r,{...i,ref:t,children:b(o)?h(o,void 0,e):null})}return S(r,{...i,ref:t,children:n})});o.displayName="Slot";const r=u((o,r)=>{const{children:t,...e}=o;return b(t)?h(t,{...n(e,t.props),ref:r?N(r,t.ref):t.ref}):g.count(t)>1?g.only(null):null});r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return b(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 z=R(),G=u(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:w,flex:B,flexDirection:E,flexGrow:N,flexShrink:R,flexWrap:G,justifyContent:H,flexBasis:V,display:k="flex",overflow:j,overflowX:A,overflowY:I,position:D,spacing:Y,spacingHorizontal:$,spacingVertical:F,spacingBottom:_,spacingEnd:X,spacingStart:U,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Z,offsetEnd:q,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=T({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:w,flex:B,flexDirection:E,flexGrow:N,flexShrink:R,flexWrap:G,justifyContent:H,flexBasis:V,display:k,overflow:j,overflowX:A,overflowY:I,position:D,spacing:Y,spacingHorizontal:$,spacingVertical:F,spacingBottom:_,spacingEnd:X,spacingStart:U,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Z,offsetEnd:q,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t});return S(o?z:r,{className:so,ref:ao,...io})});G.displayName="Box";var H=R(),V={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",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},k=u(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=V[e],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:l,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:x,borderEndColor:C,borderTopColor:v,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:k,alignSelf:j,flex:A,flexDirection:I,flexGrow:D,flexShrink:Y,flexWrap:$,justifyContent:F,flexBasis:_,display:X,overflow:U,overflowX:L,overflowY:M,position:O,spacing:P,spacingHorizontal:Z,spacingVertical:q,spacingBottom:J,spacingEnd:K,spacingStart:Q,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:s??e,lineHeight:l??e,textTransform:d??e}:{},textAlign:f},mo=T({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:x,borderEndColor:C,borderTopColor:v,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:k,alignSelf:j,flex:A,flexDirection:I,flexGrow:D,flexShrink:Y,flexWrap:$,justifyContent:F,flexBasis:_,display:X,overflow:U,overflowX:L,overflowY:M,position:O,spacing:P,spacingHorizontal:Z,spacingVertical:q,spacingBottom:J,spacingEnd:K,spacingStart:Q,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo});return S(r?H:n,{className:mo,ref:po,...co})});k.displayName="Text";var j={xs:12,sm:16,md:24,lg:32},A=u(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const s=o.metadata?.variants??[],l=s.includes(t)?t:s[0]??"fill",d="multicolor"===l,f=T({flex:"none",color:d?void 0:e,className:y(n,!d&&"[&_path]:fill-current")}),c=j[r];return S("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:S(o,{size:r,variant:l})})});A.displayName="Icon";var I=t(o(),1),D=m(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},a=y(t,n),s=o;if(s.metadata?.isSvgIcon)return S(A,{name:s,...i,...e,className:a});if((0,I.default)(o)){const t=o(r||{}),n=t?.props.className;return b(t)&&h(t,{...e,className:y(a,n)})}return b(o)&&h(o,{...i,...o.props,...e,className:y(a,o.props.className)})});D.displayName="IconSlot";
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,A as Icon,D as IconSlot,k as Text,R as createSlot,W as cva,y as cx,T as getStyles};
|
package/dist/chunk-6EPARRAG.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-42TM364I.cjs"),r=require("./chunk-QLXJH36U.cjs"),t=require("@yahoo/uds/fixtures"),e=require("@yahoo/uds/flags"),n=require("clsx"),i=require("tailwind-merge"),a=require("react"),s=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function d(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];void 0!==o[n]&&(r[n]=o[n])}return r}var c=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),f=(...o)=>{const r=n.clsx(o);return c(r)},p=o=>{const{base:r,variants:t,defaultVariants:e,compoundVariants:n}=o;return o=>{if(!o)return f(r);const{className:i,...a}=o;if(!t)return f(r,i);const s=[];for(const o in e){if(void 0===o)continue;if(void 0!==a[o])continue;const r=l(e[o]);s.push(t[o][r])}for(const o in a){if(void 0===o)continue;const r=l(a[o]);s.push(t[o][r])}if(!n)return f(r,s,i);let d="";for(const o of n){const{className:r,...t}=o;let n=!0;for(const o in t){const r=t[o];if(!((a[o]??e?.[o])===r)){n=!1;break}}n&&(d=f(d,r))}return f(r,s,d,i)}},u=p({variants:o.variants}),h=new Map,b="true"===process.env.UDS_FEATURE_USE_STYLE_CACHE||e.getFeatureFlags().useGetStylesCache,m=o=>{if(!b)return u(o);const r=(o=>{const r=d(o);let t="";for(const o in r)t+=`${o}:${r[o]}|`;return t})(o);if(h.has(r))return console.info(`getStyles: cache hit: ${r}`),h.get(r);const t=u(o);return h.set(r,t),t};function g(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function x(){const o=a.forwardRef((o,t)=>{const{children:n,...i}=o,l=a.Children.toArray(n),d=l.find(e);if(d){const o=d.props.children,e=l.map(r=>r===d?a.Children.count(o)>1?a.Children.only(null):a.isValidElement(o)?o.props.children:null:r);return s.jsx(r,{...i,ref:t,children:a.isValidElement(o)?a.cloneElement(o,void 0,e):null})}return s.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?g(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 S=x(),C=a.forwardRef(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:b,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:C,borderEndWidth:E,borderTopWidth:w,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:T,flex:B,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G="flex",overflow:k,overflowX:I,overflowY:q,position:_,spacing:A,spacingHorizontal:F,spacingVertical:$,spacingBottom:D,spacingEnd:X,spacingStart:Y,spacingTop:M,offset:U,offsetVertical:L,offsetHorizontal:O,offsetBottom:J,offsetEnd:P,offsetStart:Q,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=m({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:b,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:C,borderEndWidth:E,borderTopWidth:w,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:T,flex:B,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G,overflow:k,overflowX:I,overflowY:q,position:_,spacing:A,spacingHorizontal:F,spacingVertical:$,spacingBottom:D,spacingEnd:X,spacingStart:Y,spacingTop:M,offset:U,offsetVertical:L,offsetHorizontal:O,offsetBottom:J,offsetEnd:P,offsetStart:Q,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t}),lo=o?S:r;return s.jsx(lo,{className:so,ref:ao,...io})});C.displayName="Box";var E=x(),w={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",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},v=a.forwardRef(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=w[e],fontFamily:i,fontSize:a,fontWeight:l,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:x,borderColor:S,borderStartColor:C,borderEndColor:v,borderTopColor:y,borderBottomColor:W,borderWidth:T,borderVerticalWidth:B,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:I,flexDirection:q,flexGrow:_,flexShrink:A,flexWrap:F,justifyContent:$,flexBasis:D,display:X,overflow:Y,overflowX:M,overflowY:U,position:L,spacing:O,spacingHorizontal:J,spacingVertical:P,spacingBottom:Q,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:l??e,lineHeight:d??e,textTransform:c??e}:{},textAlign:f},ho=m({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:x,borderColor:S,borderStartColor:C,borderEndColor:v,borderTopColor:y,borderBottomColor:W,borderWidth:T,borderVerticalWidth:B,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:I,flexDirection:q,flexGrow:_,flexShrink:A,flexWrap:F,justifyContent:$,flexBasis:D,display:X,overflow:Y,overflowX:M,overflowY:U,position:L,spacing:O,spacingHorizontal:J,spacingVertical:P,spacingBottom:Q,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),bo=r?E:n;return s.jsx(bo,{className:ho,ref:po,...fo})});v.displayName="Text";var y={xs:12,sm:16,md:24,lg:32},W=a.forwardRef(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const l=o.metadata?.variants??[],d=l.includes(t)?t:l[0]??"fill",c="multicolor"===d,p=m({flex:"none",color:c?void 0:e,className:f(n,!c&&"[&_path]:fill-current")}),u=y[r];return s.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",focusable:"false",className:p,...i,children:s.jsx(o,{size:r,variant:d})})});W.displayName="Icon";var T=r.__toESM(o.require_isFunction(),1),B=a.memo(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},l=f(t,n),d=o;if(d.metadata?.isSvgIcon)return s.jsx(W,{name:d,...i,...e,className:l});if((0,T.default)(o)){const t=o(r||{}),n=t?.props.className;return a.isValidElement(t)&&a.cloneElement(t,{...e,className:f(l,n)})}return a.isValidElement(o)&&a.cloneElement(o,{...i,...o.props,...e,className:f(l,o.props.className)})});B.displayName="IconSlot",
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=C,exports.Icon=W,exports.IconSlot=B,exports.Text=v,exports.createSlot=x,exports.cva=p,exports.cx=f,exports.getStyles=m;
|
package/dist/chunk-A5Y3R7TT.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-6EPARRAG.cjs"),r=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:R,alignItems:T,alignSelf:v,flex:y,flexDirection:G,flexGrow:z,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:q,overflowX:A,overflowY:D,position:F,spacing:N,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:J,spacingStart:K,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o.getStyles({contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:R,alignItems:T,alignSelf:v,flex:y,flexDirection:G,flexGrow:z,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:q,overflowX:A,overflowY:D,position:F,spacing:N,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:J,spacingStart:K,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r.jsx("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image",exports.Image=t;
|
package/dist/chunk-CBT4VCHY.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{getStyles as o}from"./chunk-INU6DOO3.js";import{jsx as r}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:C,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:w,borderBottomWidth:E,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:k,flexBasis:j,display:I,overflow:D,overflowX:N,overflowY:F,position:O,spacing:X,spacingHorizontal:Y,spacingVertical:U,spacingBottom:q,spacingEnd:A,spacingStart:J,spacingTop:K,offset:L,offsetVertical:M,offsetHorizontal:P,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:C,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:w,borderBottomWidth:E,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:k,flexBasis:j,display:I,overflow:D,overflowX:N,overflowY:F,position:O,spacing:X,spacingHorizontal:Y,spacingVertical:U,spacingBottom:q,spacingEnd:A,spacingStart:J,spacingTop:K,offset:L,offsetVertical:M,offsetHorizontal:P,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image";export{t as Image};
|
package/dist/chunk-EWZLYSEF.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-DEYTPNUJ.cjs"),r=require("./chunk-QLXJH36U.cjs"),t=require("@yahoo/uds/fixtures"),e=require("@yahoo/uds/flags"),n=require("clsx"),i=require("tailwind-merge"),a=require("react"),s=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function d(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];void 0!==o[n]&&(r[n]=o[n])}return r}var c=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),f=(...o)=>{const r=n.clsx(o);return c(r)},p=o=>{const{base:r,variants:t,defaultVariants:e,compoundVariants:n}=o;return o=>{if(!o)return f(r);const{className:i,...a}=o;if(!t)return f(r,i);const s=[];for(const o in e){if(void 0===o)continue;if(void 0!==a[o])continue;const r=l(e[o]);s.push(t[o][r])}for(const o in a){if(void 0===o)continue;const r=l(a[o]);s.push(t[o][r])}if(!n)return f(r,s,i);let d="";for(const o of n){const{className:r,...t}=o;let n=!0;for(const o in t){const r=t[o];if(!((a[o]??e?.[o])===r)){n=!1;break}}n&&(d=f(d,r))}return f(r,s,d,i)}},u=p({variants:o.variants}),h=new Map,b="true"===process.env.UDS_FEATURE_USE_STYLE_CACHE||e.getFeatureFlags().useGetStylesCache,m=o=>{if(!b)return u(o);const r=(o=>{const r=d(o);let t="";for(const o in r)t+=`${o}:${r[o]}|`;return t})(o);if(h.has(r))return console.info(`getStyles: cache hit: ${r}`),h.get(r);const t=u(o);return h.set(r,t),t};function g(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function x(){const o=a.forwardRef((o,t)=>{const{children:n,...i}=o,l=a.Children.toArray(n),d=l.find(e);if(d){const o=d.props.children,e=l.map(r=>r===d?a.Children.count(o)>1?a.Children.only(null):a.isValidElement(o)?o.props.children:null:r);return s.jsx(r,{...i,ref:t,children:a.isValidElement(o)?a.cloneElement(o,void 0,e):null})}return s.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?g(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 S=x(),C=a.forwardRef(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:b,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:C,borderEndWidth:E,borderTopWidth:w,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:T,flex:B,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G="flex",overflow:k,overflowX:q,overflowY:I,position:_,spacing:A,spacingHorizontal:D,spacingVertical:F,spacingBottom:Y,spacingEnd:$,spacingStart:U,spacingTop:X,offset:M,offsetVertical:J,offsetHorizontal:L,offsetBottom:O,offsetEnd:P,offsetStart:Q,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=m({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:b,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:C,borderEndWidth:E,borderTopWidth:w,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:T,flex:B,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G,overflow:k,overflowX:q,overflowY:I,position:_,spacing:A,spacingHorizontal:D,spacingVertical:F,spacingBottom:Y,spacingEnd:$,spacingStart:U,spacingTop:X,offset:M,offsetVertical:J,offsetHorizontal:L,offsetBottom:O,offsetEnd:P,offsetStart:Q,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t}),lo=o?S:r;return s.jsx(lo,{className:so,ref:ao,...io})});C.displayName="Box";var E=x(),w={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",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},v=a.forwardRef(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=w[e],fontFamily:i,fontSize:a,fontWeight:l,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:x,borderColor:S,borderStartColor:C,borderEndColor:v,borderTopColor:y,borderBottomColor:W,borderWidth:T,borderVerticalWidth:B,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:q,flexDirection:I,flexGrow:_,flexShrink:A,flexWrap:D,justifyContent:F,flexBasis:Y,display:$,overflow:U,overflowX:X,overflowY:M,position:J,spacing:L,spacingHorizontal:O,spacingVertical:P,spacingBottom:Q,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:l??e,lineHeight:d??e,textTransform:c??e}:{},textAlign:f},ho=m({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:x,borderColor:S,borderStartColor:C,borderEndColor:v,borderTopColor:y,borderBottomColor:W,borderWidth:T,borderVerticalWidth:B,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:q,flexDirection:I,flexGrow:_,flexShrink:A,flexWrap:D,justifyContent:F,flexBasis:Y,display:$,overflow:U,overflowX:X,overflowY:M,position:J,spacing:L,spacingHorizontal:O,spacingVertical:P,spacingBottom:Q,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),bo=r?E:n;return s.jsx(bo,{className:ho,ref:po,...fo})});v.displayName="Text";var y={xs:12,sm:16,md:24,lg:32},W=a.forwardRef(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const l=o.metadata?.variants??[],d=l.includes(t)?t:l[0]??"fill",c="multicolor"===d,p=m({flex:"none",color:c?void 0:e,className:f(n,!c&&"[&_path]:fill-current")}),u=y[r];return s.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",focusable:"false",className:p,...i,children:s.jsx(o,{size:r,variant:d})})});W.displayName="Icon";var T=r.__toESM(o.require_isFunction(),1),B=a.memo(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},l=f(t,n),d=o;if(d.metadata?.isSvgIcon)return s.jsx(W,{name:d,...i,...e,className:l});if((0,T.default)(o)){const t=o(r||{}),n=t?.props.className;return a.isValidElement(t)&&a.cloneElement(t,{...e,className:f(l,n)})}return a.isValidElement(o)&&a.cloneElement(o,{...i,...o.props,...e,className:f(l,o.props.className)})});B.displayName="IconSlot",
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=C,exports.Icon=W,exports.IconSlot=B,exports.Text=v,exports.createSlot=x,exports.cva=p,exports.cx=f,exports.getStyles=m;
|
package/dist/chunk-INU6DOO3.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{require_isFunction as o,variants as r}from"./chunk-EWIQEL36.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{textVariants as e,backgroundColors as n,foregroundColors as i,spectrumColors as a,borderRadii as s,borderWidths as l,lineColors as d}from"@yahoo/uds/fixtures";import{getFeatureFlags as f}from"@yahoo/uds/flags";import{clsx as c}from"clsx";import{extendTailwindMerge as p}from"tailwind-merge";import{forwardRef as u,memo as m,isValidElement as b,cloneElement as h,Children as g}from"react";import{jsx as S}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function x(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function C(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];void 0!==o[n]&&(r[n]=o[n])}return r}var v=p({extend:{theme:{borderColor:d,borderWidth:l,borderRadius:s}},override:{classGroups:{"text-color":[{text:[...i,...a]}],"bg-color":[{bg:n}],"font-family":[{font:["icons",...e]}],leading:[{leading:e}]},conflictingClassGroups:{}}}),y=(...o)=>{const r=c(o);return v(r)},W=o=>{const{base:r,variants:t,defaultVariants:e,compoundVariants:n}=o;return o=>{if(!o)return y(r);const{className:i,...a}=o;if(!t)return y(r,i);const s=[];for(const o in e){if(void 0===o)continue;if(void 0!==a[o])continue;const r=x(e[o]);s.push(t[o][r])}for(const o in a){if(void 0===o)continue;const r=x(a[o]);s.push(t[o][r])}if(!n)return y(r,s,i);let l="";for(const o of n){const{className:r,...t}=o;let n=!0;for(const o in t){const r=t[o];if(!((a[o]??e?.[o])===r)){n=!1;break}}n&&(l=y(l,r))}return y(r,s,l,i)}},w=W({variants:r}),E=new Map,B="true"===process.env.UDS_FEATURE_USE_STYLE_CACHE||f().useGetStylesCache,T=o=>{if(!B)return w(o);const r=(o=>{const r=C(o);let t="";for(const o in r)t+=`${o}:${r[o]}|`;return t})(o);if(E.has(r))return console.info(`getStyles: cache hit: ${r}`),E.get(r);const t=w(o);return E.set(r,t),t};function N(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function R(){const o=u((o,t)=>{const{children:n,...i}=o,a=g.toArray(n),s=a.find(e);if(s){const o=s.props.children,e=a.map(r=>r===s?g.count(o)>1?g.only(null):b(o)?o.props.children:null:r);return S(r,{...i,ref:t,children:b(o)?h(o,void 0,e):null})}return S(r,{...i,ref:t,children:n})});o.displayName="Slot";const r=u((o,r)=>{const{children:t,...e}=o;return b(t)?h(t,{...n(e,t.props),ref:r?N(r,t.ref):t.ref}):g.count(t)>1?g.only(null):null});r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return b(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 z=R(),G=u(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:w,flex:E,flexDirection:B,flexGrow:N,flexShrink:R,flexWrap:G,justifyContent:H,flexBasis:V,display:k="flex",overflow:j,overflowX:I,overflowY:A,position:$,spacing:D,spacingHorizontal:F,spacingVertical:Y,spacingBottom:_,spacingEnd:X,spacingStart:U,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Q,offsetEnd:Z,offsetStart:q,offsetTop:J,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=T({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:v,alignContent:y,alignItems:W,alignSelf:w,flex:E,flexDirection:B,flexGrow:N,flexShrink:R,flexWrap:G,justifyContent:H,flexBasis:V,display:k,overflow:j,overflowX:I,overflowY:A,position:$,spacing:D,spacingHorizontal:F,spacingVertical:Y,spacingBottom:_,spacingEnd:X,spacingStart:U,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Q,offsetEnd:Z,offsetStart:q,offsetTop:J,columnGap:K,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t});return S(o?z:r,{className:so,ref:ao,...io})});G.displayName="Box";var H=R(),V={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",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},k=u(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=V[e],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:l,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:x,borderEndColor:C,borderTopColor:v,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:k,alignSelf:j,flex:I,flexDirection:A,flexGrow:$,flexShrink:D,flexWrap:F,justifyContent:Y,flexBasis:_,display:X,overflow:U,overflowX:L,overflowY:M,position:O,spacing:P,spacingHorizontal:Q,spacingVertical:Z,spacingBottom:q,spacingEnd:J,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:s??e,lineHeight:l??e,textTransform:d??e}:{},textAlign:f},mo=T({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:x,borderEndColor:C,borderTopColor:v,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:k,alignSelf:j,flex:I,flexDirection:A,flexGrow:$,flexShrink:D,flexWrap:F,justifyContent:Y,flexBasis:_,display:X,overflow:U,overflowX:L,overflowY:M,position:O,spacing:P,spacingHorizontal:Q,spacingVertical:Z,spacingBottom:q,spacingEnd:J,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo});return S(r?H:n,{className:mo,ref:po,...co})});k.displayName="Text";var j={xs:12,sm:16,md:24,lg:32},I=u(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const s=o.metadata?.variants??[],l=s.includes(t)?t:s[0]??"fill",d="multicolor"===l,f=T({flex:"none",color:d?void 0:e,className:y(n,!d&&"[&_path]:fill-current")}),c=j[r];return S("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:S(o,{size:r,variant:l})})});I.displayName="Icon";var A=t(o(),1),$=m(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},a=y(t,n),s=o;if(s.metadata?.isSvgIcon)return S(I,{name:s,...i,...e,className:a});if((0,A.default)(o)){const t=o(r||{}),n=t?.props.className;return b(t)&&h(t,{...e,className:y(a,n)})}return b(o)&&h(o,{...i,...o.props,...e,className:y(a,o.props.className)})});$.displayName="IconSlot";
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,I as Icon,$ as IconSlot,k as Text,R as createSlot,W as cva,y as cx,T as getStyles};
|
package/dist/chunk-LK54QBQX.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-EWZLYSEF.cjs"),r=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:W,borderHorizontalWidth:C,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:F,overflowX:Y,overflowY:q,position:D,spacing:N,spacingHorizontal:X,spacingVertical:L,spacingBottom:Z,spacingEnd:A,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o.getStyles({contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:W,borderHorizontalWidth:C,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:F,overflowX:Y,overflowY:q,position:D,spacing:N,spacingHorizontal:X,spacingVertical:L,spacingBottom:Z,spacingEnd:A,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r.jsx("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image",exports.Image=t;
|