@yahoo/uds 3.57.0 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DFZT2E6V.js → chunk-3PWGILBM.js} +1 -1
- package/dist/{chunk-XENBSQRE.cjs → chunk-5OLE7Z4Z.cjs} +1 -1
- package/dist/{chunk-JM5D5YOY.js → chunk-DVDXLKAY.js} +1 -1
- package/dist/{chunk-M7FRU44L.cjs → chunk-DVSFYT3E.cjs} +1 -1
- package/dist/{chunk-N52EAOOT.cjs → chunk-EEJ6UJIT.cjs} +1 -1
- package/dist/{chunk-5KIVHYCK.js → chunk-JSIXVRYN.js} +1 -1
- package/dist/{chunk-P7WL2PMJ.js → chunk-LWCJEX2R.js} +1 -1
- package/dist/{chunk-FREQX5KF.cjs → chunk-NDIFKQVR.cjs} +1 -1
- package/dist/{chunk-65GK2EDI.js → chunk-QGB63HSS.js} +1 -1
- package/dist/{chunk-WJWKTJQO.cjs → chunk-YZTC6645.cjs} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +3429 -3429
- package/dist/defaultTokensConfig.d.ts +3429 -3429
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.js +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/Box-CZiBJY-U.d.ts +0 -34
- package/dist/Box-L9TrtxY6.d.cts +0 -34
- package/dist/Pressable-Bzvs31vV.d.cts +0 -44
- package/dist/Pressable-CrGdyngS.d.ts +0 -44
- package/dist/Text-CTWa1DHn.d.cts +0 -88
- package/dist/Text-cfrk-aSz.d.ts +0 -88
- package/dist/VStack-APl_ya0J.d.ts +0 -83
- package/dist/VStack-DasFpGHh.d.cts +0 -83
- package/dist/chunk-2XRSELDC.js +0 -2
- package/dist/chunk-36MV47H5.js +0 -2
- package/dist/chunk-4BTEHROM.js +0 -1
- package/dist/chunk-4SC4SIU5.js +0 -3
- package/dist/chunk-6VT7WO2X.cjs +0 -1
- package/dist/chunk-AZMUJFU3.cjs +0 -1
- package/dist/chunk-CYRKBBC3.js +0 -2
- package/dist/chunk-EFMLB2DR.js +0 -2
- package/dist/chunk-EU3BY2KO.cjs +0 -1
- package/dist/chunk-FCXWYEW2.cjs +0 -2
- package/dist/chunk-HCDOGKOT.cjs +0 -2
- package/dist/chunk-HKJZSITK.cjs +0 -2
- package/dist/chunk-RKNDMKGD.js +0 -2
- package/dist/chunk-RVMYARFX.js +0 -2
- package/dist/chunk-TWSJ5YSB.js +0 -1
- package/dist/chunk-TZYU57BN.cjs +0 -1
- package/dist/chunk-WZLHHSB6.cjs +0 -1
- package/dist/chunk-ZVDMYSXF.cjs +0 -1
- package/dist/index-DvgJJnbq.d.ts +0 -243
- package/dist/index-jFh7u5rS.d.cts +0 -243
- package/dist/types-BAsHl1tU.d.cts +0 -10609
- package/dist/types-BAsHl1tU.d.ts +0 -10609
- /package/dist/{chunk-AHOWBDMO.cjs → chunk-3L7M764C.cjs} +0 -0
- /package/dist/{chunk-TBKJVNN7.js → chunk-IUBD43EI.js} +0 -0
package/dist/chunk-CYRKBBC3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Box as r}from"./chunk-4SC4SIU5.js";import{require_isFunction as e}from"./chunk-2XRSELDC.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{forwardRef as o,Children as a,cloneElement as n,isValidElement as c}from"react";import{jsx as p}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var i=t(e(),1),l=(r,e)=>((r,e)=>{const t=(0,i.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(a.toArray(r),r=>{const t=(0,i.default)(e)?e(r):e;return c(t)?n(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),m=o(function({gap:e,children:t,separator:o,...a},n){return p(r,{ref:n,flexDirection:"row",rowGap:e,columnGap:e,...a,children:o?l(t,o):t})});m.displayName="HStack";var u=o(function({gap:e,children:t,separator:o,...a},n){return p(r,{ref:n,flexDirection:"column",columnGap:e,rowGap:e,...a,children:o?l(t,o):t})});u.displayName="VStack";export{m as HStack,u as VStack};
|
package/dist/chunk-EFMLB2DR.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getMotionVar as a}from"./chunk-DETLKOCI.js";import{FONT_DECLARATIONS_MAP as o,fromEntries as r}from"./chunk-36MV47H5.js";import{entries as n}from"./chunk-EWJ3J526.js";import{FONT_FAMILY_PREFIX as t,UDS_PREFIX as e}from"./chunk-PM4TFP3I.js";import s from"tailwindcss/plugin.js";import{motionSpringConfigOptions as i}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function d(a,{addBase:o}){const r=u(a);for(const a of r)o({"@font-face":a})}var c=s.withOptions(function({fontIds:a}){return function({addBase:o}){d(a,{addBase:o})}});function l(a){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...a.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...a.colorMode.dark._vars}}}function u(a){return a.flatMap(a=>{const{declarations:r,fontFamily:n}=o[a];return r.map(a=>({fontFamily:n,fontDisplay:"swap",...a}))})}function f(a){return`"${a}"`}function m(a){return r(n(a).map(([a,r])=>{const n=`--${t}-${a}`,e=o[r];return[n,[e.fontFamily,...e.fallback].map(f).join(", ")]}))}function p(o){const t=n(o).flatMap(([o,r])=>n(r).flatMap(([r,n])=>i.map(t=>[a({variant:o,speed:r,control:t}),`${n[t]}`])));return r(t)}function h(a){return{...a.borderRadius._vars,...a.borderWidth._vars,...a.avatarSizes._vars,...a.iconSizes._vars}}function g(a){return{xSmall:h(a.scaleMode.xSmall),small:h(a.scaleMode.small),medium:h(a.scaleMode.medium),large:h(a.scaleMode.large),xLarge:h(a.scaleMode.xLarge),xxLarge:h(a.scaleMode.xxLarge),xxxLarge:h(a.scaleMode.xxxLarge)}}function w({config:a,shadowType:o}){const t=a.shadow[o],s=n(t).map(([a])=>[`.uds-${o}-shadow-${a}`,{[`--uds-${o}-shadow`]:`var(--${e}-${o}-shadow-${a})`,boxShadow:`var(--${e}-drop-shadow, 0 0 transparent), var(--${e}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return r(s)}export{d as addFontFaceDeclarations,c as addFontsPlugin,l as getColorModeStyles,u as getFontFaceDeclarations,m as getFontStyles,p as getMotionStyles,g as getScaleModeStyles,w as getShadowStyles};
|
package/dist/chunk-EU3BY2KO.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-J7PUOUXC.cjs"),t=require("./chunk-6VT7WO2X.cjs"),o=require("./chunk-LNZSNDOV.cjs"),r=require("./chunk-QLXJH36U.cjs"),a=require("@yahoo/uds/fixtures"),n=r.__commonJS({"../../node_modules/lodash/isString.js"(e,o){var r=t.require_baseGetTag(),a=t.require_isArray(),n=t.require_isObjectLike();o.exports=function(e){return"string"==typeof e||!a(e)&&n(e)&&"[object String]"==r(e)}}}),s=r.__commonJS({"../../node_modules/lodash/lowerCase.js"(e,o){var r=t.require_createCompounder()(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()});o.exports=r}}),l=r.__commonJS({"../../node_modules/lodash/_listCacheClear.js"(e,t){t.exports=function(){this.__data__=[],this.size=0}}}),i=r.__commonJS({"../../node_modules/lodash/eq.js"(e,t){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}),u=r.__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var o=i();t.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}}}),c=r.__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var o=u(),r=Array.prototype.splice;t.exports=function(e){var t=this.__data__,a=o(t,e);return!(a<0)&&(a==t.length-1?t.pop():r.call(t,a,1),--this.size,!0)}}}),p=r.__commonJS({"../../node_modules/lodash/_listCacheGet.js"(e,t){var o=u();t.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}}}),f=r.__commonJS({"../../node_modules/lodash/_listCacheHas.js"(e,t){var o=u();t.exports=function(e){return o(this.__data__,e)>-1}}}),d=r.__commonJS({"../../node_modules/lodash/_listCacheSet.js"(e,t){var o=u();t.exports=function(e,t){var r=this.__data__,a=o(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}}}),m=r.__commonJS({"../../node_modules/lodash/_ListCache.js"(e,t){var o=l(),r=c(),a=p(),n=f(),s=d();function i(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}i.prototype.clear=o,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=n,i.prototype.set=s,t.exports=i}}),v=r.__commonJS({"../../node_modules/lodash/_stackClear.js"(e,t){var o=m();t.exports=function(){this.__data__=new o,this.size=0}}}),y=r.__commonJS({"../../node_modules/lodash/_stackDelete.js"(e,t){t.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}}}),h=r.__commonJS({"../../node_modules/lodash/_stackGet.js"(e,t){t.exports=function(e){return this.__data__.get(e)}}}),_=r.__commonJS({"../../node_modules/lodash/_stackHas.js"(e,t){t.exports=function(e){return this.__data__.has(e)}}}),b=r.__commonJS({"../../node_modules/lodash/_nativeCreate.js"(e,o){var r=t.require_getNative()(Object,"create");o.exports=r}}),g=r.__commonJS({"../../node_modules/lodash/_hashClear.js"(e,t){var o=b();t.exports=function(){this.__data__=o?o(null):{},this.size=0}}}),S=r.__commonJS({"../../node_modules/lodash/_hashDelete.js"(e,t){t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}}),w=r.__commonJS({"../../node_modules/lodash/_hashGet.js"(e,t){var o=b(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(o){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(t,e)?t[e]:void 0}}}),x=r.__commonJS({"../../node_modules/lodash/_hashHas.js"(e,t){var o=b(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}}}),j=r.__commonJS({"../../node_modules/lodash/_hashSet.js"(e,t){var o=b();t.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}}}),C=r.__commonJS({"../../node_modules/lodash/_Hash.js"(e,t){var o=g(),r=S(),a=w(),n=x(),s=j();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),$=r.__commonJS({"../../node_modules/lodash/_mapCacheClear.js"(e,o){var r=C(),a=m(),n=t.require_Map();o.exports=function(){this.size=0,this.__data__={hash:new r,map:new(n||a),string:new r}}}}),P=r.__commonJS({"../../node_modules/lodash/_isKeyable.js"(e,t){t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}}),O=r.__commonJS({"../../node_modules/lodash/_getMapData.js"(e,t){var o=P();t.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}}}),k=r.__commonJS({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var o=O();t.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}}}),T=r.__commonJS({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var o=O();t.exports=function(e){return o(this,e).get(e)}}}),W=r.__commonJS({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var o=O();t.exports=function(e){return o(this,e).has(e)}}}),A=r.__commonJS({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var o=O();t.exports=function(e,t){var r=o(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}}}),F=r.__commonJS({"../../node_modules/lodash/_MapCache.js"(e,t){var o=$(),r=k(),a=T(),n=W(),s=A();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),V=r.__commonJS({"../../node_modules/lodash/_stackSet.js"(e,o){var r=m(),a=t.require_Map(),n=F();o.exports=function(e,t){var o=this.__data__;if(o instanceof r){var s=o.__data__;if(!a||s.length<199)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new n(s)}return o.set(e,t),this.size=o.size,this}}}),E=r.__commonJS({"../../node_modules/lodash/_Stack.js"(e,t){var o=m(),r=v(),a=y(),n=h(),s=_(),l=V();function i(e){var t=this.__data__=new o(e);this.size=t.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,t.exports=i}}),J=r.__commonJS({"../../node_modules/lodash/_defineProperty.js"(e,o){var r=t.require_getNative(),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();o.exports=a}}),N=r.__commonJS({"../../node_modules/lodash/_baseAssignValue.js"(e,t){var o=J();t.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}),M=r.__commonJS({"../../node_modules/lodash/_assignMergeValue.js"(e,t){var o=N(),r=i();t.exports=function(e,t,a){(void 0!==a&&!r(e[t],a)||void 0===a&&!(t in e))&&o(e,t,a)}}}),I=r.__commonJS({"../../node_modules/lodash/_createBaseFor.js"(e,t){t.exports=function(e){return function(t,o,r){for(var a=-1,n=Object(t),s=r(t),l=s.length;l--;){var i=s[e?l:++a];if(!1===o(n[i],i,n))break}return t}}}}),R=r.__commonJS({"../../node_modules/lodash/_baseFor.js"(e,t){var o=I()();t.exports=o}}),q=r.__commonJS({"../../node_modules/lodash/_cloneBuffer.js"(e,o){var r=t.require_root(),a="object"==typeof e&&e&&!e.nodeType&&e,n=a&&"object"==typeof o&&o&&!o.nodeType&&o,s=n&&n.exports===a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;o.exports=function(e,t){if(t)return e.slice();var o=e.length,r=l?l(o):new e.constructor(o);return e.copy(r),r}}}),L=r.__commonJS({"../../node_modules/lodash/_Uint8Array.js"(e,o){var r=t.require_root().Uint8Array;o.exports=r}}),X=r.__commonJS({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,t){var o=L();t.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}}}),D=r.__commonJS({"../../node_modules/lodash/_cloneTypedArray.js"(e,t){var o=X();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),K=r.__commonJS({"../../node_modules/lodash/_copyArray.js"(e,t){t.exports=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}}}),z=r.__commonJS({"../../node_modules/lodash/_baseCreate.js"(e,o){var r=t.require_isObject(),a=Object.create,n=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();o.exports=n}}),Y=r.__commonJS({"../../node_modules/lodash/_getPrototype.js"(e,o){var r=t.require_overArg()(Object.getPrototypeOf,Object);o.exports=r}}),B=r.__commonJS({"../../node_modules/lodash/_initCloneObject.js"(e,o){var r=z(),a=Y(),n=t.require_isPrototype();o.exports=function(e){return"function"!=typeof e.constructor||n(e)?{}:r(a(e))}}}),H=r.__commonJS({"../../node_modules/lodash/isArrayLikeObject.js"(e,o){var r=t.require_isArrayLike(),a=t.require_isObjectLike();o.exports=function(e){return a(e)&&r(e)}}}),U=r.__commonJS({"../../node_modules/lodash/isPlainObject.js"(e,o){var r=t.require_baseGetTag(),a=Y(),n=t.require_isObjectLike(),s=Function.prototype,l=Object.prototype,i=s.toString,u=l.hasOwnProperty,c=i.call(Object);o.exports=function(e){if(!n(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var o=u.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&i.call(o)==c}}}),G=r.__commonJS({"../../node_modules/lodash/_safeGet.js"(e,t){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}),Z=r.__commonJS({"../../node_modules/lodash/_assignValue.js"(e,t){var o=N(),r=i(),a=Object.prototype.hasOwnProperty;t.exports=function(e,t,n){var s=e[t];a.call(e,t)&&r(s,n)&&(void 0!==n||t in e)||o(e,t,n)}}}),Q=r.__commonJS({"../../node_modules/lodash/_copyObject.js"(e,t){var o=Z(),r=N();t.exports=function(e,t,a,n){var s=!a;a||(a={});for(var l=-1,i=t.length;++l<i;){var u=t[l],c=n?n(a[u],e[u],u,a,e):void 0;void 0===c&&(c=e[u]),s?r(a,u,c):o(a,u,c)}return a}}}),ee=r.__commonJS({"../../node_modules/lodash/_baseTimes.js"(e,t){t.exports=function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}}}),te=r.__commonJS({"../../node_modules/lodash/_isIndex.js"(e,t){var o=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e<t}}}),oe=r.__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(e,o){var r=ee(),a=t.require_isArguments(),n=t.require_isArray(),s=t.require_isBuffer(),l=te(),i=t.require_isTypedArray(),u=Object.prototype.hasOwnProperty;o.exports=function(e,t){var o=n(e),c=!o&&a(e),p=!o&&!c&&s(e),f=!o&&!c&&!p&&i(e),d=o||c||p||f,m=d?r(e.length,String):[],v=m.length;for(var y in e)!t&&!u.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,v))||m.push(y);return m}}}),re=r.__commonJS({"../../node_modules/lodash/_nativeKeysIn.js"(e,t){t.exports=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}}}),ae=r.__commonJS({"../../node_modules/lodash/_baseKeysIn.js"(e,o){var r=t.require_isObject(),a=t.require_isPrototype(),n=re(),s=Object.prototype.hasOwnProperty;o.exports=function(e){if(!r(e))return n(e);var t=a(e),o=[];for(var l in e)("constructor"!=l||!t&&s.call(e,l))&&o.push(l);return o}}}),ne=r.__commonJS({"../../node_modules/lodash/keysIn.js"(e,o){var r=oe(),a=ae(),n=t.require_isArrayLike();o.exports=function(e){return n(e)?r(e,!0):a(e)}}}),se=r.__commonJS({"../../node_modules/lodash/toPlainObject.js"(e,t){var o=Q(),r=ne();t.exports=function(e){return o(e,r(e))}}}),le=r.__commonJS({"../../node_modules/lodash/_baseMergeDeep.js"(e,o){var r=M(),a=q(),n=D(),s=K(),l=B(),i=t.require_isArguments(),u=t.require_isArray(),c=H(),p=t.require_isBuffer(),f=t.require_isFunction(),d=t.require_isObject(),m=U(),v=t.require_isTypedArray(),y=G(),h=se();o.exports=function(e,t,o,_,b,g,S){var w=y(e,o),x=y(t,o),j=S.get(x);if(j)r(e,o,j);else{var C=g?g(w,x,o+"",e,t,S):void 0,$=void 0===C;if($){var P=u(x),O=!P&&p(x),k=!P&&!O&&v(x);C=x,P||O||k?u(w)?C=w:c(w)?C=s(w):O?($=!1,C=a(x,!0)):k?($=!1,C=n(x,!0)):C=[]:m(x)||i(x)?(C=w,i(w)?C=h(w):d(w)&&!f(w)||(C=l(x))):$=!1}$&&(S.set(x,C),b(C,x,_,g,S),S.delete(x)),r(e,o,C)}}}}),ie=r.__commonJS({"../../node_modules/lodash/_baseMerge.js"(e,o){var r=E(),a=M(),n=R(),s=le(),l=t.require_isObject(),i=ne(),u=G();o.exports=function e(t,o,c,p,f){t!==o&&n(o,function(n,i){if(f||(f=new r),l(n))s(t,o,i,c,e,p,f);else{var d=p?p(u(t,i),n,i+"",t,o,f):void 0;void 0===d&&(d=n),a(t,i,d)}},i)}}}),ue=r.__commonJS({"../../node_modules/lodash/identity.js"(e,t){t.exports=function(e){return e}}}),ce=r.__commonJS({"../../node_modules/lodash/_apply.js"(e,t){t.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}}}),pe=r.__commonJS({"../../node_modules/lodash/_overRest.js"(e,t){var o=ce(),r=Math.max;t.exports=function(e,t,a){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,s=-1,l=r(n.length-t,0),i=Array(l);++s<l;)i[s]=n[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=n[s];return u[t]=a(i),o(e,this,u)}}}}),fe=r.__commonJS({"../../node_modules/lodash/constant.js"(e,t){t.exports=function(e){return function(){return e}}}}),de=r.__commonJS({"../../node_modules/lodash/_baseSetToString.js"(e,t){var o=fe(),r=J(),a=ue(),n=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;t.exports=n}}),me=r.__commonJS({"../../node_modules/lodash/_shortOut.js"(e,t){var o=Date.now;t.exports=function(e){var t=0,r=0;return function(){var a=o(),n=16-(a-r);if(r=a,n>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}}}),ve=r.__commonJS({"../../node_modules/lodash/_setToString.js"(e,t){var o=de(),r=me()(o);t.exports=r}}),ye=r.__commonJS({"../../node_modules/lodash/_baseRest.js"(e,t){var o=ue(),r=pe(),a=ve();t.exports=function(e,t){return a(r(e,t,o),e+"")}}}),he=r.__commonJS({"../../node_modules/lodash/_isIterateeCall.js"(e,o){var r=i(),a=t.require_isArrayLike(),n=te(),s=t.require_isObject();o.exports=function(e,t,o){if(!s(o))return!1;var l=typeof t;return!!("number"==l?a(o)&&n(t,o.length):"string"==l&&t in o)&&r(o[t],e)}}}),_e=r.__commonJS({"../../node_modules/lodash/_createAssigner.js"(e,t){var o=ye(),r=he();t.exports=function(e){return o(function(t,o){var a=-1,n=o.length,s=n>1?o[n-1]:void 0,l=n>2?o[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(o[0],o[1],l)&&(s=n<3?void 0:s,n=1),t=Object(t);++a<n;){var i=o[a];i&&e(t,i,a,s)}return t})}}}),be=r.__commonJS({"../../node_modules/lodash/mergeWith.js"(e,t){var o=ie(),r=_e()(function(e,t,r,a){o(e,t,r,a)});t.exports=r}}),ge=r.__commonJS({"../../node_modules/lodash/_baseToPairs.js"(e,o){var r=t.require_arrayMap();o.exports=function(e,t){return r(t,function(t){return[t,e[t]]})}}}),Se=r.__commonJS({"../../node_modules/lodash/_mapToArray.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e,r){o[++t]=[r,e]}),o}}}),we=r.__commonJS({"../../node_modules/lodash/_setToPairs.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e){o[++t]=[e,e]}),o}}}),xe=r.__commonJS({"../../node_modules/lodash/_createToPairs.js"(e,o){var r=ge(),a=t.require_getTag(),n=Se(),s=we();o.exports=function(e){return function(t){var o=a(t);return"[object Map]"==o?n(t):"[object Set]"==o?s(t):r(t,e(t))}}}}),je=r.__commonJS({"../../node_modules/lodash/keys.js"(e,o){var r=oe(),a=t.require_baseKeys(),n=t.require_isArrayLike();o.exports=function(e){return n(e)?r(e):a(e)}}}),Ce=r.__commonJS({"../../node_modules/lodash/toPairs.js"(e,t){var o=xe()(je());t.exports=o}}),$e=r.__commonJS({"../../node_modules/lodash/entries.js"(e,t){t.exports=Ce()}}),Pe=r.__commonJS({"../../node_modules/lodash/_arrayEach.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length;++o<r&&!1!==t(e[o],o,e););return e}}}),Oe=r.__commonJS({"../../node_modules/lodash/_baseAssign.js"(e,t){var o=Q(),r=je();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),ke=r.__commonJS({"../../node_modules/lodash/_baseAssignIn.js"(e,t){var o=Q(),r=ne();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),Te=r.__commonJS({"../../node_modules/lodash/_arrayFilter.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length,a=0,n=[];++o<r;){var s=e[o];t(s,o,e)&&(n[a++]=s)}return n}}}),We=r.__commonJS({"../../node_modules/lodash/stubArray.js"(e,t){t.exports=function(){return[]}}}),Ae=r.__commonJS({"../../node_modules/lodash/_getSymbols.js"(e,t){var o=Te(),r=We(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),o(n(e),function(t){return a.call(e,t)}))}:r;t.exports=s}}),Fe=r.__commonJS({"../../node_modules/lodash/_copySymbols.js"(e,t){var o=Q(),r=Ae();t.exports=function(e,t){return o(e,r(e),t)}}}),Ve=r.__commonJS({"../../node_modules/lodash/_arrayPush.js"(e,t){t.exports=function(e,t){for(var o=-1,r=t.length,a=e.length;++o<r;)e[a+o]=t[o];return e}}}),Ee=r.__commonJS({"../../node_modules/lodash/_getSymbolsIn.js"(e,t){var o=Ve(),r=Y(),a=Ae(),n=We(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,a(e)),e=r(e);return t}:n;t.exports=s}}),Je=r.__commonJS({"../../node_modules/lodash/_copySymbolsIn.js"(e,t){var o=Q(),r=Ee();t.exports=function(e,t){return o(e,r(e),t)}}}),Ne=r.__commonJS({"../../node_modules/lodash/_baseGetAllKeys.js"(e,o){var r=Ve(),a=t.require_isArray();o.exports=function(e,t,o){var n=t(e);return a(e)?n:r(n,o(e))}}}),Me=r.__commonJS({"../../node_modules/lodash/_getAllKeys.js"(e,t){var o=Ne(),r=Ae(),a=je();t.exports=function(e){return o(e,a,r)}}}),Ie=r.__commonJS({"../../node_modules/lodash/_getAllKeysIn.js"(e,t){var o=Ne(),r=Ee(),a=ne();t.exports=function(e){return o(e,a,r)}}}),Re=r.__commonJS({"../../node_modules/lodash/_initCloneArray.js"(e,t){var o=Object.prototype.hasOwnProperty;t.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),qe=r.__commonJS({"../../node_modules/lodash/_cloneDataView.js"(e,t){var o=X();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),Le=r.__commonJS({"../../node_modules/lodash/_cloneRegExp.js"(e,t){var o=/\w*$/;t.exports=function(e){var t=new e.constructor(e.source,o.exec(e));return t.lastIndex=e.lastIndex,t}}}),Xe=r.__commonJS({"../../node_modules/lodash/_cloneSymbol.js"(e,o){var r=t.require_Symbol(),a=r?r.prototype:void 0,n=a?a.valueOf:void 0;o.exports=function(e){return n?Object(n.call(e)):{}}}}),De=r.__commonJS({"../../node_modules/lodash/_initCloneByTag.js"(e,t){var o=X(),r=qe(),a=Le(),n=Xe(),s=D();t.exports=function(e,t,l){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return r(e,l);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,l);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return a(e);case"[object Symbol]":return n(e)}}}}),Ke=r.__commonJS({"../../node_modules/lodash/_baseIsMap.js"(e,o){var r=t.require_getTag(),a=t.require_isObjectLike();o.exports=function(e){return a(e)&&"[object Map]"==r(e)}}}),ze=r.__commonJS({"../../node_modules/lodash/isMap.js"(e,o){var r=Ke(),a=t.require_baseUnary(),n=t.require_nodeUtil(),s=n&&n.isMap,l=s?a(s):r;o.exports=l}}),Ye=r.__commonJS({"../../node_modules/lodash/_baseIsSet.js"(e,o){var r=t.require_getTag(),a=t.require_isObjectLike();o.exports=function(e){return a(e)&&"[object Set]"==r(e)}}}),Be=r.__commonJS({"../../node_modules/lodash/isSet.js"(e,o){var r=Ye(),a=t.require_baseUnary(),n=t.require_nodeUtil(),s=n&&n.isSet,l=s?a(s):r;o.exports=l}}),He=r.__commonJS({"../../node_modules/lodash/_baseClone.js"(e,o){var r=E(),a=Pe(),n=Z(),s=Oe(),l=ke(),i=q(),u=K(),c=Fe(),p=Je(),f=Me(),d=Ie(),m=t.require_getTag(),v=Re(),y=De(),h=B(),_=t.require_isArray(),b=t.require_isBuffer(),g=ze(),S=t.require_isObject(),w=Be(),x=je(),j=ne(),C="[object Arguments]",$="[object Function]",P="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[P]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[$]=O["[object WeakMap]"]=!1,o.exports=function e(t,o,k,T,W,A){var F,V=1&o,E=2&o,J=4&o;if(k&&(F=W?k(t,T,W,A):k(t)),void 0!==F)return F;if(!S(t))return t;var N=_(t);if(N){if(F=v(t),!V)return u(t,F)}else{var M=m(t),I=M==$||"[object GeneratorFunction]"==M;if(b(t))return i(t,V);if(M==P||M==C||I&&!W){if(F=E||I?{}:h(t),!V)return E?p(t,l(F,t)):c(t,s(F,t))}else{if(!O[M])return W?t:{};F=y(t,M,V)}}A||(A=new r);var R=A.get(t);if(R)return R;A.set(t,F),w(t)?t.forEach(function(r){F.add(e(r,o,k,r,t,A))}):g(t)&&t.forEach(function(r,a){F.set(a,e(r,o,k,a,t,A))});var q=N?void 0:(J?E?d:f:E?j:x)(t);return a(q||t,function(r,a){q&&(r=t[a=r]),n(F,a,e(r,o,k,a,t,A))}),F}}}),Ue=r.__commonJS({"../../node_modules/lodash/cloneDeep.js"(e,t){var o=He();t.exports=function(e){return o(e,5)}}}),Ge=r.__toESM(n(),1),Ze=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var Qe=e=>e.replace("/","-"),et=e=>"."+o.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES[e],tt=(e,t,o,r)=>{const a=e.typography[t]?.[o];if(!a)throw new Error(`Missing typography data for variant "${t}" and key "${o}"`);const n="base"===r?a.base:a.breakpoints?.[r];if(!n)throw new Error(`Missing value for variant "${t}", key "${o}", and breakpoint "${r}"`);if((0,Ge.default)(n))return n;switch(n.type){case"px":return n.value/16+"rem";case"unitless":return String(n.value)}return Ze()},ot=(e,t)=>t in e.font?`var(--${o.FONT_FAMILY_PREFIX}-${t})`:t,rt=(e,t)=>Object.fromEntries(a.textVariants.flatMap(r=>{const a=Qe(r);return[[`--${o.FONT_FAMILY_PREFIX}-${a}`,ot(e,tt(e,r,"fontFamily",t))],[`--${o.FONT_SIZE_PREFIX}-${a}`,tt(e,r,"fontSize",t)],[`--${o.FONT_WEIGHT_PREFIX}-${a}`,tt(e,r,"fontWeight",t)],[`--${o.FONT_SLANT_PREFIX}-${a}`,tt(e,r,"fontSlant",t)],[`--${o.FONT_WIDTH_PREFIX}-${a}`,tt(e,r,"fontWidth",t)],[`--${o.LINE_HEIGHT_PREFIX}-${a}`,tt(e,r,"lineHeight",t)],[`--${o.TEXT_TRANSFORM_PREFIX}-${a}`,tt(e,r,"textTransform",t)]]})),at=e=>Object.fromEntries(a.textVariants.map(Qe).map(t=>[t,`var(--${e}-${t})`])),nt={fontFamily:at(o.FONT_FAMILY_PREFIX),fontWeight:at(o.FONT_WEIGHT_PREFIX),fontSlant:at(o.FONT_SLANT_PREFIX),fontWidth:at(o.FONT_WIDTH_PREFIX),fontSize:at(o.FONT_SIZE_PREFIX),lineHeight:at(o.LINE_HEIGHT_PREFIX),textTransform:at(o.TEXT_TRANSFORM_PREFIX)},st=r.__toESM(t.require_isFunction(),1),lt=r.__toESM(s(),1),it=r.__toESM(be(),1);function ut({variantKey:e,variantValue:t,layer:o,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${t}/${a}/${n}/${o}`:`${r}/${e}/${t}/${o}`:a&&n?`${e}/${t}/${a}/${n}/${o}`:`${e}/${t}/${o}`}var ct=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function pt(t,o){const r=t.variants?.[o];if(r)return{type:"no-sub-components",variant:r};const a=gt(t);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e.mapValues(a,e=>e.variants[o])}}function ft(e,t,o){const r=e[t]?.defaults?.[o];if(void 0===r)throw new Error(`The variant default for "${o}" is not defined for the component "${t}"`);return r}var dt=r.__toESM($e(),1);function mt(e,t,o){const r=pt(e,t);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!o)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[o]}}var vt=e=>!!e?.layers,yt=e=>!!e?.componentStates;function ht(e,t,o){const r=mt(e,t,o);return r&&yt(r)?r?.componentStates??null:null}var _t=["rest"];var bt=r.__toESM($e(),1);function gt(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}var St=r.__toESM(Ue(),1);function wt(e,t,o,r,a){const n=e[o].variables[t];if(!n)throw new Error(`No layer variables found for ${t}.`);const s=n[r];if(!s)throw new Error(`No property variables found for ${r}.`);const l=s[a];if(!l)throw new Error(`No pseudoState variables found for ${a}.`);return l}function xt(e,t,o,r,a,n){const s=(0,St.default)(e),l=wt(s,t,o,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}var jt={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},Ct={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function $t(e,t){const o=e.defaults[t],r=e.typeOfFixture;let a=0;return e.values.forEach((e,t)=>{e.includes(o)&&(a=t)}),r[a]}function Pt({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,lt.default)(e)}-${(0,lt.default)(n)}-${(0,lt.default)(t)}`:`uds-${(0,lt.default)(e)}-${(0,lt.default)(t)}`,o&&(i=`${i}-${(0,lt.default)(o)}`),s&&l&&(i=`${i}-${(0,lt.default)(s)}-${(0,lt.default)(l)}`),i=`${i}-${(0,lt.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function Ot({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:c,theme:p,currentStyles:f,previewOptions:d}){const m=ut({variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});let v=Pt({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});const y=i.variables[m][u];if(!y)throw"size/md/root"===m&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:m,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${m} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const h={};for(const m in y){const _=m,b=jt[_]??"",g=y[_];let S="";if("root"===r)if(s&&l){const a=Pt({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n});v=Pt({componentName:e,variantKey:t,layer:r,subComponentName:n,stateKey:s,stateValue:l}),S=`.${a}${b}.${v}`}else S=`.${v}${b}`;else{const i=Pt({componentName:e,variantKey:t,variantValue:o,layer:"root",subComponentName:n});if(s&&l){const u=Pt({componentName:e,variantKey:t,layer:"root",subComponentName:n,stateKey:s,stateValue:l});v=Pt({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),S=`.${i}${b}.${u} .${v}`}else S=`.${i}${b} .${v}`}const w=(e,t,o,r)=>{const{value:a,type:n}=e,s=no[t];let l;if(no[t].customValueRenderer)l=no[t].customValueRenderer(e,i,o);else{l=o(no[t].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:x,extendedProperties:j}=no[c.name],C={},$=(0,st.default)(j),P=$?j({componentName:e,subComponentName:n,layer:r,propertyKey:u}):j;if(P&&P.length){if(!$&&("string"==typeof x||Array.isArray(x)&&x.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of P){const t=no[e].cssProperties;if("string"==typeof t){const o=f?.[S]?.[t];C[t]=w(g,e,p,o)}else if(Array.isArray(t))for(const o of t){const t=f?.[S]?.[o];C[o]=w(g,e,p,t)}}}else if("string"==typeof x){const e=f?.[S]?.[x];C[x]=w(g,c.name,p,e)}else if(Array.isArray(x))for(const e of x){const t=f?.[S]?.[e];C[e]=w(g,c.name,p,t)}if(h[S]||(h[S]={...C,...h[S]}),d?.generatePseudoStateClassModifier){const e=Ct[_]??"";if(e.length>0&&"root"!==m){const t=Object.fromEntries(Object.entries(C).map(([e,t])=>[e,`${t} !important`]));h[`.${e}${S}`.replace(b,"")]={...t,...h[`.${e}${S}`.replace(b,"")]}}}}return h}var kt=["none","custom"],Tt=["none","up","down"],Wt={hover:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"up",options:Tt}},pressed:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"down",options:Tt}}},At={hover:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"up",options:Tt}},pressed:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"down",options:Tt}}},Ft={hover:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"up",options:Tt}},pressed:{backgroundColor:{value:"none",options:kt},borderColor:{value:"none",options:kt},color:{value:"none",options:kt},scale:{value:"down",options:Tt}}},Vt={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function Et(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...Vt}}function Jt(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...Vt}}function Nt(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...Vt}}var Mt={fill:Et,outline:Jt,ghost:Nt},It={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"6",spacingVertical:"3",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"7",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"headline1"}},palette:{info:{primary:{kind:"fill",effect:Wt,base:Et("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Vt}}}},accent:{primary:{kind:"fill",effect:Wt,base:Et("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Vt}}}},brand:{primary:{kind:"fill",effect:Wt,base:Et("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Vt}}}},alert:{primary:{kind:"fill",effect:Wt,base:Et("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Vt}}}},positive:{primary:{kind:"fill",effect:Wt,base:Et("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Vt}}}},warning:{primary:{kind:"fill",effect:Wt,base:Et("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Vt}}},secondary:{kind:"outline",effect:At,base:Jt("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...Vt},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...Vt}}},tertiary:{kind:"ghost",effect:Ft,base:Nt("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Vt},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Vt}}}}}},Rt="https://s.yimg.com/bw/fonts",qt=["Helvetica Neue","Helvetica","Arial","sans-serif"],Lt=["Georgia","Times","Times New Roman","serif"],Xt={"centra-no2":{fallback:qt,type:"sans",fontFamily:"Centra No2",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Hairline",value:50},{label:"Thin",value:100},{label:"Light",value:300},{label:"Book",value:400},{label:"Medium",value:500},{label:"Bold",value:700},{label:"ExtraBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"50",src:`url('${Rt}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Rt}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Rt}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Rt}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Rt}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Rt}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Rt}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Rt}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Rt}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Rt}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Rt}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Rt}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Rt}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Rt}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Rt}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Rt}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:qt,type:"sans",fontFamily:"Inter",isVariableFont:!0,fontSlants:[{label:"Italic",value:-10},{label:"None",value:0}],fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Extra Light",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semi Bold",value:600},{label:"Bold",value:700},{label:"Extra Bold",value:800},{label:"Black",value:900}],defaults:{fontSlant:0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",fontFamily:"Roboto Mono",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"100",src:`url('${Rt}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Rt}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Rt}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Rt}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Rt}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Rt}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Rt}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Rt}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Rt}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Rt}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:qt,type:"sans",fontFamily:"Yahoo Sans",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"ExtraLight",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semibold",value:585},{label:"Bold",value:700},{label:"ExtraBold",value:810},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:qt,type:"sans",fontFamily:"Yahoo CR4 BETA VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:qt,type:"sans",fontFamily:"Yahoo Product Sans VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:qt,type:"sans",fontFamily:"YahooPd_Eval202412",isVariableFont:!0,fontSlants:[{label:"Italic",value:9},{label:"None",value:0}],fontWidths:[{label:"Cond",value:50},{label:"Normal",value:75},{label:"Ext",value:100}],fontWeights:[{label:"Light",value:300},{label:"Regular",value:450},{label:"Medium",value:500},{label:"Semibold",value:600},{label:"Bold",value:700},{label:"Black",value:850}],defaults:{fontSlant:0,fontWidth:75,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Rt}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:qt,type:"sans",fontFamily:"Yahoo Sans Cond",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:718},{label:"XBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Rt}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Lt,type:"serif",fontFamily:"Yahoo Serif Display",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Bold",value:700},{label:"Extrabold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"300",src:`url('${Rt}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Rt}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Rt}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Rt}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Rt}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Lt,type:"serif",fontFamily:"Yahoo Serif Text",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"400",src:`url('${Rt}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Rt}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Rt}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Rt}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};var Dt={black:"0 0 0",white:"255 255 255"};function Kt({preset:e,prefix:t,shadowType:o}){const r=`--uds-${o}-shadow-`,n="palette"===e.color?.type,s="always"===e.color?.type;let l=`var(--uds-${n?"shadow":"spectrum"}-color-${e?.color?.value})`;s&&(l=Dt[e.color.value]);const i=`var(${r}${t?`${t}-`:""}color, ${l})`;return`${"inset"===o?"inset ":""}${[`${a.shadowOffsetMap[e.offsetX]}px`,`${a.shadowOffsetMap[e.offsetY]}px`,`${a.spacingMap[e.blur]}px`,`${a.shadowSpreadRadiusMap[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${i} / var(${r}${t?`${t}-`:""}opacity, ${Number(e.opacity)/100}))`}`}var zt=e=>(t,o)=>`typography.${e}.${Qe(o)}`,Yt=(e,t)=>{switch(e){case"alwaysPaletteAliases":return`colors.${t}`;case"spectrumColors":{const[e,o]=t.split("-");return`colors.${e}.${o}`}case"foregroundPaletteColors":return`textColor.${t}`;case"backgroundPaletteColors":return`backgroundColor.${t}`;case"linePaletteColors":return`borderColor.${t}`}return Ze()},Bt=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),Ht={name:"backgroundColor",cssProperties:"background-color",twThemePath:Yt,possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},Ut={name:"fontSize",cssProperties:"font-size",twThemePath:zt("fontSize"),possibleFixtures:["textVariants"]},Gt={name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e,o=Qe(t);return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},Zt={name:"fontWeight",cssProperties:"font-weight",twThemePath:zt("fontWeight"),possibleFixtures:["textVariants"]},Qt={name:"fontFamily",cssProperties:"font-family",twThemePath:zt("fontFamily"),possibleFixtures:["textVariants"]},eo={name:"color",cssProperties:"color",twThemePath:Yt,possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},to={name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Bt(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},oo={name:"borderColor",cssProperties:"border-color",twThemePath:Yt,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Bt(e)&&["outlineColor"]},ro={name:"outlineColor",cssProperties:"outline-color",twThemePath:Yt,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},ao={name:"textTransform",cssProperties:"text-transform",twThemePath:zt("textTransform"),possibleFixtures:["textVariants"]},no={...{backgroundColor:Ht,borderWidth:to,borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:oo,fontFamily:Qt,fontSize:Ut,fontVariationSettings:Gt,lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:zt("lineHeight"),possibleFixtures:["textVariants"]},textTransform:ao,padding:{name:"padding",cssProperties:"padding",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},color:eo,fontWeight:Zt,iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,t)=>`sizing.icon.${t}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},textVariant:{name:"textVariant",cssProperties:[],twThemePath:()=>"",possibleFixtures:["textVariants"],extendedProperties:["fontSize","fontWeight","fontFamily","lineHeight","textTransform","fontVariationSettings"]},textDecorationLine:{name:"textDecorationLine",cssProperties:"text-decoration-line",possibleFixtures:["textDecorationLines"],twThemePath:()=>"",customValueRenderer:e=>String(e.value)},shadow:{name:"drop shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="drop";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>Kt({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariants"]},insetShadow:{name:"inset shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="inset";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>Kt({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,t)=>`height[${t}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,t)=>`width[${t}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:ro,insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:t},o,r)=>`calc(-1 * ${r("borderWidths"===t?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};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.FONT_DECLARATIONS_MAP=Xt,exports.RESPONSIVE_TAILWIND_CONFIG_MAP=nt,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.assertUnreachable=Ze,exports.button=It,exports.cartesianProduct=ct,exports.coalesceConfigVariant=pt,exports.configurableProperties=no,exports.createComponentStateConfig=function(e){return e},exports.createComponentStates=function(e){return e},exports.createConfigurableProperty=function(e){return e},exports.createLayerConfig=function(e){return e},exports.createSubComponentConfig=function(e){return e},exports.createVariantConfig=function(e){return e},exports.createVariantConfigWithComponentStates=function(e){return e},exports.createVariantConfigWithProperties=function(e){return e},exports.findFixtureType=$t,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},exports.fromEntries=function(e){return Object.fromEntries(e)},exports.generateClassName=Pt,exports.generateDeclaration=Ot,exports.generateKeyFromFlatConfigPath=function(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t},exports.generateSchemaKey=ut,exports.generateStyles=function(e,t,o,r){function a(e,t){return(0,it.default)({},e,t)}let n=e.label.toLowerCase();e.overrideComponentName&&(n=e.overrideComponentName.toLowerCase());let s={};for(const l in e.variants){const i=e.variants[l];for(const e of i.options)if(i.componentStates){const u=i.componentStates;for(const i in u){const c=u[i];for(const u of c.options)for(const p in c.layers){const f=c.layers[p];for(const c in f.properties){const d=f.properties[c];s=a(s,Ot({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:p,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:c,originalPropertyDefinition:d,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const c=i.layers[u];for(const i in c.properties){const p=c.properties[i];s=a(s,Ot({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:i,originalPropertyDefinition:p,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}if(e.subComponents){const{subComponents:l}=e;for(const e in l)for(const i in l[e].variants){const u=l[e].variants[i];for(const l of u.options)if(u.componentStates){const c=u.componentStates;for(const u in c){const p=c[u];for(const c of p.options)for(const f in p.layers){const d=p.layers[f];for(const p in d.properties){const m=d.properties[p];s=a(s,Ot({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:c,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:p,originalPropertyDefinition:m,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const c in u.layers){const p=u.layers[c];for(const u in p.properties){const f=p.properties[u];s=a(s,Ot({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}return s},exports.getBaseTextVars=e=>rt(e,"base"),exports.getConfigDefaultValue=ft,exports.getConfigPseudoStateVariables=wt,exports.getConfigPseudoStateVariablesWithSetter=function(e,t,o,r,a){return[wt(e,t,o,r,a),n=>xt(e,t,o,r,a,n)]},exports.getConfigSubcomponents=gt,exports.getConfigVariantComponentStates=ht,exports.getConfigVariantComponentStatesMatrix=function(e,t,o){const r=ht(e,t,o);return r?ct((0,dt.default)(r).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e):null},exports.getConfigVariantProperties=function(t){if(!t||!vt(t))return null;const o=e.mapValues(t.layers,e=>e.properties);for(const e in o){const t=o[e];t&&0!==Object.keys(t).length||delete o[e]}return 0===Object.keys(o).length?null:o},exports.getConfigVariantPseudoStates=function(e,t,o,r){const a=mt(e,t,r);return a?[...vt(a)?Object.entries(a?.layers??{}):[],...yt(a)&&o?Object.entries(a.componentStates[o].layers??{}):[]].flatMap(([e,t])=>Object.entries(t.properties).map(([t,o])=>[e,t,o])).flatMap(([e,t,o])=>[..._t,...o.pseudoStates??[]].map(r=>[e,t,o,r])).reduce((e,[t,o,r,a])=>{e[a]=e[a]??[];const n=[t,o,r];return e[a].push(n),e},{}):null},exports.getConfigVariants=function(e,t="variant"){const o=pt(e,t);if("no-variants"===o.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===o.type){if(gt(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:o.variant.description,variantNames:[...o.variant.options]}}const r=(0,bt.default)(o.variants).reduce((e,[t,o])=>{for(const r of o.options)e[r]??=[],e[r].includes(t)||e[r].push(t);return e},{});return{type:"has-sub-components",description:Object.values(o.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}},exports.getDefaultButtonBaseMap=Mt,exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${o.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:o}])=>[`@media (min-width: ${o}px)`,rt(e,t)])),[et("base")]:rt(e,"base"),[et("defaultBreakpoint")]:rt(e,e.globalDefaults.breakpoint),...Object.fromEntries(t.map(([t])=>[et(t),rt(e,t)]))}},exports.getShadowLayerValue=Kt,exports.getShadowPresetValues=function({config:t,shadowType:o}){const r=t?.shadow?.[o];if(!r)return{};const a={};return e.entries(r).forEach(([e,t])=>{if("none"===e)return void(a[`--uds-${o}-shadow-${e}`]="0 0 transparent");const r=t.map((e,t)=>Kt({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));a[`--uds-${o}-shadow-${e}`]=`${r.join(", ")}`}),a},exports.isConfigDefaultValue=function(e,t,o,r){return ft(e,t,o)===r},exports.parseButtonVariantFlat=function({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`},exports.parseDeprecatedButtonPaletteVariant=function({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[t,o]=e.split("-");return o?{palette:t,variant:o}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}},exports.require_isString=n,exports.setConfigPseudoStateVariable=xt,exports.shadow={drop:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}]},inset:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}],"xs-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"always",value:"white"}}],"sm-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"always",value:"white"}}],"md-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"lg-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"xl-invert":[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"always",value:"white"}}],"2xl-invert":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"always",value:"white"}}]}},exports.statePseudoMapDocsMode=Ct,exports.textVariantsSafe=Qe,exports.toMinimalDbConfigObject=function(e){const t={},o={};for(const t in e.variants){const r=e.variants[t];o[t]=r.default}t.defaults=o,t.variables={};for(const o in e.variants){const r=e.variants[o];for(const e of r.options)if(r.componentStates){const a=r.componentStates;for(const r in a){const n=a[r];for(const a of n.options)for(const s in n.layers){const l=n.layers[s],i=ut({variantKey:o,variantValue:e,stateKey:r,stateValue:a,layer:s});t.variables[i]={};for(const o in l.properties){const r=l.properties[o],a={[o]:{rest:{type:$t(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:$t(r,e),valueType:"alias",value:r.defaults[e]};t.variables[i]={...t.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=ut({variantKey:o,variantValue:e,layer:a});t.variables[s]={};for(const o in n.properties){const r=n.properties[o],a={[o]:{rest:{type:$t(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:$t(r,e),valueType:"alias",value:r.defaults[e]};t.variables[s]={...t.variables[s],...a}}}}if(e.subComponents){const{subComponents:o}=e;for(const e in o)for(const r in o[e].variants){const a=o[e].variants[r];t.defaults[r]=a.default;for(const o of a.options)if(a.componentStates){const n=a.componentStates;for(const a in n){const s=n[a];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=ut({variantKey:r,variantValue:o,stateKey:a,stateValue:n,layer:l,subComponentName:e});t.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:$t(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:$t(r,o),valueType:"alias",value:r.defaults[o]};t.variables[u]={...t.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=ut({variantKey:r,variantValue:o,layer:n,subComponentName:e});t.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:$t(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:$t(r,o),valueType:"alias",value:r.defaults[o]};t.variables[l]={...t.variables[l],...a}}}}}return t};
|
package/dist/chunk-FCXWYEW2.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-HKJZSITK.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:K,spacingTop:X,offset:Y,offsetVertical:J,offsetHorizontal:Z,offsetBottom:O,offsetEnd:Q,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:K,spacingTop:X,offset:Y,offsetVertical:J,offsetHorizontal:Z,offsetBottom:O,offsetEnd:Q,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="Pressable";var n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=a,exports.a=o,exports.e=s,exports.e2=h,exports.o=i,exports.o2=c,exports.t=n;
|
package/dist/chunk-HCDOGKOT.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-6RFI4VVW.cjs"),r=require("./chunk-EU3BY2KO.cjs"),o=require("./chunk-J7PUOUXC.cjs"),t=require("./chunk-LNZSNDOV.cjs"),a=require("tailwindcss/plugin.js"),n=require("@yahoo/uds/fixtures");function s(e){return e&&e.__esModule?e:{default:e}}/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function i(e,{addBase:r}){const o=c(e);for(const e of o)r({"@font-face":e})}var d=s(a).default.withOptions(function({fontIds:e}){return function({addBase:r}){i(e,{addBase:r})}});function c(e){return e.flatMap(e=>{const{declarations:o,fontFamily:t}=r.FONT_DECLARATIONS_MAP[e];return o.map(e=>({fontFamily:t,fontDisplay:"swap",...e}))})}function l(e){return`"${e}"`}function u(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.addFontFaceDeclarations=i,exports.addFontsPlugin=d,exports.getColorModeStyles=function(e){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...e.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...e.colorMode.dark._vars}}},exports.getFontFaceDeclarations=c,exports.getFontStyles=function(e){return r.fromEntries(o.entries(e).map(([e,o])=>{const a=`--${t.FONT_FAMILY_PREFIX}-${e}`,n=r.FONT_DECLARATIONS_MAP[o];return[a,[n.fontFamily,...n.fallback].map(l).join(", ")]}))},exports.getMotionStyles=function(t){const a=o.entries(t).flatMap(([r,t])=>o.entries(t).flatMap(([o,t])=>n.motionSpringConfigOptions.map(a=>[e.getMotionVar({variant:r,speed:o,control:a}),`${t[a]}`])));return r.fromEntries(a)},exports.getScaleModeStyles=function(e){return{xSmall:u(e.scaleMode.xSmall),small:u(e.scaleMode.small),medium:u(e.scaleMode.medium),large:u(e.scaleMode.large),xLarge:u(e.scaleMode.xLarge),xxLarge:u(e.scaleMode.xxLarge),xxxLarge:u(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:a}){const n=e.shadow[a],s=o.entries(n).map(([e])=>[`.uds-${a}-shadow-${e}`,{[`--uds-${a}-shadow`]:`var(--${t.UDS_PREFIX}-${a}-shadow-${e})`,boxShadow:`var(--${t.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${t.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return r.fromEntries(s)};
|
package/dist/chunk-HKJZSITK.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var o=require("./chunk-6VT7WO2X.cjs"),e=require("./chunk-QLXJH36U.cjs"),r=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),i=require("clsx"),a=require("tailwind-merge"),n=require("react"),s=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}var{useGetStylesCache:d,skipTailwindMerge:c}=t.getFeatureFlags();function f(o){const e=Object.create(null),r=Object.keys(o).sort();for(let t=0,i=r.length;t<i;t++){const i=r[t];void 0!==o[i]&&(e[i]=o[i])}return e}var p=a.extendTailwindMerge({extend:{theme:{borderColor:r.lineColors,borderWidth:r.borderWidths,borderRadius:r.borderRadii}},override:{classGroups:{"text-color":[{text:[...r.foregroundColors,...r.spectrumColors]}],"bg-color":[{bg:r.backgroundColors}],"font-family":[{font:["icons",...r.textVariants]}],leading:[{leading:r.textVariants}]},conflictingClassGroups:{}}}),u=(...o)=>{const e=i.clsx(o);return c?e:p(e)},h=o=>{const{base:e,variants:r,defaultVariants:t,compoundVariants:i}=o;return o=>{if(!o)return u(e);const{className:a,...n}=o;if(!r)return u(e,a);const s=[];for(const o in t){if(void 0===o)continue;if(void 0!==n[o])continue;const e=l(t[o]);s.push(r[o][e])}for(const o in n){if(void 0===o)continue;const e=l(n[o]);s.push(r[o][e])}if(!i)return u(e,s,a);let d="";for(const o of i){const{className:e,...r}=o;let i=!0;for(const o in r){const e=r[o];if(!((n[o]??t?.[o])===e)){i=!1;break}}i&&(d=u(d,e))}return u(e,s,d,a)}},m=h({variants:o.variants}),b=new Map,g=Symbol("getStylesCacheKey"),x=(o,e)=>{if(!d)return m(o);const r=(o=>{if(o[g])return o[g];const e=f(o);let r="";for(const o in e)r+=`${o}:${e[o]}|`;return o[g]=r,r})(o);if(b.has(r))return e?.(),b.get(r);const t=m(o);return b.set(r,t),t};function S(...o){return e=>o.forEach(o=>function(o,e){"function"==typeof o?o(e):null!=o&&(o.current=e)}(o,e))}function C(){const o=n.forwardRef((o,r)=>{const{children:i,...a}=o,l=n.Children.toArray(i),d=l.find(t);if(d){const o=d.props.children,t=l.map(e=>e===d?n.Children.count(o)>1?n.Children.only(null):n.isValidElement(o)?o.props.children:null:e);return s.jsx(e,{...a,ref:r,children:n.isValidElement(o)?n.cloneElement(o,void 0,t):null})}return s.jsx(e,{...a,ref:r,children:i})});o.displayName="Slot";const e=n.forwardRef((o,e)=>{const{children:r,...t}=o;return n.isValidElement(r)?n.cloneElement(r,{...i(t,r.props),ref:e?S(e,r.ref):r.ref}):n.Children.count(r)>1?n.Children.only(null):null});e.displayName="SlotClone";const r=({children:o})=>o;function t(o){return n.isValidElement(o)&&o.type===r}function i(o,e){const r={...e};for(const t in e){const i=o[t],a=e[t];/^on[A-Z]/.test(t)?i&&a?r[t]=(...o)=>{a(...o),i(...o)}:i&&(r[t]=i):"style"===t&&(r[t]={...i,...a})}return{...o,...r}}return o}var y=C(),w=n.forwardRef(function({asChild:o,as:e="div",className:r,backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:z,alignItems:W,alignSelf:E,flex:B,flexDirection:T,flexGrow:R,flexShrink:N,flexWrap:V,justifyContent:j,flexBasis:G,display:H="flex",overflow:k,overflowX:q,overflowY:I,position:X,spacing:F,spacingHorizontal:$,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:Y,spacingTop:_,offset:O,offsetVertical:K,offsetHorizontal:J,offsetBottom:L,offsetEnd:P,offsetStart:Q,offsetTop:U,columnGap:Z,rowGap:oo,width:eo,height:ro,dropShadow:to,insetShadow:io,...ao},no){const so=x({backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:l,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:h,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:z,alignItems:W,alignSelf:E,flex:B,flexDirection:T,flexGrow:R,flexShrink:N,flexWrap:V,justifyContent:j,flexBasis:G,display:H,overflow:k,overflowX:q,overflowY:I,position:X,spacing:F,spacingHorizontal:$,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:Y,spacingTop:_,offset:O,offsetVertical:K,offsetHorizontal:J,offsetBottom:L,offsetEnd:P,offsetStart:Q,offsetTop:U,columnGap:Z,rowGap:oo,width:eo,height:ro,dropShadow:to,insetShadow:io,className:r}),lo=o?y:e;return s.jsx(lo,{className:so,ref:no,...ao})});w.displayName="Box";var v=C(),z={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p","display1/emphasized":"h1","display2/emphasized":"h1","display3/emphasized":"h1","title1/emphasized":"h1","title2/emphasized":"h2","title3/emphasized":"h3","title4/emphasized":"h4","headline1/emphasized":"h5","body1/emphasized":"p","label1/emphasized":"p","label2/emphasized":"p","label3/emphasized":"p","label4/emphasized":"p","caption1/emphasized":"p","caption2/emphasized":"p","legal1/emphasized":"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span","ui1/emphasized":"span","ui2/emphasized":"span","ui3/emphasized":"span","ui4/emphasized":"span","ui5/emphasized":"span","ui6/emphasized":"span",inherit:"p"},W=n.forwardRef(function({className:o,asChild:e,color:r="primary",variant:t="body1",as:i=z[t],fontFamily:a,fontSize:n,fontWeight:l,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:y,borderTopColor:w,borderBottomColor:W,borderWidth:E,borderVerticalWidth:B,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:N,borderTopWidth:V,borderBottomWidth:j,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:X,flexShrink:F,flexWrap:$,justifyContent:A,flexBasis:D,display:M,overflow:Y,overflowX:_,overflowY:O,position:K,spacing:J,spacingHorizontal:L,spacingVertical:P,spacingBottom:Q,spacingEnd:U,spacingStart:Z,spacingTop:oo,offset:eo,offsetVertical:ro,offsetHorizontal:to,offsetBottom:io,offsetEnd:ao,offsetStart:no,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...r&&"inherit"!==r?{color:r}:{},...t&&"inherit"!==t?{fontFamily:a??t,fontSize:n??t,fontWeight:l??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},ho=x({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:y,borderTopColor:w,borderBottomColor:W,borderWidth:E,borderVerticalWidth:B,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:N,borderTopWidth:V,borderBottomWidth:j,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:X,flexShrink:F,flexWrap:$,justifyContent:A,flexBasis:D,display:M,overflow:Y,overflowX:_,overflowY:O,position:K,spacing:J,spacingHorizontal:L,spacingVertical:P,spacingBottom:Q,spacingEnd:U,spacingStart:Z,spacingTop:oo,offset:eo,offsetVertical:ro,offsetHorizontal:to,offsetBottom:io,offsetEnd:ao,offsetStart:no,offsetTop:so,columnGap:lo,rowGap:co}),mo=e?v:i;return s.jsx(mo,{className:ho,ref:po,...fo})});W.displayName="Text";var E={xs:12,sm:16,md:24,lg:32},B=n.forwardRef(function({name:o,size:e="md",variant:r="outline",color:t="primary",className:i,...a},n){const l=o.metadata?.variants??[],d=l.includes(r)?r:l[0]??"fill",c="multicolor"===d,f=x({flex:"none",color:c?void 0:t,className:u(i,!c&&"[&_path]:fill-current")}),p=E[e];return s.jsx("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...a,children:s.jsx(o,{size:e,variant:d})})});B.displayName="Icon";var T=e.__toESM(o.require_isFunction(),1),R=n.memo(function({icon:o,iconProps:e,className:r,...t}){if(!o)return null;const{className:i,...a}=e||{},l=u(r,i),d=o;if(d.metadata?.isSvgIcon)return s.jsx(B,{name:d,...a,...t,className:l});if((0,T.default)(o)){const r=o(e||{}),i=r?.props.className;return n.isValidElement(r)&&n.cloneElement(r,{...t,className:u(l,i)})}return n.isValidElement(o)&&n.cloneElement(o,{...a,...o.props,...t,className:u(l,o.props.className)})});R.displayName="IconSlot",
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=w,exports.Icon=B,exports.IconSlot=R,exports.Text=W,exports.createSlot=C,exports.cva=h,exports.cx=u,exports.getStyles=x,exports.getStylesCacheKeySymbol=g;
|
package/dist/chunk-RKNDMKGD.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createSlot as r,getStyles as l}from"./chunk-TBKJVNN7.js";import{forwardRef as e}from"react";import{jsx as t,Fragment as a,jsxs as o}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r(),n=e(function({className:r,asChild:e,onPress:a,onClick:o=a,backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:B,flexDirection:A,flexGrow:W,flexShrink:T,flexWrap:E,justifyContent:_,flexBasis:P,display:R,overflow:I,overflowX:k,overflowY:G,position:N,spacing:y,spacingHorizontal:j,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:J,offset:K,offsetVertical:F,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,...ar},or){const ir=l({backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:B,flexDirection:A,flexGrow:W,flexShrink:T,flexWrap:E,justifyContent:_,flexBasis:P,display:R,overflow:I,overflowX:k,overflowY:G,position:N,spacing:y,spacingHorizontal:j,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:J,offset:K,offsetVertical:F,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,className:r});return t(e?i:"button",{className:ir,ref:or,onClick:o,tabIndex:0,...ar})});n.displayName="Pressable";var h=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:o("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t(a,{})};h.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t(a,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t(a,{})};d.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t(a,{})};s.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t(a,{})};u.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t(a,{})};f.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{n as Pressable,d as a,c as e,u as e2,s as o,f as o2,h as t};
|
package/dist/chunk-RVMYARFX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Text as r,cx as a}from"./chunk-4SC4SIU5.js";import{require_isFunction as e}from"./chunk-2XRSELDC.js";import{__toESM as i}from"./chunk-GF4A6TFM.js";import{jsxs as t,jsx as l}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var o=i(e(),1),s=({htmlFor:e,required:i,label:s,children:n,color:m="muted",variant:c="label3",hasError:h=!1,showRequiredAsterisk:u=!1,as:d="label",className:p,...f})=>{const F=s?(0,o.default)(s)?s():s:n;return F?t(r,{variant:c,color:m,as:d,htmlFor:e,className:a("cursor-[inherit]",p),...f,children:[F,i&&u&&l(r,{as:"sup",color:h?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};s.displayName="FormLabel";export{s as FormLabel};
|
package/dist/chunk-TWSJ5YSB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{VStack as e,HStack as r}from"./chunk-65GK2EDI.js";import{cx as t,Box as i,Text as o,getStyles as a}from"./chunk-TBKJVNN7.js";import{forwardRef as n,useMemo as l}from"react";import{jsxs as s,jsx as d}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c={horizontal:"w-full",vertical:""},m=n(function({vertical:a=!1,contentPosition:n="center",className:m,layerClassNames:h,children:f,...v},x){const N=a?"vertical":"horizontal",p=a?e:r,b=l(()=>({root:t(c[N],m,h?.root),label:t(h?.text),line:h?.line}),[m,N,h?.root,h?.text,h?.line]),u=l(()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[N]),y=()=>d(i,{flex:"1",className:b.line,style:u});return f?s(p,{flex:"1",alignItems:"center",className:b.root,ref:x,...v,children:["start"!==n&&d(y,{}),d(i,{flex:"none",children:d(o,{color:"inherit",variant:"inherit",className:b.label,children:f})}),"end"!==n&&d(y,{})]}):d(i,{display:"flex",flex:"none",className:b.root,ref:x,...v,children:d(y,{})})});m.displayName="DividerCore";var h=n(function({variant:e="primary",layerClassNames:r,...i},o){const n=l(()=>({root:t("inherit"!==e&&a({dividerVariantRoot:e}),r?.root),text:t("inherit"!==e?a({dividerVariantLabel:e}):void 0,r?.text),line:t("inherit"!==e&&a({dividerVariantLine:e}),r?.line)}),[r?.line,r?.root,r?.text,e]);return d(m,{ref:o,layerClassNames:n,...i})});h.displayName="DividerInternal";export{h as DividerInternal};
|
package/dist/chunk-TZYU57BN.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-N52EAOOT.cjs"),r=require("./chunk-AHOWBDMO.cjs"),t=require("react"),i=require("react/jsx-runtime"),a={horizontal:"w-full",vertical:""},o=t.forwardRef(function({vertical:o=!1,contentPosition:l="center",className:n,layerClassNames:s,children:c,...d},x){const h=o?"vertical":"horizontal",m=o?e.VStack:e.HStack,f=t.useMemo(()=>({root:r.cx(a[h],n,s?.root),label:r.cx(s?.text),line:s?.line}),[n,h,s?.root,s?.text,s?.line]),u=t.useMemo(()=>"vertical"===h?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[h]),v=()=>i.jsx(r.Box,{flex:"1",className:f.line,style:u});return c?i.jsxs(m,{flex:"1",alignItems:"center",className:f.root,ref:x,...d,children:["start"!==l&&i.jsx(v,{}),i.jsx(r.Box,{flex:"none",children:i.jsx(r.Text,{color:"inherit",variant:"inherit",className:f.label,children:c})}),"end"!==l&&i.jsx(v,{})]}):i.jsx(r.Box,{display:"flex",flex:"none",className:f.root,ref:x,...d,children:i.jsx(v,{})})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="DividerCore";var l=t.forwardRef(function({variant:e="primary",layerClassNames:a,...l},n){const s=t.useMemo(()=>({root:r.cx("inherit"!==e&&r.getStyles({dividerVariantRoot:e}),a?.root),text:r.cx("inherit"!==e?r.getStyles({dividerVariantLabel:e}):void 0,a?.text),line:r.cx("inherit"!==e&&r.getStyles({dividerVariantLine:e}),a?.line)}),[a?.line,a?.root,a?.text,e]);return i.jsx(o,{ref:n,layerClassNames:s,...l})});l.displayName="DividerInternal",exports.DividerInternal=l;
|
package/dist/chunk-WZLHHSB6.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-HKJZSITK.cjs"),e=require("./chunk-6VT7WO2X.cjs"),a=require("./chunk-QLXJH36U.cjs"),i=require("react/jsx-runtime"),s=a.__toESM(e.require_isFunction(),1),t=({htmlFor:e,required:a,label:t,children:l,color:c="muted",variant:n="label3",hasError:u=!1,showRequiredAsterisk:o=!1,as:h="label",className:d,...m})=>{const q=t?(0,s.default)(t)?t():t:l;return q?i.jsxs(r.Text,{variant:n,color:c,as:h,htmlFor:e,className:r.cx("cursor-[inherit]",d),...m,children:[q,a&&o&&i.jsx(r.Text,{as:"sup",color:u?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */t.displayName="FormLabel",exports.FormLabel=t;
|
package/dist/chunk-ZVDMYSXF.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-HKJZSITK.cjs"),e=require("./chunk-6VT7WO2X.cjs"),t=require("./chunk-QLXJH36U.cjs"),n=require("react"),a=require("react/jsx-runtime"),c=t.__toESM(e.require_isFunction(),1),i=(r,e)=>((r,e)=>{const t=(0,c.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(n.Children.toArray(r),r=>{const t=(0,c.default)(e)?e(r):e;return n.isValidElement(t)?n.cloneElement(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),o=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...c,children:n?i(t,n):t})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="HStack";var u=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...c,children:n?i(t,n):t})});u.displayName="VStack",exports.HStack=o,exports.VStack=u;
|
package/dist/index-DvgJJnbq.d.ts
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
-
import { m as ShadowPreset, g as UniversalTokensConfig } from './types-BAsHl1tU.js';
|
|
3
|
-
|
|
4
|
-
type DispatchContext = {
|
|
5
|
-
componentName: string;
|
|
6
|
-
subComponentName?: string;
|
|
7
|
-
propertyKey: string;
|
|
8
|
-
layer: string;
|
|
9
|
-
};
|
|
10
|
-
interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
|
11
|
-
name: string;
|
|
12
|
-
cssProperties: string | string[];
|
|
13
|
-
twThemePath: (selected: T, value: string) => string;
|
|
14
|
-
possibleFixtures: T[];
|
|
15
|
-
extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
|
|
16
|
-
customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
|
|
17
|
-
concatenate?: boolean;
|
|
18
|
-
concatenationDelimiter?: string;
|
|
19
|
-
}
|
|
20
|
-
declare const publicProperties: {
|
|
21
|
-
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
22
|
-
readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
23
|
-
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
24
|
-
readonly borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
25
|
-
readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
26
|
-
readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
27
|
-
readonly fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
28
|
-
readonly lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
|
29
|
-
readonly textTransform: ConfigurableProperty<"textVariants", unknown>;
|
|
30
|
-
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
31
|
-
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
32
|
-
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
33
|
-
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
34
|
-
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
35
|
-
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
36
|
-
readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
37
|
-
readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
38
|
-
readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
39
|
-
readonly shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
40
|
-
readonly insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
41
|
-
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
42
|
-
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
43
|
-
};
|
|
44
|
-
declare const configurableProperties: {
|
|
45
|
-
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
46
|
-
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
47
|
-
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
48
|
-
solidOutline: ConfigurableProperty<never, unknown>;
|
|
49
|
-
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
50
|
-
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
51
|
-
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
52
|
-
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
53
|
-
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
54
|
-
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
55
|
-
fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
56
|
-
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
|
57
|
-
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
|
58
|
-
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
59
|
-
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
60
|
-
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
61
|
-
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
62
|
-
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
63
|
-
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
64
|
-
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
65
|
-
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
66
|
-
textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
67
|
-
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
68
|
-
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
69
|
-
height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
70
|
-
width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
71
|
-
};
|
|
72
|
-
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
|
73
|
-
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
|
74
|
-
interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
|
|
75
|
-
label: string;
|
|
76
|
-
name: C;
|
|
77
|
-
typeOfFixture: T;
|
|
78
|
-
values: V;
|
|
79
|
-
pseudoStates?: PossibleStates[];
|
|
80
|
-
supportsCustom?: boolean;
|
|
81
|
-
defaults: {
|
|
82
|
-
[K in O]: V[number][number];
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
|
|
87
|
-
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
88
|
-
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
89
|
-
interface LayerConfig {
|
|
90
|
-
label: string;
|
|
91
|
-
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
92
|
-
pseudoSelector?: string;
|
|
93
|
-
}
|
|
94
|
-
interface ComponentStateConfig {
|
|
95
|
-
label: string;
|
|
96
|
-
options: string[];
|
|
97
|
-
layers: {
|
|
98
|
-
root: LayerConfig;
|
|
99
|
-
} & Record<string, LayerConfig>;
|
|
100
|
-
}
|
|
101
|
-
interface SubComponentConfig {
|
|
102
|
-
label: string;
|
|
103
|
-
description: string;
|
|
104
|
-
overrideComponentName?: string;
|
|
105
|
-
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
106
|
-
}
|
|
107
|
-
interface VariantConfig<O extends string = string> {
|
|
108
|
-
label: string;
|
|
109
|
-
description: string;
|
|
110
|
-
isConfigurable: boolean;
|
|
111
|
-
default: O;
|
|
112
|
-
options: readonly O[];
|
|
113
|
-
}
|
|
114
|
-
interface VariantConfigWithProperties<O extends string = string> extends VariantConfig<O> {
|
|
115
|
-
layers: {
|
|
116
|
-
root: LayerConfig;
|
|
117
|
-
} & Record<string, LayerConfig>;
|
|
118
|
-
}
|
|
119
|
-
interface VariantConfigWithComponentStates<O extends string = string> extends VariantConfig<O> {
|
|
120
|
-
componentStates?: Readonly<Record<string, ComponentStateConfig>>;
|
|
121
|
-
}
|
|
122
|
-
interface ComponentConfig {
|
|
123
|
-
label: string;
|
|
124
|
-
description: string;
|
|
125
|
-
overrideComponentName?: string;
|
|
126
|
-
subComponents?: Record<string, SubComponentConfig>;
|
|
127
|
-
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
128
|
-
}
|
|
129
|
-
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
|
|
130
|
-
type AutoComponentName = keyof AutoComponents;
|
|
131
|
-
type AllVariantKeys = {
|
|
132
|
-
[K in keyof AutoComponents]: {
|
|
133
|
-
[V in keyof AutoComponents[K]['defaults']]: V;
|
|
134
|
-
}[keyof AutoComponents[K]['defaults']];
|
|
135
|
-
}[keyof AutoComponents];
|
|
136
|
-
|
|
137
|
-
type ThemeFn = (path: string) => string;
|
|
138
|
-
type SchemaStateValue<T = any> = {
|
|
139
|
-
type: string;
|
|
140
|
-
valueType: 'alias' | 'custom';
|
|
141
|
-
value: T;
|
|
142
|
-
};
|
|
143
|
-
declare const statePseudoMapDocsMode: Record<PossibleStates | 'rest', string>;
|
|
144
|
-
declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): string;
|
|
145
|
-
declare function toMinimalDbConfigObject<C extends ComponentConfig>(config: C): any;
|
|
146
|
-
declare function generateClassName({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, }: {
|
|
147
|
-
componentName: string;
|
|
148
|
-
variantKey: string;
|
|
149
|
-
variantValue?: string;
|
|
150
|
-
layer: string;
|
|
151
|
-
layerOptionalPseudoSelector?: string;
|
|
152
|
-
subComponentName?: string;
|
|
153
|
-
stateKey?: string;
|
|
154
|
-
stateValue?: string;
|
|
155
|
-
}): string;
|
|
156
|
-
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions, }: {
|
|
157
|
-
componentName: string;
|
|
158
|
-
variantKey: string;
|
|
159
|
-
variantValue: string;
|
|
160
|
-
layer: string;
|
|
161
|
-
layerOptionalPseudoSelector?: string;
|
|
162
|
-
subComponentName?: string;
|
|
163
|
-
stateKey?: string;
|
|
164
|
-
stateValue?: string;
|
|
165
|
-
schema: unknown;
|
|
166
|
-
propertyKey: string;
|
|
167
|
-
originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
|
|
168
|
-
theme: ThemeFn;
|
|
169
|
-
currentStyles: Readonly<Record<string, Record<string, string>>>;
|
|
170
|
-
previewOptions?: {
|
|
171
|
-
generatePseudoStateClassModifier?: boolean;
|
|
172
|
-
};
|
|
173
|
-
}): Record<string, Record<string, string>>;
|
|
174
|
-
declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, previewOptions?: {
|
|
175
|
-
generatePseudoStateClassModifier: boolean;
|
|
176
|
-
}): Record<string, Record<string, string>>;
|
|
177
|
-
declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
|
|
178
|
-
name: C;
|
|
179
|
-
typeOfFixture: T;
|
|
180
|
-
values: V;
|
|
181
|
-
defaults: {
|
|
182
|
-
[K in O]: V[number][number];
|
|
183
|
-
};
|
|
184
|
-
label: string;
|
|
185
|
-
pseudoStates?: PossibleStates[];
|
|
186
|
-
supportsCustom?: boolean;
|
|
187
|
-
}): SelectedConfigurableProperty<C, O, T, V>;
|
|
188
|
-
/**
|
|
189
|
-
* @deprecated use the new functions instead
|
|
190
|
-
*/
|
|
191
|
-
declare function createVariantConfig<O extends string, T extends Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, O>>>(config: {
|
|
192
|
-
label: string;
|
|
193
|
-
description: string;
|
|
194
|
-
isConfigurable: boolean;
|
|
195
|
-
default: O;
|
|
196
|
-
options: readonly O[];
|
|
197
|
-
properties: T;
|
|
198
|
-
}): VariantConfig<O>;
|
|
199
|
-
declare function createComponentStateConfig(config: {
|
|
200
|
-
label: string;
|
|
201
|
-
options: string[];
|
|
202
|
-
layers: {
|
|
203
|
-
root: LayerConfig;
|
|
204
|
-
} & Record<string, LayerConfig>;
|
|
205
|
-
}): ComponentStateConfig;
|
|
206
|
-
declare function createVariantConfigWithProperties(config: {
|
|
207
|
-
label: string;
|
|
208
|
-
description: string;
|
|
209
|
-
isConfigurable: boolean;
|
|
210
|
-
default: string;
|
|
211
|
-
options: readonly string[];
|
|
212
|
-
layers: {
|
|
213
|
-
root: LayerConfig;
|
|
214
|
-
} & Record<string, LayerConfig>;
|
|
215
|
-
}): VariantConfigWithProperties;
|
|
216
|
-
declare function createVariantConfigWithComponentStates(config: {
|
|
217
|
-
label: string;
|
|
218
|
-
description: string;
|
|
219
|
-
isConfigurable: boolean;
|
|
220
|
-
default: string;
|
|
221
|
-
options: readonly string[];
|
|
222
|
-
componentStates: Record<string, ComponentStateConfig>;
|
|
223
|
-
}): VariantConfigWithComponentStates;
|
|
224
|
-
declare function createComponentStates(config: {
|
|
225
|
-
label: string;
|
|
226
|
-
options: string[];
|
|
227
|
-
layers: {
|
|
228
|
-
root: LayerConfig;
|
|
229
|
-
} & Record<string, LayerConfig>;
|
|
230
|
-
}): ComponentStateConfig;
|
|
231
|
-
declare function createLayerConfig(config: {
|
|
232
|
-
label: string;
|
|
233
|
-
pseudoSelector?: string;
|
|
234
|
-
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
235
|
-
}): LayerConfig;
|
|
236
|
-
declare function createSubComponentConfig(config: {
|
|
237
|
-
label: string;
|
|
238
|
-
description: string;
|
|
239
|
-
overrideComponentName?: string;
|
|
240
|
-
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
241
|
-
}): SubComponentConfig;
|
|
242
|
-
|
|
243
|
-
export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
|