@yahoo/uds 1.0.0-beta.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/{Image.native-D96MZTYD.d.cts → Image.native-M8D2Y2sv.d.cts} +1 -1
- package/dist/{Image.native-D6qA03vT.d.ts → Image.native-QRZjcXm7.d.ts} +1 -1
- package/dist/{chunk-XELIMPNH.cjs → chunk-2IVMFNWO.cjs} +4 -4
- package/dist/{chunk-HY56NZEJ.js → chunk-7IXBPSW7.js} +2 -2
- package/dist/{chunk-VG5VAHYR.cjs → chunk-COAW5U7I.cjs} +2 -2
- package/dist/{chunk-MIEZCJHO.cjs → chunk-FUUHK3KY.cjs} +1 -1
- package/dist/{chunk-5MYSY56L.js → chunk-HUI56XBO.js} +1 -1
- package/dist/{chunk-S37OVJTV.js → chunk-JPWL2FQ4.js} +1 -1
- package/dist/{chunk-NSPDKMNR.cjs → chunk-LPSBCR5I.cjs} +2 -2
- package/dist/{chunk-GVBZYWK6.js → chunk-N4DCBD5Z.js} +4 -4
- package/dist/{chunk-ITYNB2GX.js → chunk-TOC3K5HJ.js} +2 -2
- package/dist/{chunk-B7X77UTF.cjs → chunk-TTWB3TUG.cjs} +2 -2
- package/dist/{chunk-5UHMAJB4.js → chunk-UMOO6CJW.js} +1 -1
- package/dist/{chunk-TM36S4YW.cjs → chunk-VHMLH3ZR.cjs} +2 -2
- package/dist/{chunk-G7GQQIM5.js → chunk-VN24RDUH.js} +2 -2
- package/dist/{chunk-HF5DHYIT.cjs → chunk-XDGPT2CN.cjs} +1 -1
- package/dist/{chunk-TKOGPWM4.cjs → chunk-XZP5NPIC.cjs} +1 -1
- package/dist/{chunk-ZDKN5LRE.js → chunk-ZL6ABLCA.js} +3 -3
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +4 -2
- package/dist/client/index.d.ts +4 -2
- package/dist/client/index.js +5 -5
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.js +2 -2
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.native.cjs +2 -2
- package/dist/index.native.d.cts +3 -3
- package/dist/index.native.d.ts +3 -3
- package/dist/index.native.js +2 -2
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +3 -3
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +3 -3
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +2 -2
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- 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 +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-JTm5E7im.d.cts → types-Bi1Q20iy.d.cts} +9 -1
- package/dist/{types-JTm5E7im.d.ts → types-Bi1Q20iy.d.ts} +9 -1
- package/dist/{types-C7KJV1b1.d.cts → types-C4OR1S9X.d.cts} +9 -1
- package/dist/{types-C7KJV1b1.d.ts → types-C4OR1S9X.d.ts} +9 -1
- package/package.json +207 -207
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-windows-x64-baseline.exe +0 -0
- package/dist/Image.native-BTcdQraV.d.ts +0 -39
- package/dist/Image.native-DX2YWGZD.d.ts +0 -39
- package/dist/Image.native-f8x4GPuV.d.cts +0 -39
- package/dist/Image.native-mHTDIRbL.d.cts +0 -39
- package/dist/chunk-2C7RDVXS.js +0 -3
- package/dist/chunk-2JQBQOM6.cjs +0 -4
- package/dist/chunk-47ZDV5TW.js +0 -3
- package/dist/chunk-4EJ6WK3H.cjs +0 -2
- package/dist/chunk-5DFU4PSC.cjs +0 -2
- package/dist/chunk-5LDKFAU4.cjs +0 -2
- package/dist/chunk-6QLTGUJB.cjs +0 -2
- package/dist/chunk-77JE2H36.js +0 -2
- package/dist/chunk-7A7DDMD7.cjs +0 -2
- package/dist/chunk-7BKASJ4D.cjs +0 -3
- package/dist/chunk-7ICJCQTV.cjs +0 -4
- package/dist/chunk-7OODVPL6.cjs +0 -2
- package/dist/chunk-7SJRCGTP.js +0 -3
- package/dist/chunk-AKOUDLRN.cjs +0 -2
- package/dist/chunk-AV442FHA.js +0 -3
- package/dist/chunk-AY4XUL7M.cjs +0 -3
- package/dist/chunk-BIYOCTWR.js +0 -3
- package/dist/chunk-BQB5NUKC.cjs +0 -3
- package/dist/chunk-CBSKS4K5.cjs +0 -2
- package/dist/chunk-CE5ROFEK.cjs +0 -3
- package/dist/chunk-CNY6ADXP.js +0 -3
- package/dist/chunk-D24YMS3F.cjs +0 -2
- package/dist/chunk-D3NVRUYG.cjs +0 -4
- package/dist/chunk-DIOVB5EV.js +0 -3
- package/dist/chunk-E53NU2VM.js +0 -2
- package/dist/chunk-E5X2STIU.js +0 -2
- package/dist/chunk-E6BTI63P.cjs +0 -2
- package/dist/chunk-EFYCREMN.js +0 -3
- package/dist/chunk-EMPQR5VI.js +0 -3
- package/dist/chunk-ET6WP7R7.js +0 -2
- package/dist/chunk-EXHCIY4P.cjs +0 -2
- package/dist/chunk-F56AWN2Z.js +0 -3
- package/dist/chunk-H2RSKIJ4.cjs +0 -2
- package/dist/chunk-HTDED6CG.js +0 -3
- package/dist/chunk-HUYXQPM5.cjs +0 -3
- package/dist/chunk-I2ENXXSN.js +0 -2
- package/dist/chunk-IVJD6N6G.cjs +0 -2
- package/dist/chunk-JVQ7PW3M.js +0 -3
- package/dist/chunk-KH3WJY4K.js +0 -4
- package/dist/chunk-KIDADDGN.js +0 -4
- package/dist/chunk-L7K4GFJK.cjs +0 -3
- package/dist/chunk-LRJNSHQA.cjs +0 -2
- package/dist/chunk-MPK4ZX4R.js +0 -3
- package/dist/chunk-MPP74SLP.js +0 -2
- package/dist/chunk-ND64MB7X.js +0 -2
- package/dist/chunk-O6FFTCHY.js +0 -3
- package/dist/chunk-OAYQHFZC.cjs +0 -3
- package/dist/chunk-OG5MIFO6.js +0 -3
- package/dist/chunk-OHOQVW2M.js +0 -3
- package/dist/chunk-PKL3JLWF.js +0 -2
- package/dist/chunk-PSZZ5NTF.cjs +0 -2
- package/dist/chunk-QAVZFB5J.cjs +0 -3
- package/dist/chunk-QENB6W4I.cjs +0 -4
- package/dist/chunk-QGADB35M.js +0 -4
- package/dist/chunk-RFY7RXSM.js +0 -3
- package/dist/chunk-RL274CM3.cjs +0 -2
- package/dist/chunk-UI4NLXDH.cjs +0 -2
- package/dist/chunk-UWZYIALE.js +0 -3
- package/dist/chunk-VCELYR7Q.cjs +0 -3
- package/dist/chunk-VEIAMHP4.js +0 -2
- package/dist/chunk-VF7WOINA.cjs +0 -2
- package/dist/chunk-WEJOZLMZ.js +0 -2
- package/dist/chunk-WJBYPKLH.cjs +0 -3
- package/dist/chunk-WKHVRU4K.js +0 -3
- package/dist/chunk-WR7BWGMO.cjs +0 -2
- package/dist/chunk-X5VBG5D7.js +0 -3
- package/dist/chunk-YACR35TD.js +0 -4
- package/dist/chunk-YUYEO5DZ.cjs +0 -2
- package/dist/chunk-ZFYJXGZM.cjs +0 -2
- package/dist/chunk-ZMPSBRKW.js +0 -2
- package/dist/motionFeatures-GFOZDTZE.js +0 -1
- package/dist/motionFeatures-H5RRG7RP.js +0 -1
- package/dist/motionFeatures-WFC6MN64.cjs +0 -1
- package/dist/motionFeatures-WUDKXXR7.js +0 -1
- package/dist/motionFeatures-XXMSSBUB.cjs +0 -1
- package/dist/motionFeatures-ZAB6OWON.cjs +0 -1
- package/dist/types-BVfWAIpr.d.cts +0 -909
- package/dist/types-BVfWAIpr.d.ts +0 -909
- package/dist/types-BkcFcA6N.d.cts +0 -909
- package/dist/types-BkcFcA6N.d.ts +0 -909
- package/dist/types-DVTR9ROz.d.cts +0 -942
- package/dist/types-DVTR9ROz.d.ts +0 -942
- package/dist/types-uSRlDJAd.d.cts +0 -942
- package/dist/types-uSRlDJAd.d.ts +0 -942
- /package/dist/{motionFeatures-AEY3XSQX.js → motionFeatures-7CCHNGRR.js} +0 -0
- /package/dist/{motionFeatures-NR4MMJ3L.cjs → motionFeatures-VI4KVLFF.cjs} +0 -0
package/dist/tailwind/plugin.cjs
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v1.
|
3
|
-
function(e,i){const
|
1
|
+
"use strict";var e=require("../chunk-TTWB3TUG.cjs"),t=require("../chunk-COAW5U7I.cjs"),o=require("../chunk-2IVMFNWO.cjs"),i=require("../chunk-FUUHK3KY.cjs"),n=require("../chunk-XZP5NPIC.cjs"),r=require("../chunk-XDGPT2CN.cjs"),a=require("@yahoo/uds/fixtures"),s=require("tailwindcss/plugin"),l=require("tailwindcss/defaultTheme");function d(e){return e&&e.__esModule?e:{default:e}}var u=d(s),_=d(l);var c="sm";function S(e,t,o){const i=e[t],n=o?.[i];return n?`var(${i}, ${n})`:`var(${i})`}function f(e,{type:t,value:o},i){const n="color"===e?"textColor":e;if("palette"===t)return a.alwaysPaletteAliases.includes(o)?o:i(`${n}.${o}`);{const[e,t]=o.split("-");return i(`colors.${e}.${t}`)}}function A({scale:e}){return a.scaleEffectMap[e][c]}function T({backgroundColor:e,borderColor:t,color:o,borderRadius:i,borderWidth:r},a){return{[n.BUTTON_CSS_VAR_MAP.backgroundColor]:f("backgroundColor",e,a),[n.BUTTON_CSS_VAR_MAP.borderColor]:f("borderColor",t,a),[n.BUTTON_CSS_VAR_MAP.color]:f("color",o,a),...i&&{[n.BUTTON_CSS_VAR_MAP.borderRadius]:a(`borderRadius.${i}`)},...r&&{[n.BUTTON_CSS_VAR_MAP.borderWidth]:a(`borderWidth.${r}`)}}}function C(e,t){const{spacingHorizontal:o,spacingVertical:i,gap:r,textVariant:a,iconSize:s}=e;return{[n.BUTTON_CSS_VAR_MAP.padding]:`${t(`spacing[${i}]`)} ${t(`spacing[${o}]`)}`,[n.BUTTON_CSS_VAR_MAP.columnGap]:t(`spacing[${r}]`),[n.BUTTON_CSS_VAR_MAP.fontFamily]:t(`typography.fontFamily.${a}`),[n.BUTTON_CSS_VAR_MAP.fontWeight]:t(`typography.fontWeight.${a}`),[n.BUTTON_CSS_VAR_MAP.fontSize]:t(`typography.fontSize.${a}`),[n.BUTTON_CSS_VAR_MAP.lineHeight]:t(`typography.lineHeight.${a}`),[n.BUTTON_CSS_VAR_MAP.textTransform]:t(`typography.textTransform.${a}`),[n.BUTTON_CSS_VAR_MAP.iconSize]:t(`sizing.icon.${s}`)}}function g(e,t){const o=e.palette[e.defaults.palette][e.defaults.variant],r=e.size[e.defaults.size],s=o.base.scale,l=o.effect.hover.scale.value,d=o.effect.pressed.scale.value,u={...T(o.base,t),...C(r,t),[n.BUTTON_CSS_VAR_MAP.effects.scale.rest]:A({scale:s}),[n.BUTTON_CSS_VAR_MAP.effects.scale.hover]:A({scale:l}),[n.BUTTON_CSS_VAR_MAP.effects.scale.pressed]:A({scale:d})},_={borderRadius:S(n.BUTTON_CSS_VAR_MAP,"borderRadius",u),boxShadow:`inset 0 0 0 ${S(n.BUTTON_CSS_VAR_MAP,"borderWidth",u)} ${S(n.BUTTON_CSS_VAR_MAP,"borderColor",u)}`,color:S(n.BUTTON_CSS_VAR_MAP,"color",u),backgroundColor:S(n.BUTTON_CSS_VAR_MAP,"backgroundColor",u),padding:S(n.BUTTON_CSS_VAR_MAP,"padding",u),fontFamily:S(n.BUTTON_CSS_VAR_MAP,"fontFamily",u),fontWeight:S(n.BUTTON_CSS_VAR_MAP,"fontWeight",u),fontSize:S(n.BUTTON_CSS_VAR_MAP,"fontSize",u),lineHeight:S(n.BUTTON_CSS_VAR_MAP,"lineHeight",u),textTransform:S(n.BUTTON_CSS_VAR_MAP,"textTransform",u),outline:"none",display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",...u,transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"220ms"},c=T(o.state.hover,t),f=T(o.state.pressed,t),g={cursor:"not-allowed",opacity:"0.2",[n.BUTTON_CSS_VAR_MAP.effects.scale.hover]:A({scale:"none"}),[n.BUTTON_CSS_VAR_MAP.effects.scale.pressed]:A({scale:"none"})},p={outlineOffset:"2px",outlineWidth:"2px",outlineColor:t("colors.accent"),outlineStyle:"solid"},h={".uds-button":_,".uds-button .uds-button-icon":{width:S(n.BUTTON_CSS_VAR_MAP,"iconSize",u),height:S(n.BUTTON_CSS_VAR_MAP,"iconSize",u)},".uds-button .uds-button-spacer":{height:S(n.BUTTON_CSS_VAR_MAP,"iconSize",u)},[`.uds-button${n.PSEUDO_STYLE_SELECTOR_MAP.hover}`]:c,[`.uds-button${n.PSEUDO_STYLE_SELECTOR_MAP.pressed}`]:f,[`.uds-button${n.PSEUDO_STYLE_SELECTOR_MAP.disabled}`]:g,".disabled .uds-button":g,[`.uds-button${n.PSEUDO_STYLE_SELECTOR_MAP.focused}`]:p,".focused .uds-button":p,".uds-ring":{outline:"none"},[`.uds-ring${n.PSEUDO_STYLE_SELECTOR_MAP.focused}`]:p,".focused .uds-ring":p},E={".hover":{".uds-button":c},".pressed":{".uds-button":f}};for(const[o,n]of i.entries(e.size))h[`.uds-button-${o}`]=C(n,t);function O(o,{palette:i,variant:r}){const a=e.palette[i][r],s=a.base,l=a.state,d=a.effect,u={rest:{...T(s,t)},restScale:{[n.BUTTON_CSS_VAR_MAP.effects.scale.rest]:A({scale:s.scale}),[n.BUTTON_CSS_VAR_MAP.effects.scale.hover]:A({scale:d.hover.scale.value}),[n.BUTTON_CSS_VAR_MAP.effects.scale.pressed]:A({scale:d.pressed.scale.value})},hover:T(l.hover,t),pressed:T(l.pressed,t)};h[o]=u.rest,h[`${o}${n.PSEUDO_STYLE_SELECTOR_MAP.notDisabled}`]=u.restScale,h[`${o}${n.PSEUDO_STYLE_SELECTOR_MAP.hover}`]=u.hover,h[`${o}${n.PSEUDO_STYLE_SELECTOR_MAP.pressed}`]=u.pressed,E[".hover"][o]=u.hover,E[".pressed"][o]=u.pressed}for(const t of a.buttonPalettes){O(`.uds-button-${t}`,{palette:t,variant:e.defaults.variant});for(const o of a.buttonVariants)O(`.uds-button-${t}.uds-button-${o}`,{palette:t,variant:o}),t===e.defaults.palette&&O(`.uds-button-${o}`,{palette:t,variant:o})}return{...h,...E}}var p="44px";function h(e,t){const{spacing:o,iconSize:i}=e;return{[n.ICON_BUTTON_CSS_VAR_MAP.padding]:t(`spacing[${o}]`),[n.ICON_BUTTON_CSS_VAR_MAP.iconSize]:t(`sizing.icon.${i}`)}}function E(e,t){const o=h(e.size[e.defaults.size],t),r={".uds-icon-button":{display:"inline-flex",alignItems:"center",...{padding:S(n.ICON_BUTTON_CSS_VAR_MAP,"padding",o)}},".uds-icon-button .uds-button-icon":{width:S(n.ICON_BUTTON_CSS_VAR_MAP,"iconSize",o),height:S(n.ICON_BUTTON_CSS_VAR_MAP,"iconSize",o)}};for(const[o,n]of i.entries(e.size))r[`.uds-icon-button-${o}`]=h(n,t);return r}var O={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},M={fontSize:O,lineHeight:O,borderRadius:{xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},borderWidth:{thin:"DEFAULT",medium:"2",thick:"4"}};function b(e){return e.endsWith("rem")?16*parseFloat(e):parseFloat(e)}var R={...o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE],fontSize:{...o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE].fontSize,...i.mapValues(M.fontSize,(e=>b(_.default.fontSize[e][0])))},lineHeight:{...o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE].fontSize,...i.mapValues(M.lineHeight,(e=>b(_.default.fontSize[e][1].lineHeight))),display1:b(_.default.fontSize[M.fontSize.display1][0]),display2:b(_.default.fontSize[M.fontSize.display2][0])},fontWeight:i.mapValues(o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE].fontWeight,(()=>"regular")),borderRadius:{...o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE].borderRadius,...i.mapValues(M.borderRadius,(e=>b(_.default.borderRadius[e])))},borderWidth:{...o.defaultTokensConfig.scaleMode[o.DEFAULT_SCALE_MODE].borderWidth,...i.mapValues(M.borderWidth,(e=>b(_.default.borderWidth[e])))}};function m(e){return{...o.defaultTokensConfig.scaleMode[e],fontWeight:R.fontWeight,fontSize:i.mapValues(R.fontSize,((t,o)=>t+a.fontSizeRamp[e][o])),lineHeight:i.mapValues(R.lineHeight,((t,o)=>t+a.lineHeightRamp[e][o])),borderRadius:i.mapValues(R.borderRadius,((t,o)=>t+a.borderRadiusRamp[e][o])),borderWidth:i.mapValues(R.borderWidth,((t,o)=>t+a.borderWidthRamp[e][o]))}}var L={...o.defaultTokensConfig,scaleMode:{xSmall:m("xSmall"),small:m("small"),medium:m("medium"),large:m("large"),xLarge:m("xLarge"),xxLarge:m("xxLarge"),xxxLarge:m("xxxLarge")}};var P=u.default.withOptions((function({config:i=o.defaultTokensConfig,disableFontFaceDeclarations:r=!1}){return function({addBase:a,matchUtilities:s,addComponents:l,theme:d}){const u=e.parseTokens(i),_=Object.values(i.font);if(!1===r&&t.addFontFaceDeclarations(_,a),function(e,o){o({":root":t.getFontStyles(e)})}(i.font,a),
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v1.1.0 */
|
3
|
+
function(e,i){const r=t.getColorModeStyles(e);i({":root":r[o.DEFAULT_COLOR_MODE],[`.${n.LIGHT_COLOR_MODE_CLASSNAME}`]:r.light,[`.${n.DARK_COLOR_MODE_CLASSNAME}`]:r.dark})}(u,a),function(e,i){const r=t.getScaleModeStyles(e);i({":root":r[o.DEFAULT_SCALE_MODE],[`.${n.XSMALL_SCALE_MODE_CLASSNAME}`]:r.xSmall,[`.${n.SMALL_SCALE_MODE_CLASSNAME}`]:r.small,[`.${n.MEDIUM_SCALE_MODE_CLASSNAME}`]:r.medium,[`.${n.LARGE_SCALE_MODE_CLASSNAME}`]:r.large,[`.${n.XLARGE_SCALE_MODE_CLASSNAME}`]:r.xLarge,[`.${n.XXLARGE_SCALE_MODE_CLASSNAME}`]:r.xxLarge,[`.${n.XXXLARGE_SCALE_MODE_CLASSNAME}`]:r.xxxLarge})}(u,a),i.button){const e=function(e,t){return g(e,t)}(i.button,d);l(e)}if(i.iconButton){const e=function(e,t){return E(e,t)}(i.iconButton,d);l(e)}i.motion&&function(e,o){o({":root":t.getMotionStyles(e)})}(i.motion,a);a({".uds-hit-target":{position:"relative"},".uds-hit-target::before":{"@media (hover: none)":{content:"''",position:"absolute",top:"50%",left:"50%",width:`max(${p}, 100%)`,height:`max(${p}, 100%)`,transform:"translate(-50%, -50%)"}}}),s({iconSize:e=>({width:e,height:e,fontSize:e,lineHeight:e})},{values:d("sizing.icon")}),s({avatarSize:e=>({width:e,height:e})},{values:d("sizing.avatar")}),s({case:e=>({"text-transform":e})},{values:d("typography.textTransform")}),s({"font-weight":e=>({"font-weight":e})},{values:d("typography.fontWeight")}),s({"font-size":e=>({"font-size":e})},{values:d("typography.fontSize")})}}),(function({config:t=o.defaultTokensConfig,safelist:r=[]}){const s=e.parseTokens(t),l=s.colorMode[o.DEFAULT_COLOR_MODE].tailwindConfig,d=s.scaleMode[o.DEFAULT_SCALE_MODE],u=i.mapValues(l.spectrum,((e,t)=>({...e,...a.tailwindColorsAsUds[t]}))),_=l.palette.core,c={...a.tailwindColorsAsUds,...u,...o.alwaysPalette,..._},S=l.palette.foreground,f=l.palette.background,A=l.palette.line,T=o.fromEntries(i.entries(M.fontSize).map((([e,t])=>[t,[`var(--${n.FONT_SIZE_PREFIX}-${e})`,{lineHeight:`var(--${n.LINE_HEIGHT_PREFIX}-${e})`}]]))),C=o.fromEntries(i.entries(M.borderRadius).map((([e,t])=>[t,`var(--${n.BORDER_RADIUS_PREFIX}-${e})`]))),g={...d.borderRadius.tailwindConfig,...C},p=o.fromEntries(i.entries(M.borderWidth).map((([e,t])=>[t,`var(--${n.BORDER_WIDTH_PREFIX}-${e})`]))),h={...d.borderWidth.tailwindConfig,...p};return{darkMode:["class",n.DARK_COLOR_MODE_CLASSNAME],safelist:[n.DARK_COLOR_MODE_CLASSNAME,...r],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:g,borderWidth:h,outlineWidth:h,fontFamily:{...Object.fromEntries(a.fontAliases.map((e=>[e,`var(--${n.FONT_FAMILY_PREFIX}-${e})`]))),...Object.fromEntries(a.textVariants.map((e=>[e,`var(--${n.FONT_FAMILY_PREFIX}-${e})`])))},fontSize:T,lineHeight:d.lineHeight.tailwindConfig,colors:c,backgroundColor:f,textColor:S,borderColor:A,fill:f,caretColor:S,placeholderColor:S,textDecorationColor:S,divideColor:A,outlineColor:A,ringColor:A,ringOffsetColor:A,stroke:A,typography:{fontFamily:d.fontFamily.tailwindConfig,fontWeight:d.fontWeight.tailwindConfig,fontSize:d.fontSize.tailwindConfig,lineHeight:d.lineHeight.tailwindConfig,textTransform:d.textTransform.tailwindConfig},sizing:{icon:d.iconSizes.tailwindConfig,avatar:d.avatarSizes.tailwindConfig}}}}}));exports.defaultTailwindThemeAsUdsConfig=L,exports.getButtonColorForProperty=f,exports.getButtonStyles=g,exports.getIconButtonStyles=E,exports.getUDSContent=()=>[r.__require.resolve("@yahoo/uds"),r.__require.resolve("@yahoo/uds/client"),r.__require.resolve("@yahoo/uds/experimental")],exports.tailwindPlugin=P,exports.udsToTailwindMap=M;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { B as ButtonConfig, h as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig } from '../types-
|
2
|
+
import { B as ButtonConfig, h as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig } from '../types-Bi1Q20iy.cjs';
|
3
3
|
import defaultTailwindTheme from 'tailwindcss/defaultTheme';
|
4
4
|
import 'framer-motion';
|
5
5
|
import 'react';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { B as ButtonConfig, h as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig } from '../types-
|
2
|
+
import { B as ButtonConfig, h as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig } from '../types-Bi1Q20iy.js';
|
3
3
|
import defaultTailwindTheme from 'tailwindcss/defaultTheme';
|
4
4
|
import 'framer-motion';
|
5
5
|
import 'react';
|
package/dist/tailwind/plugin.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import{parseTokens as e}from"../chunk-
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v1.
|
3
|
-
function(e,t){const i=o(e);t({":root":i[d],[`.${
|
1
|
+
import{parseTokens as e}from"../chunk-VN24RDUH.js";import{addFontFaceDeclarations as t,getColorModeStyles as o,getFontStyles as i,getMotionStyles as n,getScaleModeStyles as r}from"../chunk-7IXBPSW7.js";import{defaultTokensConfig as a,DEFAULT_SCALE_MODE as s,fromEntries as l,DEFAULT_COLOR_MODE as d,alwaysPalette as c}from"../chunk-N4DCBD5Z.js";import{mapValues as u,entries as f}from"../chunk-UMOO6CJW.js";import{FONT_SIZE_PREFIX as g,LINE_HEIGHT_PREFIX as h,BORDER_RADIUS_PREFIX as p,BORDER_WIDTH_PREFIX as b,DARK_COLOR_MODE_CLASSNAME as m,LIGHT_COLOR_MODE_CLASSNAME as v,XSMALL_SCALE_MODE_CLASSNAME as $,SMALL_SCALE_MODE_CLASSNAME as x,MEDIUM_SCALE_MODE_CLASSNAME as z,LARGE_SCALE_MODE_CLASSNAME as S,XLARGE_SCALE_MODE_CLASSNAME as y,XXLARGE_SCALE_MODE_CLASSNAME as C,XXXLARGE_SCALE_MODE_CLASSNAME as W,BUTTON_CSS_VAR_MAP as w,PSEUDO_STYLE_SELECTOR_MAP as k,ICON_BUTTON_CSS_VAR_MAP as H,FONT_FAMILY_PREFIX as R}from"../chunk-JPWL2FQ4.js";import{__require as F}from"../chunk-HUI56XBO.js";import{tailwindColorsAsUds as L,alwaysPaletteAliases as M,buttonPalettes as T,buttonVariants as j,fontSizeRamp as D,lineHeightRamp as O,borderRadiusRamp as B,borderWidthRamp as U,fontAliases as E,textVariants as I,scaleEffectMap as P}from"@yahoo/uds/fixtures";import V from"tailwindcss/plugin";import A from"tailwindcss/defaultTheme";var J="sm";function N(e,t,o){const i=e[t],n=o?.[i];return n?`var(${i}, ${n})`:`var(${i})`}function X(e,{type:t,value:o},i){const n="color"===e?"textColor":e;if("palette"===t)return M.includes(o)?o:i(`${n}.${o}`);{const[e,t]=o.split("-");return i(`colors.${e}.${t}`)}}function G({scale:e}){return P[e][J]}function Q({backgroundColor:e,borderColor:t,color:o,borderRadius:i,borderWidth:n},r){return{[w.backgroundColor]:X("backgroundColor",e,r),[w.borderColor]:X("borderColor",t,r),[w.color]:X("color",o,r),...i&&{[w.borderRadius]:r(`borderRadius.${i}`)},...n&&{[w.borderWidth]:r(`borderWidth.${n}`)}}}function Z(e,t){const{spacingHorizontal:o,spacingVertical:i,gap:n,textVariant:r,iconSize:a}=e;return{[w.padding]:`${t(`spacing[${i}]`)} ${t(`spacing[${o}]`)}`,[w.columnGap]:t(`spacing[${n}]`),[w.fontFamily]:t(`typography.fontFamily.${r}`),[w.fontWeight]:t(`typography.fontWeight.${r}`),[w.fontSize]:t(`typography.fontSize.${r}`),[w.lineHeight]:t(`typography.lineHeight.${r}`),[w.textTransform]:t(`typography.textTransform.${r}`),[w.iconSize]:t(`sizing.icon.${a}`)}}function q(e,t){const o=e.palette[e.defaults.palette][e.defaults.variant],i=e.size[e.defaults.size],n=o.base.scale,r=o.effect.hover.scale.value,a=o.effect.pressed.scale.value,s={...Q(o.base,t),...Z(i,t),[w.effects.scale.rest]:G({scale:n}),[w.effects.scale.hover]:G({scale:r}),[w.effects.scale.pressed]:G({scale:a})},l={borderRadius:N(w,"borderRadius",s),boxShadow:`inset 0 0 0 ${N(w,"borderWidth",s)} ${N(w,"borderColor",s)}`,color:N(w,"color",s),backgroundColor:N(w,"backgroundColor",s),padding:N(w,"padding",s),fontFamily:N(w,"fontFamily",s),fontWeight:N(w,"fontWeight",s),fontSize:N(w,"fontSize",s),lineHeight:N(w,"lineHeight",s),textTransform:N(w,"textTransform",s),outline:"none",display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",...s,transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"220ms"},d=Q(o.state.hover,t),c=Q(o.state.pressed,t),u={cursor:"not-allowed",opacity:"0.2",[w.effects.scale.hover]:G({scale:"none"}),[w.effects.scale.pressed]:G({scale:"none"})},g={outlineOffset:"2px",outlineWidth:"2px",outlineColor:t("colors.accent"),outlineStyle:"solid"},h={".uds-button":l,".uds-button .uds-button-icon":{width:N(w,"iconSize",s),height:N(w,"iconSize",s)},".uds-button .uds-button-spacer":{height:N(w,"iconSize",s)},[`.uds-button${k.hover}`]:d,[`.uds-button${k.pressed}`]:c,[`.uds-button${k.disabled}`]:u,".disabled .uds-button":u,[`.uds-button${k.focused}`]:g,".focused .uds-button":g,".uds-ring":{outline:"none"},[`.uds-ring${k.focused}`]:g,".focused .uds-ring":g},p={".hover":{".uds-button":d},".pressed":{".uds-button":c}};for(const[o,i]of f(e.size))h[`.uds-button-${o}`]=Z(i,t);function b(o,{palette:i,variant:n}){const r=e.palette[i][n],a=r.base,s=r.state,l=r.effect,d={rest:{...Q(a,t)},restScale:{[w.effects.scale.rest]:G({scale:a.scale}),[w.effects.scale.hover]:G({scale:l.hover.scale.value}),[w.effects.scale.pressed]:G({scale:l.pressed.scale.value})},hover:Q(s.hover,t),pressed:Q(s.pressed,t)};h[o]=d.rest,h[`${o}${k.notDisabled}`]=d.restScale,h[`${o}${k.hover}`]=d.hover,h[`${o}${k.pressed}`]=d.pressed,p[".hover"][o]=d.hover,p[".pressed"][o]=d.pressed}for(const t of T){b(`.uds-button-${t}`,{palette:t,variant:e.defaults.variant});for(const o of j)b(`.uds-button-${t}.uds-button-${o}`,{palette:t,variant:o}),t===e.defaults.palette&&b(`.uds-button-${o}`,{palette:t,variant:o})}return{...h,...p}}var K="44px";function Y(e,t){const{spacing:o,iconSize:i}=e;return{[H.padding]:t(`spacing[${o}]`),[H.iconSize]:t(`sizing.icon.${i}`)}}function _(e,t){const o=Y(e.size[e.defaults.size],t),i={".uds-icon-button":{display:"inline-flex",alignItems:"center",...{padding:N(H,"padding",o)}},".uds-icon-button .uds-button-icon":{width:N(H,"iconSize",o),height:N(H,"iconSize",o)}};for(const[o,n]of f(e.size))i[`.uds-icon-button-${o}`]=Y(n,t);return i}var ee={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},te={fontSize:ee,lineHeight:ee,borderRadius:{xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},borderWidth:{thin:"DEFAULT",medium:"2",thick:"4"}};function oe(e){return e.endsWith("rem")?16*parseFloat(e):parseFloat(e)}var ie={...a.scaleMode[s],fontSize:{...a.scaleMode[s].fontSize,...u(te.fontSize,(e=>oe(A.fontSize[e][0])))},lineHeight:{...a.scaleMode[s].fontSize,...u(te.lineHeight,(e=>oe(A.fontSize[e][1].lineHeight))),display1:oe(A.fontSize[te.fontSize.display1][0]),display2:oe(A.fontSize[te.fontSize.display2][0])},fontWeight:u(a.scaleMode[s].fontWeight,(()=>"regular")),borderRadius:{...a.scaleMode[s].borderRadius,...u(te.borderRadius,(e=>oe(A.borderRadius[e])))},borderWidth:{...a.scaleMode[s].borderWidth,...u(te.borderWidth,(e=>oe(A.borderWidth[e])))}};function ne(e){return{...a.scaleMode[e],fontWeight:ie.fontWeight,fontSize:u(ie.fontSize,((t,o)=>t+D[e][o])),lineHeight:u(ie.lineHeight,((t,o)=>t+O[e][o])),borderRadius:u(ie.borderRadius,((t,o)=>t+B[e][o])),borderWidth:u(ie.borderWidth,((t,o)=>t+U[e][o]))}}var re={...a,scaleMode:{xSmall:ne("xSmall"),small:ne("small"),medium:ne("medium"),large:ne("large"),xLarge:ne("xLarge"),xxLarge:ne("xxLarge"),xxxLarge:ne("xxxLarge")}};var ae=V.withOptions((function({config:l=a,disableFontFaceDeclarations:c=!1}){return function({addBase:a,matchUtilities:u,addComponents:f,theme:g}){const h=e(l),p=Object.values(l.font);if(!1===c&&t(p,a),function(e,t){t({":root":i(e)})}(l.font,a),
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v1.1.0 */
|
3
|
+
function(e,t){const i=o(e);t({":root":i[d],[`.${v}`]:i.light,[`.${m}`]:i.dark})}(h,a),function(e,t){const o=r(e);t({":root":o[s],[`.${$}`]:o.xSmall,[`.${x}`]:o.small,[`.${z}`]:o.medium,[`.${S}`]:o.large,[`.${y}`]:o.xLarge,[`.${C}`]:o.xxLarge,[`.${W}`]:o.xxxLarge})}(h,a),l.button){const e=function(e,t){return q(e,t)}(l.button,g);f(e)}if(l.iconButton){const e=function(e,t){return _(e,t)}(l.iconButton,g);f(e)}l.motion&&function(e,t){t({":root":n(e)})}(l.motion,a);a({".uds-hit-target":{position:"relative"},".uds-hit-target::before":{"@media (hover: none)":{content:"''",position:"absolute",top:"50%",left:"50%",width:`max(${K}, 100%)`,height:`max(${K}, 100%)`,transform:"translate(-50%, -50%)"}}}),u({iconSize:e=>({width:e,height:e,fontSize:e,lineHeight:e})},{values:g("sizing.icon")}),u({avatarSize:e=>({width:e,height:e})},{values:g("sizing.avatar")}),u({case:e=>({"text-transform":e})},{values:g("typography.textTransform")}),u({"font-weight":e=>({"font-weight":e})},{values:g("typography.fontWeight")}),u({"font-size":e=>({"font-size":e})},{values:g("typography.fontSize")})}}),(function({config:t=a,safelist:o=[]}){const i=e(t),n=i.colorMode[d].tailwindConfig,r=i.scaleMode[s],v=u(n.spectrum,((e,t)=>({...e,...L[t]}))),$=n.palette.core,x={...L,...v,...c,...$},z=n.palette.foreground,S=n.palette.background,y=n.palette.line,C=l(f(te.fontSize).map((([e,t])=>[t,[`var(--${g}-${e})`,{lineHeight:`var(--${h}-${e})`}]]))),W=l(f(te.borderRadius).map((([e,t])=>[t,`var(--${p}-${e})`]))),w={...r.borderRadius.tailwindConfig,...W},k=l(f(te.borderWidth).map((([e,t])=>[t,`var(--${b}-${e})`]))),H={...r.borderWidth.tailwindConfig,...k};return{darkMode:["class",m],safelist:[m,...o],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:w,borderWidth:H,outlineWidth:H,fontFamily:{...Object.fromEntries(E.map((e=>[e,`var(--${R}-${e})`]))),...Object.fromEntries(I.map((e=>[e,`var(--${R}-${e})`])))},fontSize:C,lineHeight:r.lineHeight.tailwindConfig,colors:x,backgroundColor:S,textColor:z,borderColor:y,fill:S,caretColor:z,placeholderColor:z,textDecorationColor:z,divideColor:y,outlineColor:y,ringColor:y,ringOffsetColor:y,stroke:y,typography:{fontFamily:r.fontFamily.tailwindConfig,fontWeight:r.fontWeight.tailwindConfig,fontSize:r.fontSize.tailwindConfig,lineHeight:r.lineHeight.tailwindConfig,textTransform:r.textTransform.tailwindConfig},sizing:{icon:r.iconSizes.tailwindConfig,avatar:r.avatarSizes.tailwindConfig}}}}})),se=()=>[F.resolve("@yahoo/uds"),F.resolve("@yahoo/uds/client"),F.resolve("@yahoo/uds/experimental")];export{re as defaultTailwindThemeAsUdsConfig,X as getButtonColorForProperty,q as getButtonStyles,_ as getIconButtonStyles,se as getUDSContent,ae as tailwindPlugin,te as udsToTailwindMap};
|
package/dist/tailwind/purger.cjs
CHANGED
package/dist/tailwind/purger.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! © 2024 Yahoo, Inc. UDS v1.
|
1
|
+
/*! © 2024 Yahoo, Inc. UDS v1.1.0 */
|
2
2
|
var t=["color","placeholderColor","fontFamily","fontSize","fontWeight","lineHeight","textAlign","textTransform","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","backgroundColor","borderColor","borderStartColor","borderEndColor","borderBottomColor","borderTopColor","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","avatarSize","iconSize","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","overflow","overflowX","overflowY","position","contentFit","colorMode","scaleMode","buttonPalette","buttonVariant","buttonSize","iconButtonSize"],e={Box:[["display",["flex","block","inline-block","inline","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"]],["flexDirection",["row","column"]],["rowGap",["0","1","2","3","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96","px","0.5","1.5","2.5","3.5"]],["columnGap",["0","1","2","3","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96","px","0.5","1.5","2.5","3.5"]],["borderColor",["accent","alert","black","brand","positive","warning","white","transparent","muted","primary","secondary","tertiary","current"]],["borderRadius",["none","xs","sm","md","lg","xl","full"]],["overflow",["auto","hidden","clip","visible","scroll"]]],Button:[["color",["accent","alert","black","brand","positive","warning","white","transparent","muted","on-color","primary","secondary","tertiary","current"]]],HStack:[["alignItems",["center"]],["justifyContent",["space-between"]]],Icon:[["color",["primary","current","tertiary","accent","alert","black","brand","positive","warning","white","transparent","muted","on-color","secondary"]]],IconButton:[],Image:[],Pressable:[["display",["flex","inline-flex"]],["flexDirection",["row"]],["alignItems",["center","flex-start"]],["justifyContent",["space-between"]],["spacingVertical",["4","2"]],["spacingHorizontal",["0","1","2","3","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96","px","0.5","1.5","2.5","3.5"]],["borderRadius",["md","full"]],["columnGap",["2","3"]],["backgroundColor",["accent","alert","black","brand","positive","warning","white","primary","secondary","transparent","current"]],["borderColor",["muted"]],["borderBottomWidth",["thick"]],["spacingBottom",["1"]],["spacingTop",["4"]]],SpringMotionConfig:[],Text:[["color",["primary","secondary","accent","alert","black","brand","positive","warning","white","transparent","muted","on-color","tertiary","current"]],["fontSize",["display1","display2","display3","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"]],["fontFamily",["sans","sans-alt","serif","serif-alt","mono","display1","display2","display3","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"]],["fontWeight",["thin","extralight","light","regular","medium","semibold","bold","extrabold","black","display1","display2","display3","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"]],["lineHeight",["display1","display2","display3","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"]],["textTransform",["display1","display2","display3","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1","none","uppercase","lowercase","capitalize"]],["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"]],["spacing",["0","1","2","3","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96","px","0.5","1.5","2.5","3.5"]],["borderBottomColor",["accent","alert","black","brand","positive","warning","white","transparent","muted","primary","secondary","tertiary","current"]],["borderBottomWidth",["thin"]],["spacingStart",["0.5"]]],VStack:[["overflow",["hidden","auto","clip","visible","scroll"]],["spacingHorizontal",["0","1","2","3","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96","px","0.5","1.5","2.5","3.5"]],["alignItems",["flex-start"]],["borderRadius",["lg","md"]],["backgroundColor",["primary"]],["spacingVertical",["2"]],["position",["fixed"]],["spacing",["8"]]],Accordion:[["spacingHorizontal",["4"]]],Avatar:[],CheckBox:[],Chip:[],Dropdown:[],DropdownItem:[],DropdownItemPressable:[],DropdownItems:[["overflow",["scroll"]]],DropdownTrigger:[],Modal:[],ModalDismiss:[],ModalHeader:[],Popover:[],PopoverAnchor:[],PopoverArrow:[],PopoverDescription:[],PopoverDisclosure:[],PopoverDisclosureArrow:[],PopoverDismiss:[],PopoverHeading:[],PopoverProvider:[],Spinner:[],Tab:[],TabList:[],TabPanel:[],Table:[],Tabs:[],TextInput:[["backgroundColor",["secondary"]],["borderColor",["tertiary"]],["borderWidth",["thin"]],["borderRadius",["md"]],["color",["primary"]],["placeholderColor",["tertiary"]],["spacingVertical",["3"]],["spacingHorizontal",["4"]]],TextInputGroup:[],TextInputLabel:[],ToastContainer:[]},o={Box:"container flex border",Button:"uds-button uds-button .uds-button-icon uds-button .uds-button-spacer uds-button:hover:not([disabled]) uds-button:active:not([disabled]) uds-button:disabled disabled .uds-button uds-button:focus-visible focused .uds-button hover .uds-button hover .uds-button-brand hover .uds-button-brand.uds-button-primary hover .uds-button-brand.uds-button-secondary hover .uds-button-brand.uds-button-tertiary hover .uds-button-accent hover .uds-button-accent.uds-button-primary hover .uds-button-primary hover .uds-button-accent.uds-button-secondary hover .uds-button-secondary hover .uds-button-accent.uds-button-tertiary hover .uds-button-tertiary hover .uds-button-alert hover .uds-button-alert.uds-button-primary hover .uds-button-alert.uds-button-secondary hover .uds-button-alert.uds-button-tertiary hover .uds-button-positive hover .uds-button-positive.uds-button-primary hover .uds-button-positive.uds-button-secondary hover .uds-button-positive.uds-button-tertiary hover .uds-button-warning hover .uds-button-warning.uds-button-primary hover .uds-button-warning.uds-button-secondary hover .uds-button-warning.uds-button-tertiary pressed .uds-button pressed .uds-button-brand pressed .uds-button-brand.uds-button-primary pressed .uds-button-brand.uds-button-secondary pressed .uds-button-brand.uds-button-tertiary pressed .uds-button-accent pressed .uds-button-accent.uds-button-primary pressed .uds-button-primary pressed .uds-button-accent.uds-button-secondary pressed .uds-button-secondary pressed .uds-button-accent.uds-button-tertiary pressed .uds-button-tertiary pressed .uds-button-alert pressed .uds-button-alert.uds-button-primary pressed .uds-button-alert.uds-button-secondary pressed .uds-button-alert.uds-button-tertiary pressed .uds-button-positive pressed .uds-button-positive.uds-button-primary pressed .uds-button-positive.uds-button-secondary pressed .uds-button-positive.uds-button-tertiary pressed .uds-button-warning pressed .uds-button-warning.uds-button-primary pressed .uds-button-warning.uds-button-secondary pressed .uds-button-warning.uds-button-tertiary uds-icon-button .uds-button-icon flex animate-spin overflow-hidden",HStack:"container ",Icon:"outline",IconButton:"uds-button uds-button .uds-button-icon uds-button .uds-button-spacer uds-button:hover:not([disabled]) uds-button:active:not([disabled]) uds-button:disabled disabled .uds-button uds-button:focus-visible focused .uds-button hover .uds-button hover .uds-button-brand hover .uds-button-brand.uds-button-primary hover .uds-button-brand.uds-button-secondary hover .uds-button-brand.uds-button-tertiary hover .uds-button-accent hover .uds-button-accent.uds-button-primary hover .uds-button-primary hover .uds-button-accent.uds-button-secondary hover .uds-button-secondary hover .uds-button-accent.uds-button-tertiary hover .uds-button-tertiary hover .uds-button-alert hover .uds-button-alert.uds-button-primary hover .uds-button-alert.uds-button-secondary hover .uds-button-alert.uds-button-tertiary hover .uds-button-positive hover .uds-button-positive.uds-button-primary hover .uds-button-positive.uds-button-secondary hover .uds-button-positive.uds-button-tertiary hover .uds-button-warning hover .uds-button-warning.uds-button-primary hover .uds-button-warning.uds-button-secondary hover .uds-button-warning.uds-button-tertiary pressed .uds-button pressed .uds-button-brand pressed .uds-button-brand.uds-button-primary pressed .uds-button-brand.uds-button-secondary pressed .uds-button-brand.uds-button-tertiary pressed .uds-button-accent pressed .uds-button-accent.uds-button-primary pressed .uds-button-primary pressed .uds-button-accent.uds-button-secondary pressed .uds-button-secondary pressed .uds-button-accent.uds-button-tertiary pressed .uds-button-tertiary pressed .uds-button-alert pressed .uds-button-alert.uds-button-primary pressed .uds-button-alert.uds-button-secondary pressed .uds-button-alert.uds-button-tertiary pressed .uds-button-positive pressed .uds-button-positive.uds-button-primary pressed .uds-button-positive.uds-button-secondary pressed .uds-button-positive.uds-button-tertiary pressed .uds-button-warning pressed .uds-button-warning.uds-button-primary pressed .uds-button-warning.uds-button-secondary pressed .uds-button-warning.uds-button-tertiary uds-icon-button uds-icon-button .uds-button-icon animate-spin",Image:"flex border",Pressable:"flex border",SpringMotionConfig:"transition",Text:"container flex border",VStack:"container ",Accordion:"flex hidden max-h-0 max-h-full min-h-min w-full transition-\\[max-height\\] duration-500 ease-in-out hover\\:bg-secondary\\/80:hover",Avatar:"",CheckBox:"\\!max-w-0 cursor-pointer select-none opacity-0",Chip:"inline-flex",Dropdown:"",DropdownItem:"",DropdownItemPressable:"\\!disabled .uds-button disabled .uds-button flex cursor-default hover\\:bg-gray-2:hover",DropdownItems:"z-10 max-h-\\[312px\\] min-w-\\[220px\\] \\!stroke-muted \\!stroke-1 shadow-md",DropdownTrigger:"",Modal:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:opacity-60[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalDismiss:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:opacity-60[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalHeader:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:opacity-60[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",Popover:"",PopoverAnchor:"",PopoverArrow:"",PopoverDescription:"",PopoverDisclosure:"",PopoverDisclosureArrow:"",PopoverDismiss:"",PopoverHeading:"",PopoverProvider:"",Spinner:"sr-only absolute relative left-0 right-0 animate-spin self-center fill-accent text-gray-3",Tab:'flex border-b-transparent text-current text-primary aria-selected\\:border-b-accent[aria-selected="true"] aria-selected\\:text-accent[aria-selected="true"]',TabList:'flex border-b-transparent text-current text-primary aria-selected\\:border-b-accent[aria-selected="true"] aria-selected\\:text-accent[aria-selected="true"]',TabPanel:'flex border-b-transparent text-current text-primary aria-selected\\:border-b-accent[aria-selected="true"] aria-selected\\:text-accent[aria-selected="true"]',Table:"block inline flex table table-cell table-header-group table-row-group table-row grid hidden",Tabs:'flex border-b-transparent text-current text-primary aria-selected\\:border-b-accent[aria-selected="true"] aria-selected\\:text-accent[aria-selected="true"]',TextInput:"disabled .uds-button w-full",TextInputGroup:"w-full",TextInputLabel:"",ToastContainer:"relative flex hidden cursor-pointer p-2 transition"},r={Box:[],Button:["Icon","SpringMotionConfig"],HStack:["Box"],Icon:[],IconButton:["Icon","SpringMotionConfig"],Image:[],Pressable:[],SpringMotionConfig:[],Text:[],VStack:["Box"],Accordion:["Icon","Pressable","Text","VStack"],Avatar:[],CheckBox:["CheckBox","HStack","Icon","Text"],Chip:["Icon","Pressable","Text"],Dropdown:["PopoverProvider"],DropdownItem:["DropdownItemPressable","Icon","Text","VStack"],DropdownItemPressable:["Pressable"],DropdownItems:["Popover","PopoverArrow","VStack"],DropdownTrigger:["Button","PopoverDisclosure"],Modal:["IconButton","HStack","Text","VStack"],ModalDismiss:["IconButton","HStack","Text","VStack"],ModalHeader:["IconButton","HStack","Text","VStack"],Popover:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverAnchor:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDescription:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosure:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosureArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDismiss:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverHeading:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverProvider:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],Spinner:[],Tab:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabList:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabPanel:["Tab","TabList","TabPanel","Icon","Pressable","Text"],Table:["Box","Text"],Tabs:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TextInput:[],TextInputGroup:["TextInput","TextInputLabel","VStack"],TextInputLabel:["Text"],ToastContainer:["IconButton","ToastContainer"]};
|
3
3
|
//! This file is generated by purgeCSS.ts from @yahoo/uds
|
4
4
|
//! Do not edit directly
|
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v1.
|
1
|
+
"use strict";var e=require("../chunk-VHMLH3ZR.cjs"),t=require("lodash-es"),n=require("ts-morph");
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v1.1.0 */
|
3
3
|
function i(e){if(n.Node.isCallExpression(e)){const t=e.getExpression();if(n.Node.isIdentifier(t)&&"forwardRef"===t.getText())return!0;if(n.Node.isPropertyAccessExpression(t)&&"React.forwardRef"===t.getText())return!0}return!1}function r(e){let t;if(n.Node.isVariableDeclaration(e)||n.Node.isFunctionDeclaration(e)||n.Node.isClassDeclaration(e))t=e.getName();else if(n.Node.isFunctionExpression(e)||n.Node.isArrowFunction(e)){const i=e.getFirstAncestorByKind(n.SyntaxKind.VariableDeclaration);t=i?.getName()}return!!t&&/[A-Z]/.test(t.charAt(0))}function s(e){if(r(e)){if(n.Node.isFunctionDeclaration(e))return e;if(n.Node.isVariableDeclaration(e)){const t=e.getInitializer();if(t)if(i(t)){const[e]=t.getArguments();if(n.Node.isFunctionDeclaration(e)||n.Node.isFunctionExpression(e)||n.Node.isArrowFunction(e))return e}else if(n.Node.isFunctionDeclaration(t)||n.Node.isFunctionExpression(t)||n.Node.isArrowFunction(t))return t}}return null}function o(e){return e.getDescendants().filter((e=>n.Node.isJsxElement(e)||n.Node.isJsxSelfClosingElement(e)))}var a=e=>{const t=e.getParentWhile((e=>!s(e))).getParent();if(!t)return;const i=s(t);if(i){const e=i.getParameters();for(let t=0;t<e.length;t++){const i=e[t],r=i.getChildrenOfKind(n.SyntaxKind.ObjectBindingPattern)[0],s=i.getChildrenOfKind(n.SyntaxKind.Identifier)[0];if(r){const e=r.getFirstDescendantByKind(n.SyntaxKind.DotDotDotToken);if(void 0!==e){const t=e?.getParent()?.getFirstChildByKindOrThrow(n.SyntaxKind.Identifier).getText();return t}}else if(s)return s.getText()}}};exports.findReferencesAsJsxElements=function(e){const t=[];for(const i of e.findReferencesAsNodes()){const e=i.getFirstAncestor((e=>n.Node.isJsxOpeningElement(e)||n.Node.isJsxSelfClosingElement(e)));e&&t.push(e)}return t},exports.getJsxElement=function(e,t){return o(e).find((e=>e.getFirstDescendantByKindOrThrow(n.SyntaxKind.Identifier).getText()===t))},exports.getJsxElements=o,exports.getParentSpreadOrParamIdentifier=a,exports.getReactFunctionDeclaration=s,exports.getUsedPropsInReference=i=>{const r=i.getAttributes(),s=[];return r.forEach((r=>{if(n.Node.isJsxAttribute(r)){const i=r.getNameNode().getText(),o=r.getDescendantsOfKind(n.SyntaxKind.StringLiteral),a=[];0!==o.length&&o.forEach((e=>a.push(e.getLiteralText())));const d=r.getFirstChildByKindOrThrow(n.SyntaxKind.Identifier).getDefinitions().map((e=>e.getDeclarationNode()?.getChildrenOfKind(n.SyntaxKind.Identifier).pop()?.getType().getText())).pop()?.split(".").pop();d||t.isEmpty(i)?e.variants[t.camelCase(d)]&&!t.isEmpty(d)?s.push([t.camelCase(d),a]):t.isEmpty(i)||s.push([i,a]):s.push([i,a])}if(n.Node.isJsxSpreadAttribute(r)){const e=a(i),o=r.getExpression().getChildren(),d=0===o.length?r.getExpression():o.pop();if(!d||d?.getText()===e)return[];d.getType().getProperties().forEach((e=>{const i=e.getDeclarations().map((e=>{const i=e.getChildrenOfKind(n.SyntaxKind.TypeReference)[0]?.getText()??"";return t.camelCase(i)}))[0];t.isEmpty(e.getName())||s.push([e.getName(),[]]),t.isEmpty(i)||s.push([i,[]])}))}return[]})),s},exports.isForwardRefExpression=i,exports.isJsxComponent=r;
|
package/dist/tailwind/tsMorph.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{variants as e}from"../chunk-
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v1.
|
1
|
+
import{variants as e}from"../chunk-ZL6ABLCA.js";import{isEmpty as t,camelCase as n}from"lodash-es";import{Node as i,SyntaxKind as r}from"ts-morph";
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v1.1.0 */function s(e){if(i.isCallExpression(e)){const t=e.getExpression();if(i.isIdentifier(t)&&"forwardRef"===t.getText())return!0;if(i.isPropertyAccessExpression(t)&&"React.forwardRef"===t.getText())return!0}return!1}function o(e){let t;if(i.isVariableDeclaration(e)||i.isFunctionDeclaration(e)||i.isClassDeclaration(e))t=e.getName();else if(i.isFunctionExpression(e)||i.isArrowFunction(e)){const n=e.getFirstAncestorByKind(r.VariableDeclaration);t=n?.getName()}return!!t&&/[A-Z]/.test(t.charAt(0))}function c(e){if(o(e)){if(i.isFunctionDeclaration(e))return e;if(i.isVariableDeclaration(e)){const t=e.getInitializer();if(t)if(s(t)){const[e]=t.getArguments();if(i.isFunctionDeclaration(e)||i.isFunctionExpression(e)||i.isArrowFunction(e))return e}else if(i.isFunctionDeclaration(t)||i.isFunctionExpression(t)||i.isArrowFunction(t))return t}}return null}function a(e,t){return f(e).find((e=>e.getFirstDescendantByKindOrThrow(r.Identifier).getText()===t))}function f(e){return e.getDescendants().filter((e=>i.isJsxElement(e)||i.isJsxSelfClosingElement(e)))}function g(e){const t=[];for(const n of e.findReferencesAsNodes()){const e=n.getFirstAncestor((e=>i.isJsxOpeningElement(e)||i.isJsxSelfClosingElement(e)));e&&t.push(e)}return t}var l=e=>{const t=e.getParentWhile((e=>!c(e))).getParent();if(!t)return;const n=c(t);if(n){const e=n.getParameters();for(let t=0;t<e.length;t++){const n=e[t],i=n.getChildrenOfKind(r.ObjectBindingPattern)[0],s=n.getChildrenOfKind(r.Identifier)[0];if(i){const e=i.getFirstDescendantByKind(r.DotDotDotToken);if(void 0!==e){const t=e?.getParent()?.getFirstChildByKindOrThrow(r.Identifier).getText();return t}}else if(s)return s.getText()}}},u=s=>{const o=s.getAttributes(),c=[];return o.forEach((o=>{if(i.isJsxAttribute(o)){const i=o.getNameNode().getText(),s=o.getDescendantsOfKind(r.StringLiteral),a=[];0!==s.length&&s.forEach((e=>a.push(e.getLiteralText())));const f=o.getFirstChildByKindOrThrow(r.Identifier).getDefinitions().map((e=>e.getDeclarationNode()?.getChildrenOfKind(r.Identifier).pop()?.getType().getText())).pop()?.split(".").pop();f||t(i)?e[n(f)]&&!t(f)?c.push([n(f),a]):t(i)||c.push([i,a]):c.push([i,a])}if(i.isJsxSpreadAttribute(o)){const e=l(s),i=o.getExpression().getChildren(),a=0===i.length?o.getExpression():i.pop();if(!a||a?.getText()===e)return[];a.getType().getProperties().forEach((e=>{const i=e.getDeclarations().map((e=>{const t=e.getChildrenOfKind(r.TypeReference)[0]?.getText()??"";return n(t)}))[0];t(e.getName())||c.push([e.getName(),[]]),t(i)||c.push([i,[]])}))}return[]})),c};export{g as findReferencesAsJsxElements,a as getJsxElement,f as getJsxElements,l as getParentSpreadOrParamIdentifier,c as getReactFunctionDeclaration,u as getUsedPropsInReference,s as isForwardRefExpression,o as isJsxComponent};
|
package/dist/tailwind/utils.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
1
|
+
"use strict";var e=require("../chunk-COAW5U7I.cjs");Object.defineProperty(exports,"addFontsPlugin",{enumerable:!0,get:function(){return e.addFontsPlugin}}),Object.defineProperty(exports,"getColorModeStyles",{enumerable:!0,get:function(){return e.getColorModeStyles}}),Object.defineProperty(exports,"getFontFaceDeclarations",{enumerable:!0,get:function(){return e.getFontFaceDeclarations}}),Object.defineProperty(exports,"getFontStyles",{enumerable:!0,get:function(){return e.getFontStyles}}),Object.defineProperty(exports,"getMotionStyles",{enumerable:!0,get:function(){return e.getMotionStyles}}),Object.defineProperty(exports,"getMotionVar",{enumerable:!0,get:function(){return e.getMotionVar}}),Object.defineProperty(exports,"getScaleModeStyles",{enumerable:!0,get:function(){return e.getScaleModeStyles}});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { k as FontID, l as FontDeclarationConfig, m as FontConfig, M as MotionVariant, g as MotionVariantSpeed, n as MotionSpringConfigOptions, o as MotionConfig } from '../types-
|
2
|
+
import { k as FontID, l as FontDeclarationConfig, m as FontConfig, M as MotionVariant, g as MotionVariantSpeed, n as MotionSpringConfigOptions, o as MotionConfig } from '../types-Bi1Q20iy.cjs';
|
3
3
|
import { WebTokens } from '../tokens/parseTokens.cjs';
|
4
4
|
import 'framer-motion';
|
5
5
|
import 'react';
|
package/dist/tailwind/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { k as FontID, l as FontDeclarationConfig, m as FontConfig, M as MotionVariant, g as MotionVariantSpeed, n as MotionSpringConfigOptions, o as MotionConfig } from '../types-
|
2
|
+
import { k as FontID, l as FontDeclarationConfig, m as FontConfig, M as MotionVariant, g as MotionVariantSpeed, n as MotionSpringConfigOptions, o as MotionConfig } from '../types-Bi1Q20iy.js';
|
3
3
|
import { WebTokens } from '../tokens/parseTokens.js';
|
4
4
|
import 'framer-motion';
|
5
5
|
import 'react';
|
package/dist/tailwind/utils.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{addFontsPlugin,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getMotionVar,getScaleModeStyles}from"../chunk-
|
1
|
+
export{addFontsPlugin,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getMotionVar,getScaleModeStyles}from"../chunk-7IXBPSW7.js";
|
package/dist/tokens/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
1
|
+
"use strict";var e=require("../chunk-2IVMFNWO.cjs"),t=require("../chunk-FUUHK3KY.cjs"),r=require("../chunk-VHMLH3ZR.cjs"),n=require("../chunk-XZP5NPIC.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return e.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return e.button}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return e.defaultTokensConfig}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateConfigCombinations",{enumerable:!0,get:function(){return e.generateConfigCombinations}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return e.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return t.entries}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return t.fontWeightMap}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return t.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
|
package/dist/tokens/index.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { aq as ButtonKind, aJ as CorePaletteAlias, al as ButtonBaseConfig, B as ButtonConfig, aG as ColorModeConfig, bB as ScaleModeConfig, m as FontConfig, b9 as IconButtonConfig, o as MotionConfig, b3 as FontWeightDescriptive, d as FontWeightNumeric, aH as ColorModeForApp, bC as ScaleModeForApp, C as ColorMode, S as ScaleMode, b7 as HighContrastMode, by as RegionMode } from '../types-
|
2
|
-
export { A as AVATAR_SIZE_PREFIX, a4 as AlwaysPalette, a5 as AlwaysPaletteAlias, a6 as Animation, a7 as AriaAttribute, a8 as AvatarShape, a9 as AvatarSize, aa as AvatarSizeConfig, x as BORDER_RADIUS_PREFIX, y as BORDER_WIDTH_PREFIX, a0 as BUTTON_CSS_VAR_MAP, ab as BackgroundColor, ac as BackgroundPalette, ad as BackgroundPaletteAlias, ae as BackgroundStyleProps, af as BorderRadius, ag as BorderRadiusConfig, ah as BorderStyleProps, ai as BorderWidth, aj as BorderWidthConfig, ak as BoxShadowConfig, h as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig, ar as ButtonMotionEffect, as as ButtonMotionProperty, at as ButtonMotionPropertyConfig, au as ButtonPalette, av as ButtonPaletteColor, aw as ButtonPaletteConfig, ax as ButtonSize, ay as ButtonSizeConfig, az as ButtonSizeProperty, aA as ButtonSpectrumColor, aB as ButtonState, aC as ButtonStateConfig, aD as ButtonStateEffectConfig, aE as ButtonVariant, aF as ButtonVariantConfig, a as ColorsConfig, aI as CorePalette, aK as CustomSizingStyleProps, N as DARK_COLOR_MODE_CLASSNAME, _ as DEFAULT_COLOR_MODE_CLASSNAME, $ as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a3 as FONT_DECLARATIONS_MAP, z as FONT_FAMILY_PREFIX, D as FONT_SIZE_PREFIX, E as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontCssVar, l as FontDeclarationConfig, a_ as FontFamilyCDNUrl, a$ as FontFamilyConfig, k as FontID, b0 as FontSize, b1 as FontSizeConfig, b2 as FontType, F as FontWeightConfig, b4 as ForegroundColor, b5 as ForegroundPalette, b6 as ForegroundPaletteAlias, H as Hue, b as HueStep, a1 as ICON_BUTTON_CSS_VAR_MAP, G as ICON_SIZE_PREFIX, I as IconButtonClassMap, b8 as IconButtonClassName, ba as IconButtonDefaultsConfig, bb as IconButtonSize, bc as IconSize, bd as IconSizeConfig, be as IconVariant, bf as ImageStyleProps, V as LARGE_SCALE_MODE_CLASSNAME, O as LIGHT_COLOR_MODE_CLASSNAME, L as LINE_HEIGHT_PREFIX, bg as LayoutStyleProps, bh as LetterSpacing, bi as LineClampAlias, bj as LineColor, bk as LineHeight, bl as LineHeightConfig, bm as LinePalette, bn as LinePaletteAlias, R as MEDIUM_SCALE_MODE_CLASSNAME, J as MOTION_PREFIX, bo as Modes, bp as MotionCssVar, bq as MotionSpringConfig, n as MotionSpringConfigOptions, M as MotionVariant, g as MotionVariantSpeed, br as MotionVariantValues, bs as Overflow, a2 as PSEUDO_STYLE_SELECTOR_MAP, bt as Palette, c as PaletteConfig, P as PaletteType, bu as PaletteValue, bv as PlatformMode, bw as Position, bx as PropertyToPaletteAliasMap, Q as SMALL_SCALE_MODE_CLASSNAME, K as SPECTRUM_COLOR_PREFIX, bz as ScaleConfig, bA as ScaleEffectMap, bD as SpacingAlias, bE as SpacingConfig, bF as SpacingStyleProps, bG as SpectrumColor, bH as SpectrumConfig, bI as StateStyleProps, bJ as StyleProps, T as TEXT_TRANSFORM_PREFIX, bS as TShirtSize, bT as TShirtSizeCommon, bK as TextProperty, bL as TextStyleProps, bM as TextTransform, bN as TextTransformConfig, bO as TextVariant, bP as TransitionDelay, bQ as TransitionDuration, bR as TransitionTiming, w as UDS_PREFIX, bU as UdsCssVar, bV as UniversalAvatarProps, p as UniversalBoxProps, e as UniversalButtonProps, f as UniversalIconButtonProps, r as UniversalIconProps, s as UniversalImageProps, t as UniversalPressableProps, q as UniversalStackProps, bW as UniversalTextInputProps, u as UniversalTextProps, U as UniversalTokensConfig, W as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, Y as XXLARGE_SCALE_MODE_CLASSNAME, Z as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from '../types-
|
1
|
+
import { aq as ButtonKind, aJ as CorePaletteAlias, al as ButtonBaseConfig, B as ButtonConfig, aG as ColorModeConfig, bB as ScaleModeConfig, m as FontConfig, b9 as IconButtonConfig, o as MotionConfig, b3 as FontWeightDescriptive, d as FontWeightNumeric, aH as ColorModeForApp, bC as ScaleModeForApp, C as ColorMode, S as ScaleMode, b7 as HighContrastMode, by as RegionMode } from '../types-Bi1Q20iy.cjs';
|
2
|
+
export { A as AVATAR_SIZE_PREFIX, a4 as AlwaysPalette, a5 as AlwaysPaletteAlias, a6 as Animation, a7 as AriaAttribute, a8 as AvatarShape, a9 as AvatarSize, aa as AvatarSizeConfig, x as BORDER_RADIUS_PREFIX, y as BORDER_WIDTH_PREFIX, a0 as BUTTON_CSS_VAR_MAP, ab as BackgroundColor, ac as BackgroundPalette, ad as BackgroundPaletteAlias, ae as BackgroundStyleProps, af as BorderRadius, ag as BorderRadiusConfig, ah as BorderStyleProps, ai as BorderWidth, aj as BorderWidthConfig, ak as BoxShadowConfig, h as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig, ar as ButtonMotionEffect, as as ButtonMotionProperty, at as ButtonMotionPropertyConfig, au as ButtonPalette, av as ButtonPaletteColor, aw as ButtonPaletteConfig, ax as ButtonSize, ay as ButtonSizeConfig, az as ButtonSizeProperty, aA as ButtonSpectrumColor, aB as ButtonState, aC as ButtonStateConfig, aD as ButtonStateEffectConfig, aE as ButtonVariant, aF as ButtonVariantConfig, a as ColorsConfig, aI as CorePalette, aK as CustomSizingStyleProps, N as DARK_COLOR_MODE_CLASSNAME, _ as DEFAULT_COLOR_MODE_CLASSNAME, $ as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a3 as FONT_DECLARATIONS_MAP, z as FONT_FAMILY_PREFIX, D as FONT_SIZE_PREFIX, E as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontCssVar, l as FontDeclarationConfig, a_ as FontFamilyCDNUrl, a$ as FontFamilyConfig, k as FontID, b0 as FontSize, b1 as FontSizeConfig, b2 as FontType, F as FontWeightConfig, b4 as ForegroundColor, b5 as ForegroundPalette, b6 as ForegroundPaletteAlias, H as Hue, b as HueStep, a1 as ICON_BUTTON_CSS_VAR_MAP, G as ICON_SIZE_PREFIX, I as IconButtonClassMap, b8 as IconButtonClassName, ba as IconButtonDefaultsConfig, bb as IconButtonSize, bc as IconSize, bd as IconSizeConfig, be as IconVariant, bf as ImageStyleProps, V as LARGE_SCALE_MODE_CLASSNAME, O as LIGHT_COLOR_MODE_CLASSNAME, L as LINE_HEIGHT_PREFIX, bg as LayoutStyleProps, bh as LetterSpacing, bi as LineClampAlias, bj as LineColor, bk as LineHeight, bl as LineHeightConfig, bm as LinePalette, bn as LinePaletteAlias, R as MEDIUM_SCALE_MODE_CLASSNAME, J as MOTION_PREFIX, bo as Modes, bp as MotionCssVar, bq as MotionSpringConfig, n as MotionSpringConfigOptions, M as MotionVariant, g as MotionVariantSpeed, br as MotionVariantValues, bs as Overflow, a2 as PSEUDO_STYLE_SELECTOR_MAP, bt as Palette, c as PaletteConfig, P as PaletteType, bu as PaletteValue, bv as PlatformMode, bw as Position, bx as PropertyToPaletteAliasMap, Q as SMALL_SCALE_MODE_CLASSNAME, K as SPECTRUM_COLOR_PREFIX, bz as ScaleConfig, bA as ScaleEffectMap, bD as SpacingAlias, bE as SpacingConfig, bF as SpacingStyleProps, bG as SpectrumColor, bH as SpectrumConfig, bI as StateStyleProps, bJ as StyleProps, T as TEXT_TRANSFORM_PREFIX, bS as TShirtSize, bT as TShirtSizeCommon, bK as TextProperty, bL as TextStyleProps, bM as TextTransform, bN as TextTransformConfig, bO as TextVariant, bP as TransitionDelay, bQ as TransitionDuration, bR as TransitionTiming, w as UDS_PREFIX, bU as UdsCssVar, bV as UniversalAvatarProps, p as UniversalBoxProps, e as UniversalButtonProps, f as UniversalIconButtonProps, r as UniversalIconProps, s as UniversalImageProps, t as UniversalPressableProps, q as UniversalStackProps, bW as UniversalTextInputProps, u as UniversalTextProps, U as UniversalTokensConfig, W as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, Y as XXLARGE_SCALE_MODE_CLASSNAME, Z as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from '../types-Bi1Q20iy.cjs';
|
3
3
|
import 'framer-motion';
|
4
4
|
import 'react';
|
5
5
|
|
package/dist/tokens/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { aq as ButtonKind, aJ as CorePaletteAlias, al as ButtonBaseConfig, B as ButtonConfig, aG as ColorModeConfig, bB as ScaleModeConfig, m as FontConfig, b9 as IconButtonConfig, o as MotionConfig, b3 as FontWeightDescriptive, d as FontWeightNumeric, aH as ColorModeForApp, bC as ScaleModeForApp, C as ColorMode, S as ScaleMode, b7 as HighContrastMode, by as RegionMode } from '../types-
|
2
|
-
export { A as AVATAR_SIZE_PREFIX, a4 as AlwaysPalette, a5 as AlwaysPaletteAlias, a6 as Animation, a7 as AriaAttribute, a8 as AvatarShape, a9 as AvatarSize, aa as AvatarSizeConfig, x as BORDER_RADIUS_PREFIX, y as BORDER_WIDTH_PREFIX, a0 as BUTTON_CSS_VAR_MAP, ab as BackgroundColor, ac as BackgroundPalette, ad as BackgroundPaletteAlias, ae as BackgroundStyleProps, af as BorderRadius, ag as BorderRadiusConfig, ah as BorderStyleProps, ai as BorderWidth, aj as BorderWidthConfig, ak as BoxShadowConfig, h as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig, ar as ButtonMotionEffect, as as ButtonMotionProperty, at as ButtonMotionPropertyConfig, au as ButtonPalette, av as ButtonPaletteColor, aw as ButtonPaletteConfig, ax as ButtonSize, ay as ButtonSizeConfig, az as ButtonSizeProperty, aA as ButtonSpectrumColor, aB as ButtonState, aC as ButtonStateConfig, aD as ButtonStateEffectConfig, aE as ButtonVariant, aF as ButtonVariantConfig, a as ColorsConfig, aI as CorePalette, aK as CustomSizingStyleProps, N as DARK_COLOR_MODE_CLASSNAME, _ as DEFAULT_COLOR_MODE_CLASSNAME, $ as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a3 as FONT_DECLARATIONS_MAP, z as FONT_FAMILY_PREFIX, D as FONT_SIZE_PREFIX, E as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontCssVar, l as FontDeclarationConfig, a_ as FontFamilyCDNUrl, a$ as FontFamilyConfig, k as FontID, b0 as FontSize, b1 as FontSizeConfig, b2 as FontType, F as FontWeightConfig, b4 as ForegroundColor, b5 as ForegroundPalette, b6 as ForegroundPaletteAlias, H as Hue, b as HueStep, a1 as ICON_BUTTON_CSS_VAR_MAP, G as ICON_SIZE_PREFIX, I as IconButtonClassMap, b8 as IconButtonClassName, ba as IconButtonDefaultsConfig, bb as IconButtonSize, bc as IconSize, bd as IconSizeConfig, be as IconVariant, bf as ImageStyleProps, V as LARGE_SCALE_MODE_CLASSNAME, O as LIGHT_COLOR_MODE_CLASSNAME, L as LINE_HEIGHT_PREFIX, bg as LayoutStyleProps, bh as LetterSpacing, bi as LineClampAlias, bj as LineColor, bk as LineHeight, bl as LineHeightConfig, bm as LinePalette, bn as LinePaletteAlias, R as MEDIUM_SCALE_MODE_CLASSNAME, J as MOTION_PREFIX, bo as Modes, bp as MotionCssVar, bq as MotionSpringConfig, n as MotionSpringConfigOptions, M as MotionVariant, g as MotionVariantSpeed, br as MotionVariantValues, bs as Overflow, a2 as PSEUDO_STYLE_SELECTOR_MAP, bt as Palette, c as PaletteConfig, P as PaletteType, bu as PaletteValue, bv as PlatformMode, bw as Position, bx as PropertyToPaletteAliasMap, Q as SMALL_SCALE_MODE_CLASSNAME, K as SPECTRUM_COLOR_PREFIX, bz as ScaleConfig, bA as ScaleEffectMap, bD as SpacingAlias, bE as SpacingConfig, bF as SpacingStyleProps, bG as SpectrumColor, bH as SpectrumConfig, bI as StateStyleProps, bJ as StyleProps, T as TEXT_TRANSFORM_PREFIX, bS as TShirtSize, bT as TShirtSizeCommon, bK as TextProperty, bL as TextStyleProps, bM as TextTransform, bN as TextTransformConfig, bO as TextVariant, bP as TransitionDelay, bQ as TransitionDuration, bR as TransitionTiming, w as UDS_PREFIX, bU as UdsCssVar, bV as UniversalAvatarProps, p as UniversalBoxProps, e as UniversalButtonProps, f as UniversalIconButtonProps, r as UniversalIconProps, s as UniversalImageProps, t as UniversalPressableProps, q as UniversalStackProps, bW as UniversalTextInputProps, u as UniversalTextProps, U as UniversalTokensConfig, W as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, Y as XXLARGE_SCALE_MODE_CLASSNAME, Z as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from '../types-
|
1
|
+
import { aq as ButtonKind, aJ as CorePaletteAlias, al as ButtonBaseConfig, B as ButtonConfig, aG as ColorModeConfig, bB as ScaleModeConfig, m as FontConfig, b9 as IconButtonConfig, o as MotionConfig, b3 as FontWeightDescriptive, d as FontWeightNumeric, aH as ColorModeForApp, bC as ScaleModeForApp, C as ColorMode, S as ScaleMode, b7 as HighContrastMode, by as RegionMode } from '../types-Bi1Q20iy.js';
|
2
|
+
export { A as AVATAR_SIZE_PREFIX, a4 as AlwaysPalette, a5 as AlwaysPaletteAlias, a6 as Animation, a7 as AriaAttribute, a8 as AvatarShape, a9 as AvatarSize, aa as AvatarSizeConfig, x as BORDER_RADIUS_PREFIX, y as BORDER_WIDTH_PREFIX, a0 as BUTTON_CSS_VAR_MAP, ab as BackgroundColor, ac as BackgroundPalette, ad as BackgroundPaletteAlias, ae as BackgroundStyleProps, af as BorderRadius, ag as BorderRadiusConfig, ah as BorderStyleProps, ai as BorderWidth, aj as BorderWidthConfig, ak as BoxShadowConfig, h as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig, ar as ButtonMotionEffect, as as ButtonMotionProperty, at as ButtonMotionPropertyConfig, au as ButtonPalette, av as ButtonPaletteColor, aw as ButtonPaletteConfig, ax as ButtonSize, ay as ButtonSizeConfig, az as ButtonSizeProperty, aA as ButtonSpectrumColor, aB as ButtonState, aC as ButtonStateConfig, aD as ButtonStateEffectConfig, aE as ButtonVariant, aF as ButtonVariantConfig, a as ColorsConfig, aI as CorePalette, aK as CustomSizingStyleProps, N as DARK_COLOR_MODE_CLASSNAME, _ as DEFAULT_COLOR_MODE_CLASSNAME, $ as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a3 as FONT_DECLARATIONS_MAP, z as FONT_FAMILY_PREFIX, D as FONT_SIZE_PREFIX, E as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontCssVar, l as FontDeclarationConfig, a_ as FontFamilyCDNUrl, a$ as FontFamilyConfig, k as FontID, b0 as FontSize, b1 as FontSizeConfig, b2 as FontType, F as FontWeightConfig, b4 as ForegroundColor, b5 as ForegroundPalette, b6 as ForegroundPaletteAlias, H as Hue, b as HueStep, a1 as ICON_BUTTON_CSS_VAR_MAP, G as ICON_SIZE_PREFIX, I as IconButtonClassMap, b8 as IconButtonClassName, ba as IconButtonDefaultsConfig, bb as IconButtonSize, bc as IconSize, bd as IconSizeConfig, be as IconVariant, bf as ImageStyleProps, V as LARGE_SCALE_MODE_CLASSNAME, O as LIGHT_COLOR_MODE_CLASSNAME, L as LINE_HEIGHT_PREFIX, bg as LayoutStyleProps, bh as LetterSpacing, bi as LineClampAlias, bj as LineColor, bk as LineHeight, bl as LineHeightConfig, bm as LinePalette, bn as LinePaletteAlias, R as MEDIUM_SCALE_MODE_CLASSNAME, J as MOTION_PREFIX, bo as Modes, bp as MotionCssVar, bq as MotionSpringConfig, n as MotionSpringConfigOptions, M as MotionVariant, g as MotionVariantSpeed, br as MotionVariantValues, bs as Overflow, a2 as PSEUDO_STYLE_SELECTOR_MAP, bt as Palette, c as PaletteConfig, P as PaletteType, bu as PaletteValue, bv as PlatformMode, bw as Position, bx as PropertyToPaletteAliasMap, Q as SMALL_SCALE_MODE_CLASSNAME, K as SPECTRUM_COLOR_PREFIX, bz as ScaleConfig, bA as ScaleEffectMap, bD as SpacingAlias, bE as SpacingConfig, bF as SpacingStyleProps, bG as SpectrumColor, bH as SpectrumConfig, bI as StateStyleProps, bJ as StyleProps, T as TEXT_TRANSFORM_PREFIX, bS as TShirtSize, bT as TShirtSizeCommon, bK as TextProperty, bL as TextStyleProps, bM as TextTransform, bN as TextTransformConfig, bO as TextVariant, bP as TransitionDelay, bQ as TransitionDuration, bR as TransitionTiming, w as UDS_PREFIX, bU as UdsCssVar, bV as UniversalAvatarProps, p as UniversalBoxProps, e as UniversalButtonProps, f as UniversalIconButtonProps, r as UniversalIconProps, s as UniversalImageProps, t as UniversalPressableProps, q as UniversalStackProps, bW as UniversalTextInputProps, u as UniversalTextProps, U as UniversalTokensConfig, W as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, Y as XXLARGE_SCALE_MODE_CLASSNAME, Z as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from '../types-Bi1Q20iy.js';
|
3
3
|
import 'framer-motion';
|
4
4
|
import 'react';
|
5
5
|
|
package/dist/tokens/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,defaultTokensConfig,fromEntries,generateConfigCombinations,getDefaultButtonBaseMap}from"../chunk-
|
1
|
+
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,defaultTokensConfig,fromEntries,generateConfigCombinations,getDefaultButtonBaseMap}from"../chunk-N4DCBD5Z.js";export{entries,fontWeightMap,mapValues}from"../chunk-UMOO6CJW.js";export{variants}from"../chunk-ZL6ABLCA.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-JPWL2FQ4.js";
|
@@ -1,3 +1,3 @@
|
|
1
1
|
"use strict";var e=["none","custom","lighten","darken"],t=["none","custom"],a=["none","up","down"],l={hover:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"down",options:a}}},o={hover:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"down",options:a}}},r={hover:{backgroundColor:{value:"lighten",options:["none","custom","lighten"]},borderColor:{value:"none",options:t},color:{value:"none",options:["none","custom","lighten"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"lighten",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:e},scale:{value:"down",options:a}}};function n(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none"}}function p(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none"}}function s(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none"}}var i={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"2",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"4",spacingVertical:"3",gap:"2",iconSize:"md",textVariant:"label1"},lg:{spacingHorizontal:"5",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"label1"}},palette:{accent:{primary:{kind:"fill",effect:l,base:n("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:o,base:p("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"}}}},tertiary:{kind:"ghost",effect:r,base:s("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}}}}},brand:{primary:{kind:"fill",effect:l,base:n("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:o,base:p("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"}}}},tertiary:{kind:"ghost",effect:r,base:s("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}}}}},alert:{primary:{kind:"fill",effect:l,base:n("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:o,base:p("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"}}}},tertiary:{kind:"ghost",effect:r,base:s("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}}}}},positive:{primary:{kind:"fill",effect:l,base:n("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:o,base:p("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"}}}},tertiary:{kind:"ghost",effect:r,base:s("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}}}}},warning:{primary:{kind:"fill",effect:l,base:n("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:o,base:p("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"}}}},tertiary:{kind:"ghost",effect:r,base:s("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}}}}}}},u={light:{palette:{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"}},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"}}},spectrum:{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:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"125 46 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",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:"122 122 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:"75 133 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:"109 110 255",7:"93 94 255",8:"64 64 227",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"}}},dark:{palette:{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"}},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"}}},spectrum:{blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 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",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},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"}}}},d={defaults:i.defaults,size:{xs:{spacing:"1",iconSize:"sm"},sm:{spacing:i.size.sm.spacingVertical,iconSize:i.size.sm.iconSize},md:{spacing:i.size.md.spacingVertical,iconSize:i.size.md.iconSize},lg:{spacing:i.size.lg.spacingVertical,iconSize:i.size.lg.iconSize},xl:{spacing:"4",iconSize:"lg"}}},c={sm:16,md:24,lg:32},y={sm:16,md:24,lg:32},g={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},b={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},v={display1:"uppercase",display2:"none",display3:"none",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,display2:37,display3:33,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,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},f={fontSize:{display1:46,display2:38,display3:34,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}},h={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...f.lineHeight,title2:36,title3:32}},C={fontSize:{...h.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...h.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},k={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...C.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},z={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...k.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},w={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...z.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}},x={fontFamily:g,fontWeight:b,textTransform:v,avatarSizes:y,iconSizes:c,borderRadius:{none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:2}},S={fontFamily:g,fontWeight:b,textTransform:v,avatarSizes:y,iconSizes:c,borderRadius:{none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:4}},H={colorMode:u,scaleMode:{xSmall:{...x,...m},small:{...x,...f},medium:{...x,...h},large:{...S,...C},xLarge:{...S,...k},xxLarge:{...S,...z},xxxLarge:{...S,...w}},font:{sans:"yahoo-sans-cr4","sans-alt":"yahoo-sans-condensed",serif:"yahoo-serif-display","serif-alt":"yahoo-serif-text",mono:"roboto-mono"},button:i,iconButton:d,version:"v0.0.0",motion:{damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}}};
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v0.0.
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v0.0.14 */
|
3
3
|
exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.defaultTokensConfig=H,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { aH as ColorModeConfig, bF as ScaleModeConfig, aZ as FontConfig, f as ButtonConfig, I as IconButtonConfig, u as MotionConfig, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, k as ColorModeForApp, S as ScaleModeForApp, l as ColorMode, m as ScaleMode, b8 as HighContrastMode, bC as RegionMode } from '../types-
|
2
|
-
export { a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, A as AvatarSizeConfig, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, q as BorderRadiusConfig, ai as BorderStyleProps, aj as BorderWidth, r as BorderWidthConfig, ak as BoxShadowConfig, e as ButtonBaseConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, B as ButtonKind, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aI as ColorsConfig, aJ as CorePalette, C as CorePaletteAlias, aK as CustomSizingStyleProps, aL as DataAttribute, aM as Display, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, a_ as FontCssVar, a$ as FontFamilyCDNUrl, F as FontFamilyConfig, b0 as FontID, b1 as FontSize, s as FontSizeConfig, b2 as FontType, t as FontWeightConfig, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b9 as Hue, ba as HueStep, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, p as IconSizeConfig, bg as IconVariant, bh as ImageStyleProps, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, L as LineHeightConfig, bn as LinePalette, bo as LinePaletteAlias, M as Modes, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, bw as Palette, P as PaletteConfig, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bD as ScaleConfig, bE as ScaleEffectMap, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, o as StyleProps, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, T as TextTransformConfig, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, bV as UdsCssVar, U as UniversalAvatarProps, g as UniversalBoxProps, a as UniversalButtonProps, c as UniversalIconButtonProps, j as UniversalIconProps, d as UniversalImageProps, b as UniversalPressableProps, h as UniversalStackProps, bW as UniversalTextInputProps, i as UniversalTextProps, n as UniversalTokensConfig, v as alwaysPalette } from '../types-
|
1
|
+
import { aH as ColorModeConfig, bF as ScaleModeConfig, aZ as FontConfig, f as ButtonConfig, I as IconButtonConfig, u as MotionConfig, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, k as ColorModeForApp, S as ScaleModeForApp, l as ColorMode, m as ScaleMode, b8 as HighContrastMode, bC as RegionMode } from '../types-C4OR1S9X.cjs';
|
2
|
+
export { a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, A as AvatarSizeConfig, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, q as BorderRadiusConfig, ai as BorderStyleProps, aj as BorderWidth, r as BorderWidthConfig, ak as BoxShadowConfig, e as ButtonBaseConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, B as ButtonKind, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aI as ColorsConfig, aJ as CorePalette, C as CorePaletteAlias, aK as CustomSizingStyleProps, aL as DataAttribute, aM as Display, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, a_ as FontCssVar, a$ as FontFamilyCDNUrl, F as FontFamilyConfig, b0 as FontID, b1 as FontSize, s as FontSizeConfig, b2 as FontType, t as FontWeightConfig, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b9 as Hue, ba as HueStep, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, p as IconSizeConfig, bg as IconVariant, bh as ImageStyleProps, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, L as LineHeightConfig, bn as LinePalette, bo as LinePaletteAlias, M as Modes, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, bw as Palette, P as PaletteConfig, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bD as ScaleConfig, bE as ScaleEffectMap, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, o as StyleProps, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, T as TextTransformConfig, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, bV as UdsCssVar, U as UniversalAvatarProps, g as UniversalBoxProps, a as UniversalButtonProps, c as UniversalIconButtonProps, j as UniversalIconProps, d as UniversalImageProps, b as UniversalPressableProps, h as UniversalStackProps, bW as UniversalTextInputProps, i as UniversalTextProps, n as UniversalTokensConfig, v as alwaysPalette } from '../types-C4OR1S9X.cjs';
|
3
3
|
import 'framer-motion';
|
4
4
|
import 'react';
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { aH as ColorModeConfig, bF as ScaleModeConfig, aZ as FontConfig, f as ButtonConfig, I as IconButtonConfig, u as MotionConfig, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, k as ColorModeForApp, S as ScaleModeForApp, l as ColorMode, m as ScaleMode, b8 as HighContrastMode, bC as RegionMode } from '../types-
|
2
|
-
export { a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, A as AvatarSizeConfig, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, q as BorderRadiusConfig, ai as BorderStyleProps, aj as BorderWidth, r as BorderWidthConfig, ak as BoxShadowConfig, e as ButtonBaseConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, B as ButtonKind, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aI as ColorsConfig, aJ as CorePalette, C as CorePaletteAlias, aK as CustomSizingStyleProps, aL as DataAttribute, aM as Display, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, a_ as FontCssVar, a$ as FontFamilyCDNUrl, F as FontFamilyConfig, b0 as FontID, b1 as FontSize, s as FontSizeConfig, b2 as FontType, t as FontWeightConfig, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b9 as Hue, ba as HueStep, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, p as IconSizeConfig, bg as IconVariant, bh as ImageStyleProps, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, L as LineHeightConfig, bn as LinePalette, bo as LinePaletteAlias, M as Modes, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, bw as Palette, P as PaletteConfig, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bD as ScaleConfig, bE as ScaleEffectMap, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, o as StyleProps, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, T as TextTransformConfig, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, bV as UdsCssVar, U as UniversalAvatarProps, g as UniversalBoxProps, a as UniversalButtonProps, c as UniversalIconButtonProps, j as UniversalIconProps, d as UniversalImageProps, b as UniversalPressableProps, h as UniversalStackProps, bW as UniversalTextInputProps, i as UniversalTextProps, n as UniversalTokensConfig, v as alwaysPalette } from '../types-
|
1
|
+
import { aH as ColorModeConfig, bF as ScaleModeConfig, aZ as FontConfig, f as ButtonConfig, I as IconButtonConfig, u as MotionConfig, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, k as ColorModeForApp, S as ScaleModeForApp, l as ColorMode, m as ScaleMode, b8 as HighContrastMode, bC as RegionMode } from '../types-C4OR1S9X.js';
|
2
|
+
export { a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, A as AvatarSizeConfig, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, q as BorderRadiusConfig, ai as BorderStyleProps, aj as BorderWidth, r as BorderWidthConfig, ak as BoxShadowConfig, e as ButtonBaseConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, B as ButtonKind, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aI as ColorsConfig, aJ as CorePalette, C as CorePaletteAlias, aK as CustomSizingStyleProps, aL as DataAttribute, aM as Display, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, a_ as FontCssVar, a$ as FontFamilyCDNUrl, F as FontFamilyConfig, b0 as FontID, b1 as FontSize, s as FontSizeConfig, b2 as FontType, t as FontWeightConfig, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b9 as Hue, ba as HueStep, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, p as IconSizeConfig, bg as IconVariant, bh as ImageStyleProps, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, L as LineHeightConfig, bn as LinePalette, bo as LinePaletteAlias, M as Modes, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, bw as Palette, P as PaletteConfig, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bD as ScaleConfig, bE as ScaleEffectMap, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, o as StyleProps, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, T as TextTransformConfig, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, bV as UdsCssVar, U as UniversalAvatarProps, g as UniversalBoxProps, a as UniversalButtonProps, c as UniversalIconButtonProps, j as UniversalIconProps, d as UniversalImageProps, b as UniversalPressableProps, h as UniversalStackProps, bW as UniversalTextInputProps, i as UniversalTextProps, n as UniversalTokensConfig, v as alwaysPalette } from '../types-C4OR1S9X.js';
|
3
3
|
import 'framer-motion';
|
4
4
|
import 'react';
|
5
5
|
|