@yahoo/uds 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +57 -5
- package/cli/commands/expo/_setup.ts +56 -13
- package/cli/commands/expo/dev.ts +14 -7
- package/cli/commands/purge.ts +15 -0
- package/cli/commands/{config/sync.ts → sync.ts} +2 -2
- package/cli/utils/configWorker.ts +21 -1
- package/cli/utils/purgeCSS.ts +139 -0
- package/cli/utils/setupConfigWorker.ts +12 -13
- package/dist/{chunk-P7GR6E3K.js → chunk-AHFH5E5L.js} +1 -1
- package/dist/{chunk-MBOOJIH7.js → chunk-FLBMVDKG.js} +1 -1
- package/dist/{chunk-AWTLI4D3.js → chunk-U3UPAQ7V.js} +1 -1
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +40 -31
- package/dist/index.d.ts +40 -31
- package/dist/index.js +1 -1
- package/dist/{index.native-9kYJrUPa.d.ts → index.native-TvtXtTXg.d.ts} +2 -2
- package/dist/{index.native-3ww4C4UV.d.cts → index.native-dgGFONLf.d.cts} +2 -2
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +10 -24
- package/dist/index.native.d.ts +10 -24
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +4 -0
- package/dist/tailwindPurge.d.cts +16 -0
- package/dist/tailwindPurge.d.ts +16 -0
- package/dist/tailwindPurge.js +4 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +12 -12
- package/dist/tokens/parseTokens.d.ts +12 -12
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +2 -2
- package/dist/tokens/parseTokens.native.d.ts +2 -2
- package/dist/{types-J4DLS6Xj.d.cts → types-3GXulqnG.d.cts} +1 -1
- package/dist/{types-J4DLS6Xj.d.ts → types-3GXulqnG.d.ts} +1 -1
- package/dist/{types-hirL9Qk5.d.cts → types-8OHfDki5.d.cts} +47 -54
- package/dist/{types-hirL9Qk5.d.ts → types-8OHfDki5.d.ts} +47 -54
- package/package.json +19 -4
- package/cli/commands/config/config.ts +0 -10
- package/cli/commands/nextjs/dev.ts +0 -17
- package/cli/commands/nextjs/nextjs.ts +0 -10
@@ -0,0 +1,4 @@
|
|
1
|
+
var o={color:"text-accent text-alert text-black text-brand text-positive text-warning text-white text-transparent text-muted text-on-color text-primary text-secondary text-tertiary",colorChecked:"data-[state=checked]:text-accent data-[state=checked]:text-alert data-[state=checked]:text-black data-[state=checked]:text-brand data-[state=checked]:text-positive data-[state=checked]:text-warning data-[state=checked]:text-white data-[state=checked]:text-transparent data-[state=checked]:text-primary data-[state=checked]:text-secondary data-[state=checked]:text-muted data-[state=checked]:text-on-color data-[state=checked]:text-tertiary",fontFamily:"font-icons font-sans font-sans-beta font-sans-condensed font-serif-text font-serif-display font-display1 font-title1 font-title2 font-title3 font-title4 font-headline1 font-body1 font-label1 font-label2 font-caption1 font-caption2 font-legal1",fontSize:"font-size-display1 font-size-title1 font-size-title2 font-size-title3 font-size-title4 font-size-headline1 font-size-body1 font-size-label1 font-size-label2 font-size-caption1 font-size-caption2 font-size-legal1",fontWeight:"font-weight-thin font-weight-extralight font-weight-light font-weight-regular font-weight-medium font-weight-semibold font-weight-bold font-weight-extrabold font-weight-black font-weight-display1 font-weight-title1 font-weight-title2 font-weight-title3 font-weight-title4 font-weight-headline1 font-weight-body1 font-weight-label1 font-weight-label2 font-weight-caption1 font-weight-caption2 font-weight-legal1",lineHeight:"leading-display1 leading-title1 leading-title2 leading-title3 leading-title4 leading-headline1 leading-body1 leading-label1 leading-label2 leading-caption1 leading-caption2 leading-legal1",textAlign:"text-center text-justify text-start text-end",textTransform:"case-display1 case-title1 case-title2 case-title3 case-title4 case-headline1 case-body1 case-label1 case-label2 case-caption1 case-caption2 case-legal1 normal-case uppercase lowercase capitalize",spacing:"p-0 p-1 p-2 p-3 p-4 p-5 p-6 p-7 p-8 p-9 p-10 p-11 p-12 p-13 p-14",spacingHorizontal:"px-0 px-1 px-2 px-3 px-4 px-5 px-6 px-7 px-8 px-9 px-10 px-11 px-12 px-13 px-14",spacingVertical:"py-0 py-1 py-2 py-3 py-4 py-5 py-6 py-7 py-8 py-9 py-10 py-11 py-12 py-13 py-14",spacingBottom:"pb-0 pb-1 pb-2 pb-3 pb-4 pb-5 pb-6 pb-7 pb-8 pb-9 pb-10 pb-11 pb-12 pb-13 pb-14",spacingEnd:"pe-0 pe-1 pe-2 pe-3 pe-4 pe-5 pe-6 pe-7 pe-8 pe-9 pe-10 pe-11 pe-12 pe-13 pe-14",spacingStart:"ps-0 ps-1 ps-2 ps-3 ps-4 ps-5 ps-6 ps-7 ps-8 ps-9 ps-10 ps-11 ps-12 ps-13 ps-14",spacingTop:"pt-0 pt-1 pt-2 pt-3 pt-4 pt-5 pt-6 pt-7 pt-8 pt-9 pt-10 pt-11 pt-12 pt-13 pt-14",offset:"-m-0 -m-1 -m-2 -m-3 -m-4 -m-5 -m-6 -m-7 -m-8 -m-9 -m-10 -m-11 -m-12 -m-13 -m-14",offsetVertical:"-my-0 -my-1 -my-2 -my-3 -my-4 -my-5 -my-6 -my-7 -my-8 -my-9 -my-10 -my-11 -my-12 -my-13 -my-14",offsetHorizontal:"-mx-0 -mx-1 -mx-2 -mx-3 -mx-4 -mx-5 -mx-6 -mx-7 -mx-8 -mx-9 -mx-10 -mx-11 -mx-12 -mx-13 -mx-14",offsetBottom:"-mb-0 -mb-1 -mb-2 -mb-3 -mb-4 -mb-5 -mb-6 -mb-7 -mb-8 -mb-9 -mb-10 -mb-11 -mb-12 -mb-13 -mb-14",offsetEnd:"-me-0 -me-1 -me-2 -me-3 -me-4 -me-5 -me-6 -me-7 -me-8 -me-9 -me-10 -me-11 -me-12 -me-13 -me-14",offsetStart:"-ms-0 -ms-1 -ms-2 -ms-3 -ms-4 -ms-5 -ms-6 -ms-7 -ms-8 -ms-9 -ms-10 -ms-11 -ms-12 -ms-13 -ms-14",offsetTop:"-mt-0 -mt-1 -mt-2 -mt-3 -mt-4 -mt-5 -mt-6 -mt-7 -mt-8 -mt-9 -mt-10 -mt-11 -mt-12 -mt-13 -mt-14",columnGap:"gap-x-0 gap-x-1 gap-x-2 gap-x-3 gap-x-4 gap-x-5 gap-x-6 gap-x-7 gap-x-8 gap-x-9 gap-x-10 gap-x-11 gap-x-12 gap-x-13 gap-x-14",rowGap:"gap-y-0 gap-y-1 gap-y-2 gap-y-3 gap-y-4 gap-y-5 gap-y-6 gap-y-7 gap-y-8 gap-y-9 gap-y-10 gap-y-11 gap-y-12 gap-y-13 gap-y-14",backgroundColor:"bg-accent bg-alert bg-black bg-brand bg-positive bg-warning bg-white bg-accent-wash bg-alert-wash bg-brand-wash bg-elevation-1 bg-elevation-2 bg-elevation-3 bg-elevation-3-inverse bg-overlay bg-positive-wash bg-primary bg-secondary bg-transparent bg-warning-wash",backgroundColorOnActive:"active:bg-accent active:bg-alert active:bg-black active:bg-brand active:bg-positive active:bg-warning active:bg-white active:bg-accent-wash active:bg-alert-wash active:bg-brand-wash active:bg-elevation-1 active:bg-elevation-2 active:bg-elevation-3 active:bg-elevation-3-inverse active:bg-overlay active:bg-positive-wash active:bg-primary active:bg-secondary active:bg-transparent active:bg-warning-wash",backgroundColorOnHover:"hover:bg-accent/80 hover:bg-alert/80 hover:bg-black/80 hover:bg-brand/80 hover:bg-positive/80 hover:bg-warning/80 hover:bg-white/80 hover:bg-accent-wash/80 hover:bg-alert-wash/80 hover:bg-brand-wash/80 hover:bg-elevation-1/80 hover:bg-elevation-2/80 hover:bg-elevation-3/80 hover:bg-elevation-3-inverse/80 hover:bg-overlay/80 hover:bg-positive-wash/80 hover:bg-primary/80 hover:bg-secondary/80 hover:bg-transparent/80 hover:bg-warning-wash/80",backgroundColorOnChecked:"data-[state=checked]:bg-accent data-[state=checked]:bg-alert data-[state=checked]:bg-black data-[state=checked]:bg-brand data-[state=checked]:bg-positive data-[state=checked]:bg-warning data-[state=checked]:bg-white data-[state=checked]:bg-accent-wash data-[state=checked]:bg-alert-wash data-[state=checked]:bg-brand-wash data-[state=checked]:bg-elevation-1 data-[state=checked]:bg-elevation-2 data-[state=checked]:bg-elevation-3 data-[state=checked]:bg-elevation-3-inverse data-[state=checked]:bg-overlay data-[state=checked]:bg-positive-wash data-[state=checked]:bg-primary data-[state=checked]:bg-secondary data-[state=checked]:bg-transparent data-[state=checked]:bg-warning-wash",backgroundColorOnFocus:"focus:bg-accent focus:bg-alert focus:bg-black focus:bg-brand focus:bg-positive focus:bg-warning focus:bg-white focus:bg-accent-wash focus:bg-alert-wash focus:bg-brand-wash focus:bg-elevation-1 focus:bg-elevation-2 focus:bg-elevation-3 focus:bg-elevation-3-inverse focus:bg-overlay focus:bg-positive-wash focus:bg-primary focus:bg-secondary focus:bg-transparent focus:bg-warning-wash",elevation:"bg-elevation-1 z-30 shadow-1 bg-elevation-2 z-40 shadow-2 bg-elevation-3 z-50 shadow-3",opacity:"opacity-0 opacity-5 opacity-10 opacity-20 opacity-25 opacity-30 opacity-40 opacity-50 opacity-60 opacity-70 opacity-75 opacity-80 opacity-90 opacity-95 opacity-100",borderColor:"border-accent border-alert border-black border-brand border-positive border-warning border-white border-transparent border-muted border-primary border-secondary border-tertiary",borderColorOnActive:"active:border-accent active:border-alert active:border-black active:border-brand active:border-positive active:border-warning active:border-white active:border-transparent active:border-muted active:border-primary active:border-secondary active:border-tertiary",borderColorOnFocus:"focus:border-accent focus:border-alert focus:border-black focus:border-brand focus:border-positive focus:border-warning focus:border-white focus:border-transparent focus:border-muted focus:border-primary focus:border-secondary focus:border-tertiary",borderColorOnHover:"hover:border-accent hover:border-alert hover:border-black hover:border-brand hover:border-positive hover:border-warning hover:border-white hover:border-transparent hover:border-muted hover:border-primary hover:border-secondary hover:border-tertiary",borderColorOnChecked:"data-[state=checked]:border-accent data-[state=checked]:border-alert data-[state=checked]:border-black data-[state=checked]:border-brand data-[state=checked]:border-positive data-[state=checked]:border-warning data-[state=checked]:border-white data-[state=checked]:border-transparent data-[state=checked]:border-muted data-[state=checked]:border-primary data-[state=checked]:border-secondary data-[state=checked]:border-tertiary",borderStartColor:"border-s-accent border-s-alert border-s-black border-s-brand border-s-positive border-s-warning border-s-white border-s-transparent border-s-muted border-s-primary border-s-secondary border-s-tertiary",borderEndColor:"border-e-accent border-e-alert border-e-black border-e-brand border-e-positive border-e-warning border-e-white border-e-transparent border-e-muted border-e-primary border-e-secondary border-e-tertiary",borderBottomColor:"border-b-accent border-b-alert border-b-black border-b-brand border-b-positive border-b-warning border-b-white border-b-transparent border-b-muted border-b-primary border-b-secondary border-b-tertiary",borderTopColor:"border-t-accent border-t-alert border-t-black border-t-brand border-t-positive border-t-warning border-t-white border-t-transparent border-t-muted border-t-primary border-t-secondary border-t-tertiary",borderRadius:"rounded-square rounded-xs rounded-s rounded-m rounded-l rounded-xl rounded-xxl rounded-circle",borderTopStartRadius:"rounded-ss-square rounded-ss-xs rounded-ss-s rounded-ss-m rounded-ss-l rounded-ss-xl rounded-ss-xxl rounded-ss-circle",borderTopEndRadius:"rounded-se-square rounded-se-xs rounded-se-s rounded-se-m rounded-se-l rounded-se-xl rounded-se-xxl rounded-se-circle",borderBottomStartRadius:"rounded-es-square rounded-es-xs rounded-es-s rounded-es-m rounded-es-l rounded-es-xl rounded-es-xxl rounded-es-circle",borderBottomEndRadius:"rounded-ee-square rounded-ee-xs rounded-ee-s rounded-ee-m rounded-ee-l rounded-ee-xl rounded-ee-xxl rounded-ee-circle",bordered:"border-1 border-solid",borderWidth:"border-0 border-1 border-2 border-4 border-8",borderVerticalWidth:"border-y-0 border-y-1 border-y-2 border-y-4 border-y-8",borderHorizontalWidth:"border-x-0 border-x-1 border-x-2 border-x-4 border-x-8",borderStartWidth:"border-s-0 border-s-1 border-s-2 border-s-4 border-s-8",borderEndWidth:"border-e-0 border-e-1 border-e-2 border-e-4 border-e-8",borderTopWidth:"border-t-0 border-t-1 border-t-2 border-t-4 border-t-8",borderBottomWidth:"border-b-0 border-b-1 border-b-2 border-b-4 border-b-8",borderedVertical:"border-y-1",borderedTop:"border-t-1",borderedBottom:"border-b-1",borderedHorizontal:"border-x-1",borderedEnd:"border-e-1",borderedStart:"border-s-1",height:"h-auto h-full h-screen h-min h-max h-fit h-1/2 h-1/3 h-2/3 h-1/4 h-2/4 h-3/4 h-1/5 h-2/5 h-3/5 h-4/5 h-1/6 h-2/6 h-3/6 h-4/6 h-5/6",minHeight:"min-h-full min-h-min min-h-max min-h-fit min-h-screen",maxHeight:"max-h-full max-h-min max-h-max max-h-fit max-h-screen max-h-none",width:"w-auto w-full w-screen w-min w-max w-fit w-1/2 w-1/3 w-2/3 w-1/4 w-2/4 w-3/4 w-1/5 w-2/5 w-3/5 w-4/5 w-1/6 w-2/6 w-3/6 w-4/6 w-5/6 w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12",minWidth:"min-w-full min-w-min min-w-max min-w-fit min-w-screen",maxWidth:"max-w-none max-w-full max-w-min max-w-max max-w-fit",avatarSize:"avatarSize-s avatarSize-m avatarSize-l",iconSize:"iconSize-s leading-none iconSize-m leading-none iconSize-l leading-none",alignContent:"content-start content-end content-center content-stretch content-between content-around",alignItems:"items-start items-end items-center items-stretch items-baseline",alignSelf:"self-auto self-start self-end self-center self-stretch self-baseline",flex:"flex-1 flex-auto flex-initial flex-none",flexDirection:"flex-row flex-col flex-row-reverse flex-col-reverse",flexGrow:"grow-0 grow grow-[2] grow-[3]",flexShrink:"shrink-0 shrink",flexWrap:"flex-wrap flex-wrap-reverse flex-nowrap",justifyContent:"justify-start justify-end justify-center justify-between justify-around justify-evenly",flexBasis:"basis-[min-content]",display:"block inline-block inline flex inline-flex table inline-table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row-group table-row flow-root grid contents",overflow:"overflow-auto overflow-hidden overflow-clip overflow-visible overflow-scroll",overflowX:"overflow-x-auto overflow-x-hidden overflow-x-clip overflow-x-visible overflow-x-scroll",overflowY:"overflow-y-auto overflow-y-hidden overflow-y-clip overflow-y-visible overflow-y-scroll",position:"static fixed absolute relative sticky",zIndex:"z-0 z-10 z-20 z-40 z-30 z-50 z-auto",contentFit:"object-contain object-cover object-fill object-none object-scale-down"},r=["color","colorChecked","fontFamily","fontSize","fontWeight","lineHeight","textAlign","textTransform","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","backgroundColor","backgroundColorOnActive","backgroundColorOnHover","backgroundColorOnChecked","backgroundColorOnFocus","elevation","opacity","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnHover","borderColorOnChecked","borderStartColor","borderEndColor","borderBottomColor","borderTopColor","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","bordered","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","borderedVertical","borderedTop","borderedBottom","borderedHorizontal","borderedEnd","borderedStart","height","minHeight","maxHeight","width","minWidth","maxWidth","avatarSize","iconSize","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","overflow","overflowX","overflowY","position","zIndex","contentFit"],e={Accordion:[],Avatar:["width","height","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","contentFit"],Box:["backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","color"],Button:["backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],Chip:[],Dropdown:[],DropdownItem:["height","width","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],DropdownItemPressable:["height","width","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],DropdownItems:["overflow","color"],DropdownTrigger:["backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],HStack:["height","width","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","color"],Icon:["color","height","width","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","colorChecked","textAlign","textTransform"],IconButton:["color","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],Image:["width","height","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","contentFit"],Modal:["color"],ModalDismiss:[],ModalHeader:[],Popover:[],PopoverAnchor:[],PopoverArrow:[],PopoverDescription:[],PopoverDisclosure:[],PopoverDisclosureArrow:[],PopoverDismiss:[],PopoverHeading:[],PopoverProvider:[],Pressable:["backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],Spinner:["color"],Tab:[],TabList:[],TabPanel:[],Tabs:[],Text:["color","colorChecked","fontFamily","fontSize","fontWeight","lineHeight","textAlign","textTransform","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","height","minHeight","maxHeight","width","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap"],TextInput:["color"],TextInputGroup:["color"],TextInputLabel:[],ToastContainer:[],VStack:["height","width","backgroundColor","backgroundColorOnActive","backgroundColorOnFocus","backgroundColorOnChecked","backgroundColorOnHover","elevation","bordered","borderedTop","borderedBottom","borderedStart","borderedEnd","borderedHorizontal","borderedVertical","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnChecked","borderColorOnHover","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","alignContent","alignItems","alignSelf","flex","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","zIndex","overflow","overflowX","overflowY","position","opacity","minHeight","maxHeight","minWidth","maxWidth","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","color"]},t={Accordion:["Icon","Pressable","Text","VStack"],Avatar:[],Box:[],Button:["Icon","Pressable","Text"],Chip:["Icon","Pressable","Text"],Dropdown:["PopoverProvider"],DropdownItem:["DropdownItemPressable","Icon","Text","VStack"],DropdownItemPressable:["Pressable"],DropdownItems:["Popover","PopoverArrow","VStack"],DropdownTrigger:["PopoverDisclosure","Pressable"],HStack:["Box"],Icon:[],IconButton:["Icon","Pressable"],Image:[],Modal:["Button","HStack","Text","VStack"],ModalDismiss:[],ModalHeader:[],Popover:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverAnchor:[],PopoverArrow:[],PopoverDescription:[],PopoverDisclosure:[],PopoverDisclosureArrow:[],PopoverDismiss:[],PopoverHeading:[],PopoverProvider:[],Pressable:[],Spinner:[],Tab:[],TabList:[],TabPanel:[],Tabs:["Tab","TabList","TabPanel","Icon","Pressable","Text"],Text:[],TextInput:[],TextInputGroup:["TextInput","TextInputLabel","VStack"],TextInputLabel:["Text"],ToastContainer:[],VStack:["Box"]};export{e as componentToVariants,t as componentsDependencies,o as variantToTailwindClass,r as varitantsList};
|
2
|
+
//! This file is generated by purgeCSS.ts from @yahoo/uds
|
3
|
+
//! Do not edit directly
|
4
|
+
//! If there any issue with this file please report to #ask-uds
|
package/dist/tokens/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var g=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var K=Object.prototype.hasOwnProperty;var J=(t,o)=>{for(var r in o)g(t,r,{get:o[r],enumerable:!0})},Q=(t,o,r,A)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of j(o))!K.call(t,a)&&a!==r&&g(t,a,{get:()=>o[a],enumerable:!(A=B(o,a))||A.enumerable});return t};var e1=t=>Q(g({},"__esModule",{value:!0}),t);var T1={};J(T1,{AVATAR_SIZE_PREFIX:()=>n1,DARK_COLOR_MODE_CLASSNAME:()=>W,DEFAULT_COLOR_MODE:()=>E1,DEFAULT_COLOR_MODE_CLASSNAME:()=>d1,DEFAULT_COLOR_MODE_FOR_APP:()=>C1,DEFAULT_HIGH_CONTRAST_MODE:()=>L1,DEFAULT_REGION_MODE:()=>R1,DEFAULT_SCALE_MODE:()=>F1,DEFAULT_SCALE_MODE_CLASSNAME:()=>m1,DEFAULT_SCALE_MODE_FOR_APP:()=>A1,FONT_FAMILY_PREFIX:()=>a1,FONT_ICONS_CSS_VAR:()=>h1,FONT_SANS_BETA_CSS_VAR:()=>S1,FONT_SANS_CONDENSED_CSS_VAR:()=>x1,FONT_SANS_CSS_VAR:()=>y1,FONT_SERIF_DISPLAY_CSS_VAR:()=>b1,FONT_SERIF_TEXT_CSS_VAR:()=>_1,FONT_SIZE_PREFIX:()=>s1,FONT_WEIGHT_PREFIX:()=>c1,ICON_SIZE_PREFIX:()=>r1,LARGE_SCALE_MODE_CLASSNAME:()=>c,LIGHT_COLOR_MODE_CLASSNAME:()=>p,LINE_HEIGHT_PREFIX:()=>p1,MEDIUM_SCALE_MODE_CLASSNAME:()=>Y,SHAPE_PREFIX:()=>i1,SMALL_SCALE_MODE_CLASSNAME:()=>U,SPACING_PREFIX:()=>l1,SPECTRUM_COLOR_PREFIX:()=>o1,TEXT_TRANSFORM_PREFIX:()=>g1,UDS_PREFIX:()=>e,XLARGE_SCALE_MODE_CLASSNAME:()=>V,XSMALL_SCALE_MODE_CLASSNAME:()=>G,XXLARGE_SCALE_MODE_CLASSNAME:()=>Z,XXXLARGE_SCALE_MODE_CLASSNAME:()=>q,alwaysPalette:()=>O,defaultTokensConfig:()=>t1,entries:()=>M1,fontFamilyGlobal:()=>l,fontWeightMap:()=>$,getColorModeClassName:()=>f1,getScaleModeClassName:()=>u1});module.exports=e1(T1);var E={0:0,1:1,2:2,4:4,8:8};var F={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var L={auto:"auto",square:"1 / 1",video:"16 / 9"},R={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var M={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},T={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},O={white:"#ffffff",black:"#000000",transparent:"transparent"};var v={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},I={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var d={s:16,m:24,l:32},N=d,m={s:16,m:24,l:32},D=m;var k={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},z={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var P={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},w={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var n=["Helvetica Neue","Helvetica","Arial","sans-serif"],X=["Georgia","Times","Times New Roman","serif"],l={icons:{fallbacks:n,name:"yahoo-icons"},sans:{fallbacks:n,name:"yahoo-sans"},"sans-beta":{fallbacks:n,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:n,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:X,name:"yahoo-serif-text"},"serif-display":{fallbacks:X,name:"yahoo-serif-display"}},f={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},$={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},u={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},h={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},y={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},S={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...y.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},i={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...S.lineHeight,title2:36,title3:32}},x={fontSize:{...i.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...i.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},b={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...x.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},_={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...b.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},H={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{..._.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var C={fontFamily:f,fontWeight:u,textTransform:h,avatarSizes:d,iconSizes:m,shapes:v,spacing:k},s={fontFamily:f,fontWeight:u,textTransform:h,avatarSizes:N,iconSizes:D,shapes:I,spacing:z},t1={colorMode:{light:{palette:M,spectrum:P},dark:{palette:T,spectrum:w}},scaleMode:{xSmall:{...C,...y},small:{...C,...S},medium:{...C,...i},large:{...s,...x},xLarge:{...s,...b},xxLarge:{...s,..._},xxxLarge:{...s,...H}},aspectRatio:L,borderWidth:E,elevation:F,fontFamily:l,zIndex:R};var e="uds",o1=`${e}-spectrum-color`,a1=`${e}-font`,r1=`${e}-icon-size`,n1=`${e}-avatar-size`,i1=`${e}-shape`,l1=`${e}-spacing`,s1=`${e}-font-size`,p1=`${e}-line-height`,c1=`${e}-font-weight`,g1=`${e}-text-transform`,W=`${e}-color-mode-dark`,p=`${e}-color-mode-light`,G=`${e}-scale-mode-xsmall`,U=`${e}-scale-mode-small`,Y=`${e}-scale-mode-medium`,c=`${e}-scale-mode-large`,V=`${e}-scale-mode-xlarge`,Z=`${e}-scale-mode-xxlarge`,q=`${e}-scale-mode-xxxlarge`,d1=p,m1=c;function f1(t){switch(t){case"light":return p;case"dark":return W;default:}}function u1(t){switch(t){case"xSmall":return G;case"small":return U;case"medium":return Y;case"large":return c;case"xLarge":return V;case"xxLarge":return Z;case"xxxLarge":return q;default:}}var h1=`--${e}-font-icons`,y1=`--${e}-font-sans`,S1=`--${e}-font-sans-beta`,x1=`--${e}-font-sans-condensed`,b1=`--${e}-font-serif-display`,_1=`--${e}-font-serif-text`;var C1="system",A1="system",E1="light",F1="large",L1=!1,R1="\u{1F1FA}\u{1F1F8} US";function M1(t){return Object.entries(t)}0&&(module.exports={AVATAR_SIZE_PREFIX,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_CLASSNAME,DEFAULT_SCALE_MODE_FOR_APP,FONT_FAMILY_PREFIX,FONT_ICONS_CSS_VAR,FONT_SANS_BETA_CSS_VAR,FONT_SANS_CONDENSED_CSS_VAR,FONT_SANS_CSS_VAR,FONT_SERIF_DISPLAY_CSS_VAR,FONT_SERIF_TEXT_CSS_VAR,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,SHAPE_PREFIX,SMALL_SCALE_MODE_CLASSNAME,SPACING_PREFIX,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME,alwaysPalette,defaultTokensConfig,entries,fontFamilyGlobal,fontWeightMap,getColorModeClassName,getScaleModeClassName});
|
1
|
+
"use strict";var g=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var K=Object.prototype.hasOwnProperty;var J=(t,o)=>{for(var i in o)g(t,i,{get:o[i],enumerable:!0})},Q=(t,o,i,A)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of j(o))!K.call(t,a)&&a!==i&&g(t,a,{get:()=>o[a],enumerable:!(A=B(o,a))||A.enumerable});return t};var e1=t=>Q(g({},"__esModule",{value:!0}),t);var T1={};J(T1,{AVATAR_SIZE_PREFIX:()=>n1,DARK_COLOR_MODE_CLASSNAME:()=>W,DEFAULT_COLOR_MODE:()=>E1,DEFAULT_COLOR_MODE_CLASSNAME:()=>f1,DEFAULT_COLOR_MODE_FOR_APP:()=>_1,DEFAULT_HIGH_CONTRAST_MODE:()=>L1,DEFAULT_REGION_MODE:()=>R1,DEFAULT_SCALE_MODE:()=>F1,DEFAULT_SCALE_MODE_CLASSNAME:()=>d1,DEFAULT_SCALE_MODE_FOR_APP:()=>A1,FONT_FAMILY_PREFIX:()=>a1,FONT_ICONS_CSS_VAR:()=>u1,FONT_SANS_BETA_CSS_VAR:()=>S1,FONT_SANS_CONDENSED_CSS_VAR:()=>x1,FONT_SANS_CSS_VAR:()=>y1,FONT_SERIF_DISPLAY_CSS_VAR:()=>b1,FONT_SERIF_TEXT_CSS_VAR:()=>C1,FONT_SIZE_PREFIX:()=>l1,FONT_WEIGHT_PREFIX:()=>c1,ICON_SIZE_PREFIX:()=>i1,LARGE_SCALE_MODE_CLASSNAME:()=>c,LIGHT_COLOR_MODE_CLASSNAME:()=>p,LINE_HEIGHT_PREFIX:()=>p1,MEDIUM_SCALE_MODE_CLASSNAME:()=>Y,SHAPE_PREFIX:()=>s1,SMALL_SCALE_MODE_CLASSNAME:()=>U,SPACING_PREFIX:()=>r1,SPECTRUM_COLOR_PREFIX:()=>o1,TEXT_TRANSFORM_PREFIX:()=>g1,UDS_PREFIX:()=>e,XLARGE_SCALE_MODE_CLASSNAME:()=>V,XSMALL_SCALE_MODE_CLASSNAME:()=>G,XXLARGE_SCALE_MODE_CLASSNAME:()=>Z,XXXLARGE_SCALE_MODE_CLASSNAME:()=>q,alwaysPalette:()=>O,defaultTokensConfig:()=>t1,entries:()=>M1,fontFamilyGlobal:()=>r,fontWeightMap:()=>X,getColorModeClassName:()=>m1,getScaleModeClassName:()=>h1});module.exports=e1(T1);var E={0:0,1:1,2:2,4:4,8:8};var F={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var L={auto:"auto",square:"1 / 1",video:"16 / 9"},R={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var M={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},T={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},O={white:"#ffffff",black:"#000000",transparent:"transparent"};var v={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},z={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var f={s:16,m:24,l:32},I=f,d={s:16,m:24,l:32},N=d;var D={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},k={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var H={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},P={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var n=["Helvetica Neue","Helvetica","Arial","sans-serif"],w=["Georgia","Times","Times New Roman","serif"],r={icons:{fallbacks:n,name:"yahoo-icons"},sans:{fallbacks:n,name:"yahoo-sans"},"sans-beta":{fallbacks:n,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:n,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:w,name:"yahoo-serif-text"},"serif-display":{fallbacks:w,name:"yahoo-serif-display"}},m={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},X={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},h={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},u={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},y={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},S={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...y.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},s={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...S.lineHeight,title2:36,title3:32}},x={fontSize:{...s.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...s.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},b={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...x.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},C={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...b.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},$={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...C.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var _={fontFamily:m,fontWeight:h,textTransform:u,avatarSizes:f,iconSizes:d,shapes:v,spacing:D},l={fontFamily:m,fontWeight:h,textTransform:u,avatarSizes:I,iconSizes:N,shapes:z,spacing:k},t1={colorMode:{light:{palette:M,spectrum:H},dark:{palette:T,spectrum:P}},scaleMode:{xSmall:{..._,...y},small:{..._,...S},medium:{..._,...s},large:{...l,...x},xLarge:{...l,...b},xxLarge:{...l,...C},xxxLarge:{...l,...$}},aspectRatio:L,borderWidth:E,elevation:F,fontFamily:r,zIndex:R};var e="uds",o1=`${e}-spectrum-color`,a1=`${e}-font`,i1=`${e}-icon-size`,n1=`${e}-avatar-size`,s1=`${e}-shape`,r1=`${e}-spacing`,l1=`${e}-font-size`,p1=`${e}-line-height`,c1=`${e}-font-weight`,g1=`${e}-text-transform`,W=`${e}-color-mode-dark`,p=`${e}-color-mode-light`,G=`${e}-scale-mode-xsmall`,U=`${e}-scale-mode-small`,Y=`${e}-scale-mode-medium`,c=`${e}-scale-mode-large`,V=`${e}-scale-mode-xlarge`,Z=`${e}-scale-mode-xxlarge`,q=`${e}-scale-mode-xxxlarge`,f1=p,d1=c;function m1(t){switch(t){case"light":return p;case"dark":return W;default:}}function h1(t){switch(t){case"xSmall":return G;case"small":return U;case"medium":return Y;case"large":return c;case"xLarge":return V;case"xxLarge":return Z;case"xxxLarge":return q;default:}}var u1=`--${e}-font-icons`,y1=`--${e}-font-sans`,S1=`--${e}-font-sans-beta`,x1=`--${e}-font-sans-condensed`,b1=`--${e}-font-serif-display`,C1=`--${e}-font-serif-text`;var _1="system",A1="system",E1="light",F1="large",L1=!1,R1="\u{1F1FA}\u{1F1F8} US";function M1(t){return Object.entries(t)}0&&(module.exports={AVATAR_SIZE_PREFIX,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_CLASSNAME,DEFAULT_SCALE_MODE_FOR_APP,FONT_FAMILY_PREFIX,FONT_ICONS_CSS_VAR,FONT_SANS_BETA_CSS_VAR,FONT_SANS_CONDENSED_CSS_VAR,FONT_SANS_CSS_VAR,FONT_SERIF_DISPLAY_CSS_VAR,FONT_SERIF_TEXT_CSS_VAR,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,SHAPE_PREFIX,SMALL_SCALE_MODE_CLASSNAME,SPACING_PREFIX,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME,alwaysPalette,defaultTokensConfig,entries,fontFamilyGlobal,fontWeightMap,getColorModeClassName,getScaleModeClassName});
|
package/dist/tokens/index.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from '../index.native-
|
2
|
-
import { C as ColorMode, S as ScaleMode } from '../types-
|
3
|
-
export {
|
1
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from '../index.native-dgGFONLf.cjs';
|
2
|
+
import { C as ColorMode, S as ScaleMode } from '../types-8OHfDki5.cjs';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, af as Display, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, k as UniversalAvatarProps, l as UniversalBoxProps, n as UniversalButtonProps, r as UniversalIconButtonProps, q as UniversalIconProps, j as UniversalImageProps, m as UniversalPressableProps, o as UniversalStackProps, b0 as UniversalTextInputProps, p as UniversalTextProps, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from '../types-8OHfDki5.cjs';
|
4
4
|
import 'react';
|
5
5
|
|
6
6
|
declare const UDS_PREFIX = "uds";
|
package/dist/tokens/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from '../index.native-
|
2
|
-
import { C as ColorMode, S as ScaleMode } from '../types-
|
3
|
-
export {
|
1
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from '../index.native-TvtXtTXg.js';
|
2
|
+
import { C as ColorMode, S as ScaleMode } from '../types-8OHfDki5.js';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, af as Display, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, k as UniversalAvatarProps, l as UniversalBoxProps, n as UniversalButtonProps, r as UniversalIconButtonProps, q as UniversalIconProps, j as UniversalImageProps, m as UniversalPressableProps, o as UniversalStackProps, b0 as UniversalTextInputProps, p as UniversalTextProps, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from '../types-8OHfDki5.js';
|
4
4
|
import 'react';
|
5
5
|
|
6
6
|
declare const UDS_PREFIX = "uds";
|
package/dist/tokens/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import"../chunk-M346JMQS.js";import{a,b as d,c as I,d as J,e as K,f as L,g as M,h as N}from"../chunk-
|
1
|
+
import"../chunk-M346JMQS.js";import{a,b as d,c as I,d as J,e as K,f as L,g as M,h as N}from"../chunk-U3UPAQ7V.js";import{A as E,B as F,C as G,D as H,a as e,b as f,c as g,d as h,e as i,f as j,g as k,h as l,i as m,j as n,k as o,l as p,m as q,n as r,o as s,p as t,q as u,r as v,s as w,t as x,u as y,v as z,w as A,x as B,y as C,z as D}from"../chunk-3I3D5S54.js";import{a as O}from"../chunk-74YHFBTD.js";import{a as b,c}from"../chunk-AHFH5E5L.js";export{i as AVATAR_SIZE_PREFIX,p as DARK_COLOR_MODE_CLASSNAME,K as DEFAULT_COLOR_MODE,y as DEFAULT_COLOR_MODE_CLASSNAME,I as DEFAULT_COLOR_MODE_FOR_APP,M as DEFAULT_HIGH_CONTRAST_MODE,N as DEFAULT_REGION_MODE,L as DEFAULT_SCALE_MODE,z as DEFAULT_SCALE_MODE_CLASSNAME,J as DEFAULT_SCALE_MODE_FOR_APP,g as FONT_FAMILY_PREFIX,C as FONT_ICONS_CSS_VAR,E as FONT_SANS_BETA_CSS_VAR,F as FONT_SANS_CONDENSED_CSS_VAR,D as FONT_SANS_CSS_VAR,G as FONT_SERIF_DISPLAY_CSS_VAR,H as FONT_SERIF_TEXT_CSS_VAR,l as FONT_SIZE_PREFIX,n as FONT_WEIGHT_PREFIX,h as ICON_SIZE_PREFIX,u as LARGE_SCALE_MODE_CLASSNAME,q as LIGHT_COLOR_MODE_CLASSNAME,m as LINE_HEIGHT_PREFIX,t as MEDIUM_SCALE_MODE_CLASSNAME,j as SHAPE_PREFIX,s as SMALL_SCALE_MODE_CLASSNAME,k as SPACING_PREFIX,f as SPECTRUM_COLOR_PREFIX,o as TEXT_TRANSFORM_PREFIX,e as UDS_PREFIX,v as XLARGE_SCALE_MODE_CLASSNAME,r as XSMALL_SCALE_MODE_CLASSNAME,w as XXLARGE_SCALE_MODE_CLASSNAME,x as XXXLARGE_SCALE_MODE_CLASSNAME,a as alwaysPalette,d as defaultTokensConfig,O as entries,b as fontFamilyGlobal,c as fontWeightMap,A as getColorModeClassName,B as getScaleModeClassName};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var r=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var G=Object.prototype.hasOwnProperty;var N=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},X=(t,e,o,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of U(e))!G.call(t,a)&&a!==o&&r(t,a,{get:()=>e[a],enumerable:!(x=P(e,a))||x.enumerable});return t};var Y=t=>X(r({},"__esModule",{value:!0}),t);var V={};N(V,{DEFAULT_COLOR_MODE:()=>j,DEFAULT_COLOR_MODE_FOR_APP:()=>B,DEFAULT_HIGH_CONTRAST_MODE:()=>K,DEFAULT_REGION_MODE:()=>Q,DEFAULT_SCALE_MODE:()=>J,DEFAULT_SCALE_MODE_FOR_APP:()=>Z,alwaysPalette:()=>k,defaultTokensConfig:()=>q,fontWeightMap:()=>O});module.exports=Y(V);var S={0:0,1:1,2:2,4:4,8:8};var C={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var v={auto:"auto",square:"1 / 1",video:"16 / 9"},F={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var A={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},z={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},k={white:"#ffffff",black:"#000000",transparent:"transparent"};var R={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},w={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var s={s:16,m:24,l:32},M=s,p={s:16,m:24,l:32},T=p;var H={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},L={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var E={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},_={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var i=["Helvetica Neue","Helvetica","Arial","sans-serif"],W=["Georgia","Times","Times New Roman","serif"],D={icons:{fallbacks:i,name:"yahoo-icons"},sans:{fallbacks:i,name:"yahoo-sans"},"sans-beta":{fallbacks:i,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:i,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:W,name:"yahoo-serif-text"},"serif-display":{fallbacks:W,name:"yahoo-serif-display"}},c={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},g={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},d={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},m={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},h={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...m.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},l={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...h.lineHeight,title2:36,title3:32}},f={fontSize:{...l.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...l.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},y={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...f.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},u={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...y.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},I={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...u.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var b={fontFamily:c,fontWeight:g,textTransform:d,avatarSizes:s,iconSizes:p,shapes:R,spacing:H},n={fontFamily:c,fontWeight:g,textTransform:d,avatarSizes:M,iconSizes:T,shapes:w,spacing:L},q={colorMode:{light:{palette:A,spectrum:E},dark:{palette:z,spectrum:_}},scaleMode:{xSmall:{...b,...m},small:{...b,...h},medium:{...b,...l},large:{...n,...f},xLarge:{...n,...y},xxLarge:{...n,...u},xxxLarge:{...n,...I}},aspectRatio:v,borderWidth:S,elevation:C,fontFamily:D,zIndex:F};var B="system",Z="system",j="light",J="large",K=!1,Q="\u{1F1FA}\u{1F1F8} US";0&&(module.exports={DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,alwaysPalette,defaultTokensConfig,fontWeightMap});
|
1
|
+
"use strict";var s=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var G=Object.prototype.hasOwnProperty;var N=(t,e)=>{for(var a in e)s(t,a,{get:e[a],enumerable:!0})},X=(t,e,a,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of U(e))!G.call(t,o)&&o!==a&&s(t,o,{get:()=>e[o],enumerable:!(x=P(e,o))||x.enumerable});return t};var Y=t=>X(s({},"__esModule",{value:!0}),t);var V={};N(V,{DEFAULT_COLOR_MODE:()=>j,DEFAULT_COLOR_MODE_FOR_APP:()=>B,DEFAULT_HIGH_CONTRAST_MODE:()=>K,DEFAULT_REGION_MODE:()=>Q,DEFAULT_SCALE_MODE:()=>J,DEFAULT_SCALE_MODE_FOR_APP:()=>Z,alwaysPalette:()=>H,defaultTokensConfig:()=>q,fontWeightMap:()=>O});module.exports=Y(V);var S={0:0,1:1,2:2,4:4,8:8};var C={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var F={auto:"auto",square:"1 / 1",video:"16 / 9"},v={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var z={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},k={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},H={white:"#ffffff",black:"#000000",transparent:"transparent"};var L={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},R={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var r={s:16,m:24,l:32},A=r,p={s:16,m:24,l:32},w=p;var M={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},T={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var E={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},_={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var i=["Helvetica Neue","Helvetica","Arial","sans-serif"],W=["Georgia","Times","Times New Roman","serif"],D={icons:{fallbacks:i,name:"yahoo-icons"},sans:{fallbacks:i,name:"yahoo-sans"},"sans-beta":{fallbacks:i,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:i,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:W,name:"yahoo-serif-text"},"serif-display":{fallbacks:W,name:"yahoo-serif-display"}},g={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},c={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},f={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},d={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},h={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...d.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},n={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...h.lineHeight,title2:36,title3:32}},m={fontSize:{...n.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...n.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},y={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...m.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},u={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...y.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},I={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...u.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var b={fontFamily:g,fontWeight:c,textTransform:f,avatarSizes:r,iconSizes:p,shapes:L,spacing:M},l={fontFamily:g,fontWeight:c,textTransform:f,avatarSizes:A,iconSizes:w,shapes:R,spacing:T},q={colorMode:{light:{palette:z,spectrum:E},dark:{palette:k,spectrum:_}},scaleMode:{xSmall:{...b,...d},small:{...b,...h},medium:{...b,...n},large:{...l,...m},xLarge:{...l,...y},xxLarge:{...l,...u},xxxLarge:{...l,...I}},aspectRatio:F,borderWidth:S,elevation:C,fontFamily:D,zIndex:v};var B="system",Z="system",j="light",J="large",K=!1,Q="\u{1F1FA}\u{1F1F8} US";0&&(module.exports={DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,alwaysPalette,defaultTokensConfig,fontWeightMap});
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-
|
2
|
-
export {
|
1
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-dgGFONLf.cjs';
|
2
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, af as Display, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, S as ScaleMode, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, k as UniversalAvatarProps, l as UniversalBoxProps, n as UniversalButtonProps, r as UniversalIconButtonProps, q as UniversalIconProps, j as UniversalImageProps, m as UniversalPressableProps, o as UniversalStackProps, b0 as UniversalTextInputProps, p as UniversalTextProps, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from '../types-8OHfDki5.cjs';
|
3
3
|
import 'react';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-
|
2
|
-
export {
|
1
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-TvtXtTXg.js';
|
2
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, af as Display, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, S as ScaleMode, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, k as UniversalAvatarProps, l as UniversalBoxProps, n as UniversalButtonProps, r as UniversalIconButtonProps, q as UniversalIconProps, j as UniversalImageProps, m as UniversalPressableProps, o as UniversalStackProps, b0 as UniversalTextInputProps, p as UniversalTextProps, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from '../types-8OHfDki5.js';
|
3
3
|
import 'react';
|
@@ -1 +1 @@
|
|
1
|
-
import"../chunk-D4K3CXV6.js";import{a,b as c,c as d,d as e,e as f,f as g,g as h,h as i}from"../chunk-
|
1
|
+
import"../chunk-D4K3CXV6.js";import{a,b as c,c as d,d as e,e as f,f as g,g as h,h as i}from"../chunk-U3UPAQ7V.js";import{c as b}from"../chunk-AHFH5E5L.js";export{f as DEFAULT_COLOR_MODE,d as DEFAULT_COLOR_MODE_FOR_APP,h as DEFAULT_HIGH_CONTRAST_MODE,i as DEFAULT_REGION_MODE,g as DEFAULT_SCALE_MODE,e as DEFAULT_SCALE_MODE_FOR_APP,a as alwaysPalette,c as defaultTokensConfig,b as fontWeightMap};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var S=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var X=(e,t)=>{for(var a in t)S(e,a,{get:t[a],enumerable:!0})},W=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of k(t))!P.call(e,o)&&o!==a&&S(e,o,{get:()=>t[o],enumerable:!(i=H(t,o))||i.enumerable});return e};var z=e=>W(S({},"__esModule",{value:!0}),e);var Q={};X(Q,{parseTokens:()=>J});module.exports=z(Q);var _={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"};var V={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},D={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...V.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},C={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...D.lineHeight,title2:36,title3:32}},G={fontSize:{...C.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...C.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},w={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...G.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},U={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...w.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},te={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...U.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var n="uds",b=`${n}-spectrum-color`,m=`${n}-font`,x=`${n}-icon-size`,E=`${n}-avatar-size`,F=`${n}-shape`,h=`${n}-spacing`,R=`${n}-font-size`,T=`${n}-line-height`,A=`${n}-font-weight`,$=`${n}-text-transform`,ne=`${n}-color-mode-dark`,ie=`${n}-color-mode-light`,ae=`${n}-scale-mode-xsmall`,re=`${n}-scale-mode-small`,se=`${n}-scale-mode-medium`,le=`${n}-scale-mode-large`,ce=`${n}-scale-mode-xlarge`,fe=`${n}-scale-mode-xxlarge`,pe=`${n}-scale-mode-xxxlarge`;var ge=`--${n}-font-icons`,de=`--${n}-font-sans`,ye=`--${n}-font-sans-beta`,me=`--${n}-font-sans-condensed`,ue=`--${n}-font-serif-display`,Se=`--${n}-font-serif-text`;function f(e){return Object.entries(e)}function u(e,t){return Object.keys(e).reduce((a,i,o)=>(a[i]=t(e[i],i,o),a),{})}function L(e){let{palette:t,spectrum:a}=e,i={},o={spectrum:{},palette:{}};for(let[r,s]of f(a))for(let[l,c]of f(s)){let p=`${r}-${l}`,g=`--${b}-${p}`;o.spectrum[r]||(o.spectrum[r]={}),o.spectrum[r][l]=`rgb(var(${g}))`,i[g]=c}return f(t).forEach(([r,s])=>{for(let[l,{hue:c,step:p,opacity:g}]of Object.entries(s)){r in o.palette||(o.palette[r]={});let y=`--${n}-${r}-color-${l}`;i[y]=`var(--${b}-${c}-${p})`,o.palette[r][l]=g?`rgb(var(${y}) / ${g})`:`rgb(var(${y}))`}}),{_vars:i,_raw:e,tailwindConfig:o}}function K(e){let t={},a={};for(let[i,o="regular"]of f(e)){let r=`--${A}-${i}`,s=_[o];t[r]=s,a[i]=`var(${r})`}return{_vars:t,_raw:e,tailwindConfig:{..._,...a}}}function M(e,t,a){let i={},o={};for(let[r,s]of f(t)){let l=`--${e}-${r}`,c=a?a(s):s;i[l]=c,o[r]=`var(${l})`}return{_vars:i,_raw:t,tailwindConfig:o}}function d(e,t){let a={},i={};for(let[o,r]of f(t)){let s=`--${e}-${o}`,l=`${r}px`;a[s]=l,i[o]=`var(${s})`}return{_vars:a,_raw:t,tailwindConfig:i}}function Z(e){let t={};for(let[a,i]of f(e)){let o=i.map(({color:r,offsetX:s,offsetY:l,blurRadius:c,spreadRadius:p})=>`${s}px ${l}px ${c}px ${p}px ${r}`).join(", ");t[a]=o}return t}function j(e){return u(e,(t,a)=>{let{fallbacks:i=[]}=t??{};return[`var(--${m}-${a})`,...i]})}function B(e){return`${e}px`}function Y(e){return u(e,B)}var q=Y;function J(e){let{colorMode:t,scaleMode:a,elevation:i,fontFamily:o,borderWidth:r}=e;return{...e,colorMode:{light:L(t.light),dark:L(t.dark)},scaleMode:u(a,({shapes:s,spacing:l,fontSize:c,lineHeight:p,fontFamily:g,fontWeight:y,textTransform:N,avatarSizes:I,iconSizes:v})=>({fontFamily:M(m,g,O=>`var(--${m}-${O})`),fontSize:d(R,c),fontWeight:K(y),lineHeight:d(T,p),textTransform:M($,N),shapes:d(F,s),spacing:d(h,l),avatarSizes:d(E,I),iconSizes:d(x,v)})),borderWidth:q(r),elevation:Z(i),fontFamily:j(o)}}0&&(module.exports={parseTokens});
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, B as BorderWidthConfig, a as ColorsConfig, H as Hue, b as HueStep, P as PaletteValue, c as CorePalette, d as BackgroundPalette, e as BackgroundWashPalette, F as ForegroundPalette, L as LinePalette, f as FontWeightConfig, g as
|
1
|
+
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, B as BorderWidthConfig, a as ColorsConfig, H as Hue, b as HueStep, P as PaletteValue, c as CorePalette, d as BackgroundPalette, e as BackgroundWashPalette, F as ForegroundPalette, L as LinePalette, f as FontWeightConfig, g as FontWeightNumeric, E as ElevationConfig, h as Elevation, i as FontFamilyGlobalConfig } from '../types-8OHfDki5.cjs';
|
2
2
|
import 'react';
|
3
3
|
|
4
4
|
declare function transformColors(colors: ColorsConfig): {
|
@@ -26,15 +26,15 @@ declare function transformFontWeight(config: FontWeightConfig): {
|
|
26
26
|
_vars: Record<string, string>;
|
27
27
|
_raw: FontWeightConfig;
|
28
28
|
tailwindConfig: {
|
29
|
-
medium:
|
30
|
-
light:
|
31
|
-
black:
|
32
|
-
thin:
|
33
|
-
extralight:
|
34
|
-
regular:
|
35
|
-
semibold:
|
36
|
-
bold:
|
37
|
-
extrabold:
|
29
|
+
medium: FontWeightNumeric;
|
30
|
+
light: FontWeightNumeric;
|
31
|
+
black: FontWeightNumeric;
|
32
|
+
thin: FontWeightNumeric;
|
33
|
+
extralight: FontWeightNumeric;
|
34
|
+
regular: FontWeightNumeric;
|
35
|
+
semibold: FontWeightNumeric;
|
36
|
+
bold: FontWeightNumeric;
|
37
|
+
extrabold: FontWeightNumeric;
|
38
38
|
};
|
39
39
|
};
|
40
40
|
declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: string) => string): {
|
@@ -47,7 +47,7 @@ declare function transformNumeric<T extends Record<string, number>>(prefix: stri
|
|
47
47
|
_raw: T;
|
48
48
|
tailwindConfig: Record<string, string>;
|
49
49
|
};
|
50
|
-
declare function transformElevation(elevation: ElevationConfig): Record<
|
50
|
+
declare function transformElevation(elevation: ElevationConfig): Record<Elevation, string>;
|
51
51
|
declare function transformFontFamilyGlobal(fontFamily: FontFamilyGlobalConfig): {
|
52
52
|
icons: string[];
|
53
53
|
sans: string[];
|
@@ -74,10 +74,10 @@ type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFa
|
|
74
74
|
}>;
|
75
75
|
};
|
76
76
|
declare const transformBorderWidth: (obj: BorderWidthConfig) => {
|
77
|
+
'0': string;
|
77
78
|
'1': string;
|
78
79
|
'2': string;
|
79
80
|
'4': string;
|
80
|
-
'0': string;
|
81
81
|
'8': string;
|
82
82
|
};
|
83
83
|
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|