import{SortAscending as n,SortDescending as t,Sort as e}from"@vibe/icons";import{SkeletonType as c}from"../../Skeleton/SkeletonConstants.js";function o(n){return"number"==typeof n?"".concat(n,"px"):"string"==typeof n?/%|px|fr$/.test(n)?n:"".concat(n,"px"):(null==n?void 0:n.min)&&(null==n?void 0:n.max)?"minmax(".concat(o(n.min),", ").concat(o(n.max),")"):"minmax(112px, 1fr)"}function i(n){return Object.assign(Object.assign({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{display:"grid",gridTemplateColumns:n.map((function(n){return o(n.width)})).join(" ")})}function r(c){return"asc"===c?n:"desc"===c?t:e}function s(n){return"asc"===n?"desc":"desc"===n?"none":"asc"}function u(n){return"asc"===n?"ascending":"desc"===n?"descending":"none"}function a(n){return"circle"===n?c.CIRCLE:"rectangle"===n?c.RECTANGLE:c.TEXT}function m(n,t){return"long-text"===n?["long-text","medium-text"][t%2]:n}export{o as generateWidth,u as getAriaSort,m as getLoadingTypeForCell,s as getNextSortState,a as getSkeletonType,r as getSortIcon,i as getTableRowLayoutStyles};
//# sourceMappingURL=tableHelpers.js.map
