@yahoo/uds 3.36.0-beta.2 → 3.36.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Box-B5-iomov.d.ts +34 -0
- package/dist/Box-DiAlMwFs.d.cts +34 -0
- package/dist/Input-C2JHbAnz.d.cts +54 -0
- package/dist/Input-Drdk_VTx.d.ts +54 -0
- package/dist/Pressable-BtsR3Qz0.d.cts +44 -0
- package/dist/Pressable-DvTJyjgZ.d.ts +44 -0
- package/dist/VStack-mmwkcypy.d.cts +83 -0
- package/dist/VStack-r7oAc-8J.d.ts +83 -0
- package/dist/{chunk-I47FIXBS.cjs → chunk-4A2ZIK3D.cjs} +1 -1
- package/dist/chunk-4GUXQTU3.cjs +3 -0
- package/dist/chunk-5D2A6RFS.js +2 -0
- package/dist/chunk-5U4J6DA5.cjs +1 -0
- package/dist/{chunk-2D7AZCOW.cjs → chunk-6HG5KSL6.cjs} +1 -1
- package/dist/{chunk-HVGHKZ4H.js → chunk-6SQQBVSA.js} +1 -1
- package/dist/chunk-74BWCTGT.cjs +1 -0
- package/dist/{chunk-G6QAZH7S.cjs → chunk-CTYIRZ5A.cjs} +1 -1
- package/dist/chunk-DCZLRK3J.js +2 -0
- package/dist/{chunk-I7OQUICC.js → chunk-EXYFDTFM.js} +1 -1
- package/dist/chunk-F7LPH2UL.cjs +1 -0
- package/dist/chunk-GF4A6TFM.js +2 -0
- package/dist/chunk-GJLQAO4M.cjs +1 -0
- package/dist/chunk-H62QDZOV.cjs +2 -0
- package/dist/chunk-I7ZFG4YT.js +2 -0
- package/dist/chunk-JM4WTJDB.cjs +3 -0
- package/dist/chunk-KPGAKQEP.js +2 -0
- package/dist/chunk-LWGAE6PD.cjs +1 -0
- package/dist/chunk-MATTX7AJ.js +1 -0
- package/dist/chunk-MZKL2XHU.js +2 -0
- package/dist/{chunk-Y5TAAZAI.cjs → chunk-NYCASMFK.cjs} +1 -1
- package/dist/chunk-PNL4K4BQ.cjs +1 -0
- package/dist/chunk-PVXOGAWH.js +2 -0
- package/dist/chunk-QF6YIMT4.js +2 -0
- package/dist/chunk-QLXJH36U.cjs +1 -0
- package/dist/{chunk-6ZDLVWZ6.js → chunk-QQ7BRHDQ.js} +1 -1
- package/dist/chunk-QXAMOFS3.cjs +1 -0
- package/dist/chunk-QZIQVD63.js +3 -0
- package/dist/chunk-RMRBUBTB.js +3 -0
- package/dist/chunk-S5NRWKDP.cjs +1 -0
- package/dist/chunk-ST7Z3YRS.js +2 -0
- package/dist/chunk-SVO6TMF5.js +2 -0
- package/dist/chunk-UYLBFQ4P.js +2 -0
- package/dist/chunk-VQ4KEVVH.cjs +1 -0
- package/dist/chunk-VQV2OVOZ.cjs +1 -0
- package/dist/chunk-WRE54KQN.js +2 -0
- package/dist/chunk-WX4V6S4A.js +1 -0
- package/dist/chunk-Y5HRSSOF.cjs +1 -0
- package/dist/chunk-YBIQ3S5G.cjs +1 -0
- package/dist/{chunk-FEBCSS3H.js → chunk-Z44HLHNN.js} +1 -1
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.js +2 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.js +2 -2
- package/dist/index-BiFYC5eM.d.ts +245 -0
- package/dist/index-CISBacKa.d.cts +245 -0
- 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/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.js +1 -2
- package/dist/tailwind/tsMorph.cjs +1 -2
- package/dist/tailwind/tsMorph.js +2 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/types-BRmrSr-u.d.cts +10585 -0
- package/dist/types-BRmrSr-u.d.ts +10585 -0
- package/package.json +1 -1
- package/dist/chunk-3K7DOMTA.js +0 -3
- package/dist/chunk-5CIFYYX6.js +0 -1
- package/dist/chunk-5IKCFMD6.cjs +0 -3
- package/dist/chunk-66AIQC3S.cjs +0 -1
- package/dist/chunk-6SO7GS3O.cjs +0 -1
- package/dist/chunk-B5DVYOHR.js +0 -2
- package/dist/chunk-I2KSBIOI.js +0 -2
- package/dist/chunk-LAIVXF4G.cjs +0 -2
- package/dist/chunk-NUEZVMWZ.cjs +0 -1
- package/dist/chunk-PZY3L2VB.cjs +0 -1
- package/dist/chunk-S5UKKXRV.js +0 -2
- package/dist/chunk-T7TLALTB.js +0 -1
- package/dist/chunk-TW6PDFBX.cjs +0 -1
- package/dist/chunk-YLWUR5SE.js +0 -2
- /package/dist/{domAnimation-ESPUKI4G.cjs → domAnimation-26D6WPCP.cjs} +0 -0
- /package/dist/{domAnimation-MWKTMI4P.js → domAnimation-FQC75V5T.js} +0 -0
- /package/dist/{domMax-ZTC57OAI.cjs → domMax-7KVFVNKB.cjs} +0 -0
- /package/dist/{domMax-OBCHPQP3.js → domMax-XRPNJ6D3.js} +0 -0
@@ -1,2 +1 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
2
|
-
function a(e){if(i.Node.isCallExpression(e)){const t=e.getExpression();if(i.Node.isIdentifier(t)&&"forwardRef"===t.getText())return!0;if(i.Node.isPropertyAccessExpression(t)&&"React.forwardRef"===t.getText())return!0}return!1}function d(e){let t;if(i.Node.isVariableDeclaration(e)||i.Node.isFunctionDeclaration(e)||i.Node.isClassDeclaration(e))t=e.getName();else if(i.Node.isFunctionExpression(e)||i.Node.isArrowFunction(e)){const n=e.getFirstAncestorByKind(i.SyntaxKind.VariableDeclaration);t=n?.getName()}return!!t&&/[A-Z]/.test(t.charAt(0))}function c(e){if(d(e)){if(i.Node.isFunctionDeclaration(e))return e;if(i.Node.isVariableDeclaration(e)){const t=e.getInitializer();if(t)if(a(t)){const[e]=t.getArguments();if(i.Node.isFunctionDeclaration(e)||i.Node.isFunctionExpression(e)||i.Node.isArrowFunction(e))return e}else if(i.Node.isFunctionDeclaration(t)||i.Node.isFunctionExpression(t)||i.Node.isArrowFunction(t))return t}}return null}function f(e){return e.getDescendants().filter(e=>i.Node.isJsxElement(e)||i.Node.isJsxSelfClosingElement(e))}var u=e=>{const t=e.getParentWhile(e=>!c(e)).getParent();if(!t)return;const n=c(t);if(n){const e=n.getParameters();for(let t=0;t<e.length;t++){const n=e[t],r=n.getChildrenOfKind(i.SyntaxKind.ObjectBindingPattern)[0],s=n.getChildrenOfKind(i.SyntaxKind.Identifier)[0];if(r){const e=r.getFirstDescendantByKind(i.SyntaxKind.DotDotDotToken);if(void 0!==e){const t=e?.getParent()?.getFirstChildByKindOrThrow(i.SyntaxKind.Identifier).getText();return t}}else if(s)return s.getText()}}};exports.findReferencesAsJsxElements=function(e){const t=[];for(const n of e.findReferencesAsNodes()){const e=n.getFirstAncestor(e=>i.Node.isJsxOpeningElement(e)||i.Node.isJsxSelfClosingElement(e));e&&t.push(e)}return t},exports.getJsxElement=function(e,t){return f(e).find(e=>e.getFirstDescendantByKindOrThrow(i.SyntaxKind.Identifier).getText()===t)},exports.getJsxElements=f,exports.getParentSpreadOrParamIdentifier=u,exports.getReactFunctionDeclaration=c,exports.getUsedPropsInReference=t=>{const n=t.getAttributes(),r=[];return n.forEach(n=>{if(i.Node.isJsxAttribute(n)){const t=n.getNameNode().getText(),a=n.getDescendantsOfKind(i.SyntaxKind.StringLiteral),d=[];0!==a.length&&a.forEach(e=>d.push(e.getLiteralText()));const c=n.getFirstChildByKindOrThrow(i.SyntaxKind.Identifier).getDefinitions().map(e=>e.getDeclarationNode()?.getChildrenOfKind(i.SyntaxKind.TypeReference).pop()?.getText()).pop();c||o.default(t)?e.variants[s.default(c)]&&!o.default(c)?r.push([s.default(c),d]):o.default(t)||r.push([t,d]):r.push([t,d])}if(i.Node.isJsxSpreadAttribute(n)){const e=u(t),a=n.getExpression().getChildren(),d=0===a.length?n.getExpression():a.pop();if(!d||d?.getText()===e)return[];d.getType().getProperties().forEach(e=>{const t=e.getDeclarations().map(e=>{const t=e.getChildrenOfKind(i.SyntaxKind.TypeReference)[0]?.getText()??"";return s.default(t)})[0];o.default(e.getName())||r.push([e.getName(),[]]),o.default(t)||r.push([t,[]])})}return[]}),r},exports.isForwardRefExpression=a,exports.isJsxComponent=d;
|
1
|
+
"use strict";var e=require("../chunk-GJLQAO4M.cjs"),t=require("../chunk-QLXJH36U.cjs"),r=require("ts-morph"),n=t.__commonJS({"../../node_modules/lodash/_baseSlice.js"(e,t){t.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}}}),o=t.__commonJS({"../../node_modules/lodash/_castSlice.js"(e,t){var r=n();t.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}}}),i=t.__commonJS({"../../node_modules/lodash/_hasUnicode.js"(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return r.test(e)}}}),s=t.__commonJS({"../../node_modules/lodash/_asciiToArray.js"(e,t){t.exports=function(e){return e.split("")}}}),u=t.__commonJS({"../../node_modules/lodash/_unicodeToArray.js"(e,t){var r="\\ud800-\\udfff",n="["+r+"]",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",s="[^"+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",d="(?:"+o+"|"+i+")"+"?",f="[\\ufe0e\\ufe0f]?",c=f+d+("(?:\\u200d(?:"+[s,u,a].join("|")+")"+f+d+")*"),l="(?:"+[s+o+"?",o,u,a,n].join("|")+")",p=RegExp(i+"(?="+i+")|"+l+c,"g");t.exports=function(e){return e.match(p)||[]}}}),a=t.__commonJS({"../../node_modules/lodash/_stringToArray.js"(e,t){var r=s(),n=i(),o=u();t.exports=function(e){return n(e)?o(e):r(e)}}}),d=t.__commonJS({"../../node_modules/lodash/_createCaseFirst.js"(t,r){var n=o(),s=i(),u=a(),d=e.require_toString();r.exports=function(e){return function(t){t=d(t);var r=s(t)?u(t):void 0,o=r?r[0]:t.charAt(0),i=r?n(r,1).join(""):t.slice(1);return o[e]()+i}}}}),f=t.__commonJS({"../../node_modules/lodash/upperFirst.js"(e,t){var r=d()("toUpperCase");t.exports=r}}),c=t.__commonJS({"../../node_modules/lodash/capitalize.js"(t,r){var n=e.require_toString(),o=f();r.exports=function(e){return o(n(e).toLowerCase())}}}),l=t.__commonJS({"../../node_modules/lodash/camelCase.js"(t,r){var n=c(),o=e.require_createCompounder()(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)});r.exports=o}}),p=t.__commonJS({"../../node_modules/lodash/isEmpty.js"(t,r){var n=e.require_baseKeys(),o=e.require_getTag(),i=e.require_isArguments(),s=e.require_isArray(),u=e.require_isArrayLike(),a=e.require_isBuffer(),d=e.require_isPrototype(),f=e.require_isTypedArray(),c=Object.prototype.hasOwnProperty;r.exports=function(e){if(null==e)return!0;if(u(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||a(e)||f(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(d(e))return!n(e).length;for(var r in e)if(c.call(e,r))return!1;return!0}}}),g=t.__toESM(l(),1),x=t.__toESM(p(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function m(e){if(r.Node.isCallExpression(e)){const t=e.getExpression();if(r.Node.isIdentifier(t)&&"forwardRef"===t.getText())return!0;if(r.Node.isPropertyAccessExpression(t)&&"React.forwardRef"===t.getText())return!0}return!1}function _(e){let t;if(r.Node.isVariableDeclaration(e)||r.Node.isFunctionDeclaration(e)||r.Node.isClassDeclaration(e))t=e.getName();else if(r.Node.isFunctionExpression(e)||r.Node.isArrowFunction(e)){const n=e.getFirstAncestorByKind(r.SyntaxKind.VariableDeclaration);t=n?.getName()}return!!t&&/[A-Z]/.test(t.charAt(0))}function h(e){if(_(e)){if(r.Node.isFunctionDeclaration(e))return e;if(r.Node.isVariableDeclaration(e)){const t=e.getInitializer();if(t)if(m(t)){const[e]=t.getArguments();if(r.Node.isFunctionDeclaration(e)||r.Node.isFunctionExpression(e)||r.Node.isArrowFunction(e))return e}else if(r.Node.isFunctionDeclaration(t)||r.Node.isFunctionExpression(t)||r.Node.isArrowFunction(t))return t}}return null}function y(e){return e.getDescendants().filter(e=>r.Node.isJsxElement(e)||r.Node.isJsxSelfClosingElement(e))}var S=e=>{const t=e.getParentWhile(e=>!h(e)).getParent();if(!t)return;const n=h(t);if(n){const e=n.getParameters();for(let t=0;t<e.length;t++){const n=e[t],o=n.getChildrenOfKind(r.SyntaxKind.ObjectBindingPattern)[0],i=n.getChildrenOfKind(r.SyntaxKind.Identifier)[0];if(o){const e=o.getFirstDescendantByKind(r.SyntaxKind.DotDotDotToken);if(void 0!==e){const t=e?.getParent()?.getFirstChildByKindOrThrow(r.SyntaxKind.Identifier).getText();return t}}else if(i)return i.getText()}}};exports.findReferencesAsJsxElements=function(e){const t=[];for(const n of e.findReferencesAsNodes()){const e=n.getFirstAncestor(e=>r.Node.isJsxOpeningElement(e)||r.Node.isJsxSelfClosingElement(e));e&&t.push(e)}return t},exports.getJsxElement=function(e,t){return y(e).find(e=>e.getFirstDescendantByKindOrThrow(r.SyntaxKind.Identifier).getText()===t)},exports.getJsxElements=y,exports.getParentSpreadOrParamIdentifier=S,exports.getReactFunctionDeclaration=h,exports.getUsedPropsInReference=t=>{const n=t.getAttributes(),o=[];return n.forEach(n=>{if(r.Node.isJsxAttribute(n)){const t=n.getNameNode().getText(),i=n.getDescendantsOfKind(r.SyntaxKind.StringLiteral),s=[];0!==i.length&&i.forEach(e=>s.push(e.getLiteralText()));const u=n.getFirstChildByKindOrThrow(r.SyntaxKind.Identifier).getDefinitions().map(e=>e.getDeclarationNode()?.getChildrenOfKind(r.SyntaxKind.TypeReference).pop()?.getText()).pop();u||(0,x.default)(t)?e.variants[(0,g.default)(u)]&&!(0,x.default)(u)?o.push([(0,g.default)(u),s]):(0,x.default)(t)||o.push([t,s]):o.push([t,s])}if(r.Node.isJsxSpreadAttribute(n)){const e=S(t),i=n.getExpression().getChildren(),s=0===i.length?n.getExpression():i.pop();if(!s||s?.getText()===e)return[];s.getType().getProperties().forEach(e=>{const t=e.getDeclarations().map(e=>{const t=e.getChildrenOfKind(r.SyntaxKind.TypeReference)[0]?.getText()??"";return(0,g.default)(t)})[0];(0,x.default)(e.getName())||o.push([e.getName(),[]]),(0,x.default)(t)||o.push([t,[]])})}return[]}),o},exports.isForwardRefExpression=m,exports.isJsxComponent=_;
|
package/dist/tailwind/tsMorph.js
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
import{variants as
|
1
|
+
import{require_toString as e,require_createCompounder as t,require_baseKeys as n,require_getTag as r,require_isArguments as i,require_isArray as o,require_isArrayLike as s,require_isBuffer as u,require_isPrototype as f,require_isTypedArray as a,variants as d}from"../chunk-SVO6TMF5.js";import{__commonJS as c,__toESM as l}from"../chunk-GF4A6TFM.js";import{Node as p,SyntaxKind as g}from"ts-morph";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
+
var h=c({"../../node_modules/lodash/_baseSlice.js"(e,t){t.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}}}),x=c({"../../node_modules/lodash/_castSlice.js"(e,t){var n=h();t.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}}}),m=c({"../../node_modules/lodash/_hasUnicode.js"(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return n.test(e)}}}),T=c({"../../node_modules/lodash/_asciiToArray.js"(e,t){t.exports=function(e){return e.split("")}}}),F=c({"../../node_modules/lodash/_unicodeToArray.js"(e,t){var n="\\ud800-\\udfff",r="["+n+"]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",s="[^"+n+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+i+"|"+o+")"+"?",d="[\\ufe0e\\ufe0f]?",c=d+a+("(?:\\u200d(?:"+[s,u,f].join("|")+")"+d+a+")*"),l="(?:"+[s+i+"?",i,u,f,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+l+c,"g");t.exports=function(e){return e.match(p)||[]}}}),j=c({"../../node_modules/lodash/_stringToArray.js"(e,t){var n=T(),r=m(),i=F();t.exports=function(e){return r(e)?i(e):n(e)}}}),v=c({"../../node_modules/lodash/_createCaseFirst.js"(t,n){var r=x(),i=m(),o=j(),s=e();n.exports=function(e){return function(t){t=s(t);var n=i(t)?o(t):void 0,u=n?n[0]:t.charAt(0),f=n?r(n,1).join(""):t.slice(1);return u[e]()+f}}}}),A=c({"../../node_modules/lodash/upperFirst.js"(e,t){var n=v()("toUpperCase");t.exports=n}}),y=c({"../../node_modules/lodash/capitalize.js"(t,n){var r=e(),i=A();n.exports=function(e){return i(r(e).toLowerCase())}}}),D=c({"../../node_modules/lodash/camelCase.js"(e,n){var r=y(),i=t()(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});n.exports=i}}),E=c({"../../node_modules/lodash/isEmpty.js"(e,t){var d=n(),c=r(),l=i(),p=o(),g=s(),h=u(),x=f(),m=a(),T=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return!0;if(g(e)&&(p(e)||"string"==typeof e||"function"==typeof e.splice||h(e)||m(e)||l(e)))return!e.length;var t=c(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(x(e))return!d(e).length;for(var n in e)if(T.call(e,n))return!1;return!0}}}),_=l(D(),1),C=l(E(),1);function b(e){if(p.isCallExpression(e)){const t=e.getExpression();if(p.isIdentifier(t)&&"forwardRef"===t.getText())return!0;if(p.isPropertyAccessExpression(t)&&"React.forwardRef"===t.getText())return!0}return!1}function O(e){let t;if(p.isVariableDeclaration(e)||p.isFunctionDeclaration(e)||p.isClassDeclaration(e))t=e.getName();else if(p.isFunctionExpression(e)||p.isArrowFunction(e)){const n=e.getFirstAncestorByKind(g.VariableDeclaration);t=n?.getName()}return!!t&&/[A-Z]/.test(t.charAt(0))}function w(e){if(O(e)){if(p.isFunctionDeclaration(e))return e;if(p.isVariableDeclaration(e)){const t=e.getInitializer();if(t)if(b(t)){const[e]=t.getArguments();if(p.isFunctionDeclaration(e)||p.isFunctionExpression(e)||p.isArrowFunction(e))return e}else if(p.isFunctionDeclaration(t)||p.isFunctionExpression(t)||p.isArrowFunction(t))return t}}return null}function K(e,t){return N(e).find(e=>e.getFirstDescendantByKindOrThrow(g.Identifier).getText()===t)}function N(e){return e.getDescendants().filter(e=>p.isJsxElement(e)||p.isJsxSelfClosingElement(e))}function P(e){const t=[];for(const n of e.findReferencesAsNodes()){const e=n.getFirstAncestor(e=>p.isJsxOpeningElement(e)||p.isJsxSelfClosingElement(e));e&&t.push(e)}return t}var R=e=>{const t=e.getParentWhile(e=>!w(e)).getParent();if(!t)return;const n=w(t);if(n){const e=n.getParameters();for(let t=0;t<e.length;t++){const n=e[t],r=n.getChildrenOfKind(g.ObjectBindingPattern)[0],i=n.getChildrenOfKind(g.Identifier)[0];if(r){const e=r.getFirstDescendantByKind(g.DotDotDotToken);if(void 0!==e){const t=e?.getParent()?.getFirstChildByKindOrThrow(g.Identifier).getText();return t}}else if(i)return i.getText()}}},S=e=>{const t=e.getAttributes(),n=[];return t.forEach(t=>{if(p.isJsxAttribute(t)){const e=t.getNameNode().getText(),r=t.getDescendantsOfKind(g.StringLiteral),i=[];0!==r.length&&r.forEach(e=>i.push(e.getLiteralText()));const o=t.getFirstChildByKindOrThrow(g.Identifier).getDefinitions().map(e=>e.getDeclarationNode()?.getChildrenOfKind(g.TypeReference).pop()?.getText()).pop();o||(0,C.default)(e)?d[(0,_.default)(o)]&&!(0,C.default)(o)?n.push([(0,_.default)(o),i]):(0,C.default)(e)||n.push([e,i]):n.push([e,i])}if(p.isJsxSpreadAttribute(t)){const r=R(e),i=t.getExpression().getChildren(),o=0===i.length?t.getExpression():i.pop();if(!o||o?.getText()===r)return[];o.getType().getProperties().forEach(e=>{const t=e.getDeclarations().map(e=>{const t=e.getChildrenOfKind(g.TypeReference)[0]?.getText()??"";return(0,_.default)(t)})[0];(0,C.default)(e.getName())||n.push([e.getName(),[]]),(0,C.default)(t)||n.push([t,[]])})}return[]}),n};export{P as findReferencesAsJsxElements,K as getJsxElement,N as getJsxElements,R as getParentSpreadOrParamIdentifier,w as getReactFunctionDeclaration,S as getUsedPropsInReference,b as isForwardRefExpression,O as isJsxComponent};
|
package/dist/tailwind/utils.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("../chunk-
|
1
|
+
"use strict";var e=require("../chunk-74BWCTGT.cjs"),t=require("../chunk-QXAMOFS3.cjs");Object.defineProperty(exports,"addFontsPlugin",{enumerable:!0,get:function(){return e.addFontsPlugin}}),Object.defineProperty(exports,"getBaseTextVars",{enumerable:!0,get:function(){return e.getBaseTextVars}}),Object.defineProperty(exports,"getColorModeStyles",{enumerable:!0,get:function(){return e.getColorModeStyles}}),Object.defineProperty(exports,"getFontFaceDeclarations",{enumerable:!0,get:function(){return e.getFontFaceDeclarations}}),Object.defineProperty(exports,"getFontStyles",{enumerable:!0,get:function(){return e.getFontStyles}}),Object.defineProperty(exports,"getMotionStyles",{enumerable:!0,get:function(){return e.getMotionStyles}}),Object.defineProperty(exports,"getResponsiveTextStyles",{enumerable:!0,get:function(){return e.getResponsiveTextStyles}}),Object.defineProperty(exports,"getScaleModeStyles",{enumerable:!0,get:function(){return e.getScaleModeStyles}}),Object.defineProperty(exports,"getShadowStyles",{enumerable:!0,get:function(){return e.getShadowStyles}}),Object.defineProperty(exports,"getShadowLayerValue",{enumerable:!0,get:function(){return t.getShadowLayerValue}}),Object.defineProperty(exports,"getShadowPresetValues",{enumerable:!0,get:function(){return t.getShadowPresetValues}});
|
package/dist/tailwind/utils.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{addFontsPlugin,getBaseTextVars,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getResponsiveTextStyles,getScaleModeStyles,getShadowStyles}from"../chunk-
|
1
|
+
export{addFontsPlugin,getBaseTextVars,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getResponsiveTextStyles,getScaleModeStyles,getShadowStyles}from"../chunk-5D2A6RFS.js";export{getShadowLayerValue,getShadowPresetValues}from"../chunk-MZKL2XHU.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("../../chunk-LAIVXF4G.cjs"),a=require("@yahoo/uds/fixtures");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var r={label:"Avatar",description:"An avatar is a visual element that represents a user or entity, usually shown as a circle or square with an image, icon, or initials. It's commonly used in profiles, comments, or messages to help identify people.",variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:e.createLayerConfig({label:"root",properties:{height:e.createConfigurableProperty({name:"height",label:"Height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),width:e.createConfigurableProperty({name:"width",label:"Width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{xs:"thin",sm:"thin",md:"thin",lg:"thin",xl:"thin"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{xs:"caption1",sm:"caption2",md:"headline1",lg:"title4",xl:"title3"}})}}),icon:e.createLayerConfig({label:"icon",properties:{iconSize:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg",xl:"lg"}})}})}})},subComponents:{text:e.createSubComponentConfig({label:"Text",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"brand",secondary:"secondary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"brand",secondary:"secondary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}}),image:e.createSubComponentConfig({label:"Image",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"muted",secondary:"muted"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}}),icon:e.createSubComponentConfig({label:"Icon",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"muted",secondary:"muted"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"secondary",secondary:"secondary"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"primary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}})}};var t={label:"Badge",description:"Component for demo purposes and testing the automation",variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"0.5",sm:"1",md:"1.5",lg:"2"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{xs:"label4",sm:"label3",md:"label2",lg:"label1"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg"}})}})}}),variant:e.createVariantConfigWithProperties({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary","alert","alert-secondary","warning","warning-secondary","positive","positive-secondary","info","info-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none",alert:"none","alert-secondary":"none",warning:"none","warning-secondary":"none",positive:"none","positive-secondary":"none",info:"none","info-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"sm",secondary:"sm",brand:"sm","brand-secondary":"sm",alert:"sm","alert-secondary":"sm",warning:"sm","warning-secondary":"sm",positive:"sm","positive-secondary":"sm",info:"sm","info-secondary":"sm"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl-invert",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}})}})}})}};var o={label:"Checkbox",description:"A checkbox is a small, interactive element that lets users select one or more options from a list.",variants:{size:e.createVariantConfigWithProperties({label:"size",isConfigurable:!0,options:["sm","md"],default:"md",description:"",layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2.5"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),checkbox:e.createLayerConfig({label:"checkbox",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Checkbox border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"thin",md:"thin"}}),height:e.createConfigurableProperty({name:"height",label:"Checkbox height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}}),width:e.createConfigurableProperty({name:"width",label:"Checkbox width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}})}})}}),variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:e.createComponentStates({label:"value",options:["checked","unchecked","indeterminate"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}}),checkbox:e.createLayerConfig({label:"checkbox",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",alert:"tertiary","alert-secondary":"tertiary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Checkbox background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",alert:"md","alert-secondary":"none"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"md","alert-secondary":"xl"}})}}),checkboxIcon:e.createLayerConfig({label:"checkboxIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}})}})}})}};var l={label:"Chip",description:"A chip is a small, interactive element that presents information, actions, or selections in a compact form — commonly used for tags, filters, or user input.",subComponents:{toggle:e.createSubComponentConfig({label:"Toggle",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})}}),dismissible:e.createSubComponentConfig({label:"Dismissible",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"gray-4",secondary:"blue-4",brand:"red-4","brand-secondary":"purple-4"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"gray-9",secondary:"blue-9",brand:"red-9","brand-secondary":"red-4"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}}),link:e.createSubComponentConfig({label:"Link",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],pseudoStates:["hover","pressed"],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})},variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"3",md:"3"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"1",md:"1.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label1",md:"label1"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{sm:"full",md:"full"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{sm:"sm",md:"md"}})}})}})}};var s={label:"Divider",description:"Divider lines are purely decorative and non-interactive, serving as a visual guide. Use as horizontal and vertical lines.",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","muted"],layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{primary:"2",secondary:"2",tertiary:"2",muted:"2"}})}}),line:e.createLayerConfig({label:"line",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Thickness",typeOfFixture:["borderWidths"],values:[a.borderWidths.filter(e=>"none"!==e)],defaults:{primary:"thin",secondary:"thin",tertiary:"thin",muted:"thin"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}}),label:e.createLayerConfig({label:"label",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{primary:"label3",secondary:"label3",tertiary:"label3",muted:"label3"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}})}})}};var i={label:"input",description:"An input field is a box where users can type or select information. It can also open a dropdown menu to show options or help collect data.",variants:{size:e.createVariantConfigWithProperties({label:"size",isConfigurable:!0,options:["md","lg"],default:"md",description:"",layers:{root:e.createLayerConfig({label:"root",properties:{}}),inputWrapper:e.createLayerConfig({label:"inputWrapper",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"3.5",lg:"4"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"2",lg:"3.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"3",lg:"3"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],pseudoStates:["pressed","invalid"],defaults:{md:"thin",lg:"thin"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{md:"md",lg:"md"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Input text style",typeOfFixture:["textVariants"],pseudoStates:["hover"],values:[a.textVariants],defaults:{md:"label2",lg:"label2"}})}}),input:e.createLayerConfig({label:"input",properties:{height:e.createConfigurableProperty({name:"height",label:"Input element height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"6",lg:"6"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Start icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"md",lg:"md"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"End icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"md",lg:"md"}})}}),label:e.createLayerConfig({label:"label",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{md:"label4",lg:"label4"}})}}),helperIcon:e.createLayerConfig({label:"helperIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Helper text icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"sm",lg:"sm"}})}}),helperText:e.createLayerConfig({label:"helperText",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{md:"label4",lg:"label4"}})}})}}),variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{value:e.createComponentStates({label:"value",options:["filled","empty"],layers:{root:e.createLayerConfig({label:"root",properties:{}}),inputWrapper:e.createLayerConfig({label:"input",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"tertiary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"primary"}})}}),input:e.createLayerConfig({label:"input",properties:{color:e.createConfigurableProperty({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),inputPlaceholder:e.createLayerConfig({label:"inputPlaceholder",pseudoSelector:"::placeholder",properties:{color:e.createConfigurableProperty({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Start icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"End icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),label:e.createLayerConfig({label:"label",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),labelRequired:e.createLayerConfig({label:"labelRequired",properties:{color:e.createConfigurableProperty({name:"color",label:"Required color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperIcon:e.createLayerConfig({label:"helperIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Helper icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperText:e.createLayerConfig({label:"helpText",properties:{color:e.createConfigurableProperty({name:"color",label:"Helper text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"brand"}})}})}})}})}};var n={label:"Link",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{textStyle:e.createVariantConfigWithProperties({label:"Text Style",description:"",isConfigurable:!0,default:"title1",options:a.textVariants,layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{display1:"2",display2:"2",display3:"2",title1:"2",title2:"2",title3:"2",title4:"2",headline1:"2",body1:"2",label1:"2",label2:"2",label3:"2",label4:"2",caption1:"2",caption2:"2",legal1:"2",ui1:"2",ui2:"2",ui3:"2",ui4:"2",ui5:"2",ui6:"2"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{display1:"lg",display2:"lg",display3:"lg",title1:"md",title2:"md",title3:"md",title4:"md",headline1:"md",body1:"md",label1:"md",label2:"md",label3:"md",label4:"sm",caption1:"md",caption2:"sm",legal1:"md",ui1:"md",ui2:"md",ui3:"md",ui4:"md",ui5:"md",ui6:"md"}})}})}}),variant:e.createVariantConfigWithProperties({label:"Variants",description:"Variants",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","on-color"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}}),textDecorationLine:e.createConfigurableProperty({name:"textDecorationLine",label:"Underline",typeOfFixture:["textDecorationLines"],values:[a.textDecorationLines],pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none","on-color":"none"}})}}),iconStart:e.createLayerConfig({label:"iconStart",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon start color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}}),iconEnd:e.createLayerConfig({label:"iconEnd",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon end color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}})}})}};var d={label:"Menu",description:"A menu is a component that offers a list of choices to the user, such as a set of actions or functions. ",variants:{size:e.createVariantConfigWithProperties({label:"size",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:e.createLayerConfig({label:"root",properties:{}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{default:"sm"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{default:"sm"}})}})}})},subComponents:{item:e.createSubComponentConfig({label:"Item",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",pseudoStates:["hover","focused"],label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand-secondary"}})}}),text:e.createLayerConfig({label:"text",properties:{color:e.createConfigurableProperty({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[a.textVariants],defaults:{default:"label2"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}})}})}})}}),itemCheckbox:e.createSubComponentConfig({label:"ItemCheckbox",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand-secondary"}})}}),text:e.createLayerConfig({label:"text",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[a.textVariants],defaults:{default:"label2"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}})}})}})}}),divider:e.createSubComponentConfig({label:"divider",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:e.createLayerConfig({label:"root",properties:{}}),text:e.createLayerConfig({label:"text",properties:{color:e.createConfigurableProperty({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"muted"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{default:"label3"}})}}),line:e.createLayerConfig({label:"line",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"line thickness",typeOfFixture:["borderWidths"],values:[a.borderWidths.filter(e=>"none"!==e)],defaults:{default:"thin"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"line color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{default:"transparent"}})}})}})}})}};var p={label:"Radio",description:"Component for demo purposes and testing the automation",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"Preview the colors, spacing values, and motion effects of your component at their default size.",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:e.createComponentStates({label:"value",options:["checked","unchecked"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}})}}),radio:e.createLayerConfig({label:"radio",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"Radio border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"tertiary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Radio background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",alert:"xl","alert-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"xl","alert-secondary":"xl-invert"}})}}),radioCircle:e.createLayerConfig({label:"radioCircle",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Radio circle color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"brand",secondary:"brand-secondary",alert:"alert","alert-secondary":"alert-secondary"}})}})}})}}),size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"sm",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2.5"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),radio:e.createLayerConfig({label:"radio",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Radio border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"thin",md:"thin"}}),height:e.createConfigurableProperty({name:"height",label:"Radio height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}}),width:e.createConfigurableProperty({name:"width",label:"Radio width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}})}})}})}};var c={label:"Switch",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",default:"default",options:["default"],isConfigurable:!0,componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{labelColor:e.createConfigurableProperty({name:"color",label:"Label color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"secondary"}})}}),switch:e.createLayerConfig({label:"switch",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Track background color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Track border color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handle:e.createLayerConfig({label:"handle",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Handle color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"primary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handleIcon:e.createLayerConfig({label:"handleIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors],defaults:{default:"brand"}})}})}})}}),size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"0",md:"0"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"1",md:"1.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),switch:e.createLayerConfig({label:"switch",properties:{height:e.createConfigurableProperty({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"5",md:"7"}}),width:e.createConfigurableProperty({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"8",md:"12"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Track border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"none",md:"none"}}),padding:e.createConfigurableProperty({name:"padding",label:"Track padding",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"0.5",md:"0.5"}})}}),handle:e.createLayerConfig({label:"Handle",properties:{height:e.createConfigurableProperty({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"6"}}),width:e.createConfigurableProperty({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"6"}})}}),handleIcon:e.createLayerConfig({label:"Icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{sm:"sm",md:"sm"}})}})}})}};exports.AvatarConfig=r,exports.BadgeConfig=t,exports.CheckboxConfig=o,exports.ChipConfig=l,exports.DividerConfig=s,exports.InputConfig=i,exports.LinkConfig=n,exports.MenuConfig=d,exports.RadioConfig=p,exports.SwitchConfig=c;
|
1
|
+
"use strict";var e=require("../../chunk-QXAMOFS3.cjs"),a=require("@yahoo/uds/fixtures");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var r={label:"Avatar",description:"An avatar is a visual element that represents a user or entity, usually shown as a circle or square with an image, icon, or initials. It's commonly used in profiles, comments, or messages to help identify people.",variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg","xl"],layers:{root:e.createLayerConfig({label:"root",properties:{height:e.createConfigurableProperty({name:"height",label:"Height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),width:e.createConfigurableProperty({name:"width",label:"Width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"6",sm:"7",md:"10",lg:"12",xl:"16"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{xs:"thin",sm:"thin",md:"thin",lg:"thin",xl:"thin"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{xs:"caption1",sm:"caption2",md:"headline1",lg:"title4",xl:"title3"}})}}),icon:e.createLayerConfig({label:"icon",properties:{iconSize:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg",xl:"lg"}})}})}})},subComponents:{text:e.createSubComponentConfig({label:"Text",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"brand",secondary:"secondary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"brand",secondary:"secondary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}}),image:e.createSubComponentConfig({label:"Image",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"muted",secondary:"muted"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}}),icon:e.createSubComponentConfig({label:"Icon",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"Shapes and sizes defined here will be applied across the entire family of Avatar (Icon, Image, Text)",isConfigurable:!0,options:["primary","secondary"],default:"primary",layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"muted",secondary:"muted"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"secondary",secondary:"secondary"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"primary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"full",secondary:"sm"}})}})}})}})}};var t={label:"Badge",description:"Component for demo purposes and testing the automation",variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["xs","sm","md","lg"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"0.5",sm:"1",md:"1.5",lg:"2"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{xs:"2",sm:"4",md:"6",lg:"8"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{xs:"label4",sm:"label3",md:"label2",lg:"label1"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{xs:"sm",sm:"sm",md:"md",lg:"lg"}})}})}}),variant:e.createVariantConfigWithProperties({label:"Variants",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary","alert","alert-secondary","warning","warning-secondary","positive","positive-secondary","info","info-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none",alert:"none","alert-secondary":"none",warning:"none","warning-secondary":"none",positive:"none","positive-secondary":"none",info:"none","info-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{primary:"sm",secondary:"sm",brand:"sm","brand-secondary":"sm",alert:"sm","alert-secondary":"sm",warning:"sm","warning-secondary":"sm",positive:"sm","positive-secondary":"sm",info:"sm","info-secondary":"sm"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl",alert:"xl","alert-secondary":"xl-invert",warning:"xl","warning-secondary":"xl",positive:"xl","positive-secondary":"xl",info:"xl","info-secondary":"sm"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary",alert:"alert","alert-secondary":"alert-secondary",warning:"warning","warning-secondary":"warning-secondary",positive:"positive","positive-secondary":"positive-secondary",info:"info","info-secondary":"info-secondary"}})}})}})}};var o={label:"Checkbox",description:"A checkbox is a small, interactive element that lets users select one or more options from a list.",variants:{size:e.createVariantConfigWithProperties({label:"size",isConfigurable:!0,options:["sm","md"],default:"md",description:"",layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2.5"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),checkbox:e.createLayerConfig({label:"checkbox",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Checkbox border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"thin",md:"thin"}}),height:e.createConfigurableProperty({name:"height",label:"Checkbox height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}}),width:e.createConfigurableProperty({name:"width",label:"Checkbox width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}})}})}}),variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:e.createComponentStates({label:"value",options:["checked","unchecked","indeterminate"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}}),checkbox:e.createLayerConfig({label:"checkbox",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"tertiary",secondary:"tertiary",alert:"tertiary","alert-secondary":"tertiary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Checkbox background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"none",secondary:"none",alert:"md","alert-secondary":"none"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"md","alert-secondary":"xl"}})}}),checkboxIcon:e.createLayerConfig({label:"checkboxIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","disabled"],defaults:{primary:"primary",secondary:"primary",alert:"primary","alert-secondary":"primary"}})}})}})}})}};var l={label:"Chip",description:"A chip is a small, interactive element that presents information, actions, or selections in a compact form — commonly used for tags, filters, or user input.",subComponents:{toggle:e.createSubComponentConfig({label:"Toggle",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})}}),dismissible:e.createSubComponentConfig({label:"Dismissible",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"gray-4",secondary:"blue-4",brand:"red-4","brand-secondary":"purple-4"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"gray-9",secondary:"blue-9",brand:"red-9","brand-secondary":"red-4"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],pseudoStates:["hover","pressed"],values:[a.borderWidths],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}}),link:e.createSubComponentConfig({label:"Link",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","brand","brand-secondary"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"secondary","brand-secondary":"secondary"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],pseudoStates:["hover","pressed"],defaults:{primary:"thin",secondary:"none",brand:"none","brand-secondary":"none"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",brand:"md","brand-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",brand:"md","brand-secondary":"xl"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",brand:"brand","brand-secondary":"brand-secondary"}})}})}})}})},variants:{size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"3",md:"3"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"1",md:"1.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label1",md:"label1"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{sm:"full",md:"full"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{sm:"sm",md:"md"}})}})}})}};var s={label:"Divider",description:"Divider lines are purely decorative and non-interactive, serving as a visual guide. Use as horizontal and vertical lines.",variants:{variant:e.createVariantConfigWithProperties({label:"Variant",description:"",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","muted"],layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{primary:"2",secondary:"2",tertiary:"2",muted:"2"}})}}),line:e.createLayerConfig({label:"line",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Thickness",typeOfFixture:["borderWidths"],values:[a.borderWidths.filter(e=>"none"!==e)],defaults:{primary:"thin",secondary:"thin",tertiary:"thin",muted:"thin"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}}),label:e.createLayerConfig({label:"label",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{primary:"label3",secondary:"label3",tertiary:"label3",muted:"label3"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted"}})}})}})}};var i={label:"input",description:"An input field is a box where users can type or select information. It can also open a dropdown menu to show options or help collect data.",variants:{size:e.createVariantConfigWithProperties({label:"size",isConfigurable:!0,options:["md","lg"],default:"md",description:"",layers:{root:e.createLayerConfig({label:"root",properties:{}}),inputWrapper:e.createLayerConfig({label:"inputWrapper",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"3.5",lg:"4"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"2",lg:"3.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"3",lg:"3"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],pseudoStates:["pressed","invalid"],defaults:{md:"thin",lg:"thin"}}),borderRadius:e.createConfigurableProperty({name:"borderRadius",label:"Border radius",typeOfFixture:["borderRadii"],values:[a.borderRadii],defaults:{md:"md",lg:"md"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Input text style",typeOfFixture:["textVariants"],pseudoStates:["hover"],values:[a.textVariants],defaults:{md:"label2",lg:"label2"}})}}),input:e.createLayerConfig({label:"input",properties:{height:e.createConfigurableProperty({name:"height",label:"Input element height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{md:"6",lg:"6"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Start icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"md",lg:"md"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"End icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"md",lg:"md"}})}}),label:e.createLayerConfig({label:"label",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{md:"label4",lg:"label4"}})}}),helperIcon:e.createLayerConfig({label:"helperIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Helper text icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{md:"sm",lg:"sm"}})}}),helperText:e.createLayerConfig({label:"helperText",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Label text style",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{md:"label4",lg:"label4"}})}})}}),variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{value:e.createComponentStates({label:"value",options:["filled","empty"],layers:{root:e.createLayerConfig({label:"root",properties:{}}),inputWrapper:e.createLayerConfig({label:"input",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"Border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"tertiary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"primary"}})}}),input:e.createLayerConfig({label:"input",properties:{color:e.createConfigurableProperty({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),inputPlaceholder:e.createLayerConfig({label:"inputPlaceholder",pseudoSelector:"::placeholder",properties:{color:e.createConfigurableProperty({name:"color",label:"Input text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Start icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"End icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),label:e.createLayerConfig({label:"label",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),labelRequired:e.createLayerConfig({label:"labelRequired",properties:{color:e.createConfigurableProperty({name:"color",label:"Required color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperIcon:e.createLayerConfig({label:"helperIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Helper icon color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"muted"}})}}),helperText:e.createLayerConfig({label:"helpText",properties:{color:e.createConfigurableProperty({name:"color",label:"Helper text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed","focus-within","invalid","invalid&hover","invalid&pressed","readonly","disabled"],defaults:{default:"brand"}})}})}})}})}};var n={label:"Link",description:"Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",variants:{textStyle:e.createVariantConfigWithProperties({label:"Text Style",description:"",isConfigurable:!0,default:"title1",options:a.textVariants,layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{display1:"2",display2:"2",display3:"2",title1:"2",title2:"2",title3:"2",title4:"2",headline1:"2",body1:"2",label1:"2",label2:"2",label3:"2",label4:"2",caption1:"2",caption2:"2",legal1:"2",ui1:"2",ui2:"2",ui3:"2",ui4:"2",ui5:"2",ui6:"2"}})}}),icon:e.createLayerConfig({label:"icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{display1:"lg",display2:"lg",display3:"lg",title1:"md",title2:"md",title3:"md",title4:"md",headline1:"md",body1:"md",label1:"md",label2:"md",label3:"md",label4:"sm",caption1:"md",caption2:"sm",legal1:"md",ui1:"md",ui2:"md",ui3:"md",ui4:"md",ui5:"md",ui6:"md"}})}})}}),variant:e.createVariantConfigWithProperties({label:"Variants",description:"Variants",isConfigurable:!0,default:"primary",options:["primary","secondary","tertiary","on-color"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}}),textDecorationLine:e.createConfigurableProperty({name:"textDecorationLine",label:"Underline",typeOfFixture:["textDecorationLines"],values:[a.textDecorationLines],pseudoStates:["hover","pressed"],defaults:{primary:"none",secondary:"none",tertiary:"none","on-color":"none"}})}}),iconStart:e.createLayerConfig({label:"iconStart",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon start color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}}),iconEnd:e.createLayerConfig({label:"iconEnd",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon end color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],pseudoStates:["hover","pressed"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{primary:"primary",secondary:"secondary",tertiary:"tertiary","on-color":"on-color"}})}})}})}};var d={label:"Menu",description:"A menu is a component that offers a list of choices to the user, such as a set of actions or functions. ",variants:{size:e.createVariantConfigWithProperties({label:"size",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:e.createLayerConfig({label:"root",properties:{}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{default:"sm"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{default:"sm"}})}})}})},subComponents:{item:e.createSubComponentConfig({label:"Item",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",pseudoStates:["hover","focused"],label:"background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand-secondary"}})}}),text:e.createLayerConfig({label:"text",properties:{color:e.createConfigurableProperty({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[a.textVariants],defaults:{default:"label2"}})}}),icon:e.createLayerConfig({label:"icon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}})}})}})}}),itemCheckbox:e.createSubComponentConfig({label:"ItemCheckbox",description:"",variants:{variant:e.createVariantConfigWithComponentStates({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"background color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand-secondary"}})}}),text:e.createLayerConfig({label:"text",properties:{textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],pseudoStates:["hover","focused"],values:[a.textVariants],defaults:{default:"label2"}}),color:e.createConfigurableProperty({name:"color",label:"Text color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}}),startIcon:e.createLayerConfig({label:"startIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}}),endIcon:e.createLayerConfig({label:"endIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover","focused"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}})}})}})}})}}),divider:e.createSubComponentConfig({label:"divider",description:"",variants:{variant:e.createVariantConfigWithProperties({label:"variant",description:"",isConfigurable:!0,options:["default"],default:"default",layers:{root:e.createLayerConfig({label:"root",properties:{}}),text:e.createLayerConfig({label:"text",properties:{color:e.createConfigurableProperty({name:"color",label:"text color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"muted"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{default:"label3"}})}}),line:e.createLayerConfig({label:"line",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"line thickness",typeOfFixture:["borderWidths"],values:[a.borderWidths.filter(e=>"none"!==e)],defaults:{default:"thin"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"line color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{default:"transparent"}})}})}})}})}};var p={label:"Radio",description:"Component for demo purposes and testing the automation",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"Preview the colors, spacing values, and motion effects of your component at their default size.",isConfigurable:!0,options:["primary","secondary","alert","alert-secondary"],default:"primary",componentStates:{value:e.createComponentStates({label:"value",options:["checked","unchecked"],layers:{root:e.createLayerConfig({label:"root",properties:{color:e.createConfigurableProperty({name:"color",label:"Label color",typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"primary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}})}}),radio:e.createLayerConfig({label:"radio",properties:{borderColor:e.createConfigurableProperty({name:"borderColor",label:"Radio border color",typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"tertiary",secondary:"secondary",alert:"alert","alert-secondary":"alert-secondary"}}),backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Radio background color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"secondary",secondary:"secondary",alert:"secondary","alert-secondary":"secondary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover","pressed"],defaults:{primary:"2xl",secondary:"xl",alert:"xl","alert-secondary":"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover","pressed"],defaults:{primary:"2xl-invert",secondary:"md-invert",alert:"xl","alert-secondary":"xl-invert"}})}}),radioCircle:e.createLayerConfig({label:"radioCircle",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Radio circle color",typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],pseudoStates:["hover","pressed"],defaults:{primary:"brand",secondary:"brand-secondary",alert:"alert","alert-secondary":"alert-secondary"}})}})}})}}),size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"sm",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2.5"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),radio:e.createLayerConfig({label:"radio",properties:{borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Radio border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"thin",md:"thin"}}),height:e.createConfigurableProperty({name:"height",label:"Radio height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}}),width:e.createConfigurableProperty({name:"width",label:"Radio width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"5"}})}})}})}};var c={label:"Switch",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",variants:{variant:e.createVariantConfigWithComponentStates({label:"Variant",description:"A switch is a toggle control that lets users turn a setting on or off. It’s commonly used for binary actions like enabling or disabling a feature.",default:"default",options:["default"],isConfigurable:!0,componentStates:{active:e.createComponentStates({label:"active",options:["on","off"],layers:{root:e.createLayerConfig({label:"root",properties:{labelColor:e.createConfigurableProperty({name:"color",label:"Label color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"secondary"}})}}),switch:e.createLayerConfig({label:"switch",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Track background color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),borderColor:e.createConfigurableProperty({name:"borderColor",label:"Track border color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","linePaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.linePaletteColors,a.alwaysPaletteAliases],defaults:{default:"brand"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handle:e.createLayerConfig({label:"handle",properties:{backgroundColor:e.createConfigurableProperty({name:"backgroundColor",label:"Handle color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","backgroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.backgroundPaletteColors,a.alwaysPaletteAliases],defaults:{default:"primary"}}),shadow:e.createConfigurableProperty({name:"shadow",label:"Drop shadow",typeOfFixture:["shadowVariants"],supportsCustom:!0,values:[a.shadowVariants],pseudoStates:["hover"],defaults:{default:"xl"}}),insetShadow:e.createConfigurableProperty({name:"insetShadow",label:"Inset shadow",typeOfFixture:["shadowVariantsWithInvert"],supportsCustom:!0,values:[a.shadowVariantsWithInvert],pseudoStates:["hover"],defaults:{default:"2xl-invert"}})}}),handleIcon:e.createLayerConfig({label:"handleIcon",properties:{color:e.createConfigurableProperty({name:"color",label:"Icon color",pseudoStates:["hover"],typeOfFixture:["spectrumColors","foregroundPaletteColors","alwaysPaletteAliases"],values:[a.spectrumColors,a.foregroundPaletteColors],defaults:{default:"brand"}})}})}})}}),size:e.createVariantConfigWithProperties({label:"Size",description:"These sizes will apply across all variants",isConfigurable:!0,default:"md",options:["sm","md"],layers:{root:e.createLayerConfig({label:"root",properties:{spacingHorizontal:e.createConfigurableProperty({name:"spacingHorizontal",label:"Spacing horizontal",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"0",md:"0"}}),spacingVertical:e.createConfigurableProperty({name:"spacingVertical",label:"Spacing vertical",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"1",md:"1.5"}}),gap:e.createConfigurableProperty({name:"gap",label:"Gap",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"2",md:"2"}}),textVariant:e.createConfigurableProperty({name:"textVariant",label:"Text variant",typeOfFixture:["textVariants"],values:[a.textVariants],defaults:{sm:"label4",md:"label2"}})}}),switch:e.createLayerConfig({label:"switch",properties:{height:e.createConfigurableProperty({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"5",md:"7"}}),width:e.createConfigurableProperty({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"8",md:"12"}}),borderWidth:e.createConfigurableProperty({name:"borderWidth",label:"Track border width",typeOfFixture:["borderWidths"],values:[a.borderWidths],defaults:{sm:"none",md:"none"}}),padding:e.createConfigurableProperty({name:"padding",label:"Track padding",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"0.5",md:"0.5"}})}}),handle:e.createLayerConfig({label:"Handle",properties:{height:e.createConfigurableProperty({name:"height",label:"Track height",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"6"}}),width:e.createConfigurableProperty({name:"width",label:"Track width",typeOfFixture:["spacingAliases"],values:[a.spacingAliases],defaults:{sm:"4",md:"6"}})}}),handleIcon:e.createLayerConfig({label:"Icon",properties:{size:e.createConfigurableProperty({name:"iconSize",label:"Icon size",typeOfFixture:["iconSizes"],values:[a.iconSizes],defaults:{sm:"sm",md:"sm"}})}})}})}};exports.AvatarConfig=r,exports.BadgeConfig=t,exports.CheckboxConfig=o,exports.ChipConfig=l,exports.DividerConfig=s,exports.InputConfig=i,exports.LinkConfig=n,exports.MenuConfig=d,exports.RadioConfig=p,exports.SwitchConfig=c;
|