import{SkeletonType as n}from"../../Skeleton/SkeletonConstants.js";import t from"../../../../packages/icons/dist/react/SortAscending.js";import e from"../../../../packages/icons/dist/react/SortDescending.js";import c from"../../../../packages/icons/dist/react/Sort.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(n){return"asc"===n?t:"desc"===n?e:c}function s(n){return"asc"===n?"desc":"desc"===n?"none":"asc"}function a(n){return"asc"===n?"ascending":"desc"===n?"descending":"none"}function m(t){return"circle"===t?n.CIRCLE:"rectangle"===t?n.RECTANGLE:n.TEXT}function u(n,t){return"long-text"===n?["long-text","medium-text"][t%2]:n}export{o as generateWidth,a as getAriaSort,u as getLoadingTypeForCell,s as getNextSortState,m as getSkeletonType,r as getSortIcon,i as getTableRowLayoutStyles};
//# sourceMappingURL=tableHelpers.js.map
