@dialpad/dialtone-vue
Version:
Vue component library for Dialpad's design system Dialtone
3 lines (2 loc) • 959 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./stack-constants.cjs");function n(t){if(typeof t=="string")return Object.keys(e.DT_STACK_DIRECTION).includes(t);if(typeof t=="object"){const{default:r}=t;return Object.keys(e.DT_STACK_DIRECTION).includes(r)}return!1}function u(t){if(typeof t=="string")return e.DT_STACK_GAP.includes(t);if(typeof t=="object"){const{default:r}=t;return e.DT_STACK_GAP.includes(r)}return!1}function l(t){if(t===void 0)return!0;if(typeof t=="string")return e.DT_STACK_ALIGN.includes(t);if(typeof t=="object"){const{default:r}=t;return e.DT_STACK_ALIGN.includes(r)}return!1}function f(t){if(typeof t=="string")return e.DT_STACK_JUSTIFY.includes(t);if(typeof t=="object"){const{default:r}=t;return e.DT_STACK_JUSTIFY.includes(r)}return!1}exports.alignValidator=l;exports.directionValidator=n;exports.gapValidator=u;exports.justifyValidator=f;
//# sourceMappingURL=validators.cjs.map