{"version":3,"sources":["../../../src/theme/utilities/borders.ts"],"sourcesContent":["// @imports\r\nimport { PackageTypes } from '../../constants/index.types';\r\nimport { isPackageWeb } from '../../helpers/base';\r\nimport { convertObjectDimensionsUnit } from '../../helpers/layout';\r\n\r\n// @file declarations\r\nconst borderWidths = {};\r\n\r\nconst borders = {};\r\n\r\nconst bordersProps = (arg?: PackageTypes) => {\r\n  const isWeb = isPackageWeb(arg);\r\n\r\n  return {\r\n    borderWidths: isWeb\r\n      ? (convertObjectDimensionsUnit(borderWidths) as BorderWidthsTypes)\r\n      : borderWidths,\r\n    borders,\r\n  };\r\n};\r\n\r\n// @types definitions\r\nexport type BorderWidthsTypes = typeof borderWidths;\r\n\r\nexport type BorderWidthsKeys = keyof BorderWidthsTypes;\r\n\r\n// @exports\r\nexport default bordersProps;\r\n"],"mappings":";;;;;;;;;;;AAMA,IAAM,eAAe,CAAC;AAEtB,IAAM,UAAU,CAAC;AAEjB,IAAM,eAAe,CAAC,QAAuB;AAC3C,QAAM,QAAQ,aAAa,GAAG;AAE9B,SAAO;AAAA,IACL,cAAc,QACT,4BAA4B,YAAY,IACzC;AAAA,IACJ;AAAA,EACF;AACF;AAQA,IAAO,kBAAQ;","names":[]}