{"version":3,"sources":["../src/theme/components/indicator.ts"],"sourcesContent":["// @imports\r\nimport themeUtilities from '../utilities/';\r\n\r\nimport type { PackageTypes } from '@/constants/index.types';\r\n\r\n// @file declarations\r\n\r\nconst indicator = (arg?: PackageTypes) => {\r\n  const { space, fontSizes: themeFontSizes } = themeUtilities(arg);\r\n\r\n  const size = {\r\n    'xs': space[3],\r\n    'sm': space[3.5],\r\n    'md': space[4],\r\n    'lg': space[4.5],\r\n    'xl': space[5],\r\n    '2xl': space[6],\r\n  };\r\n\r\n  const fontSizes = {\r\n    'xs': themeFontSizes['2xs'],\r\n    'sm': themeFontSizes['2xs'],\r\n    'md': themeFontSizes['2xs'],\r\n    'lg': themeFontSizes['2xs'],\r\n    'xl': themeFontSizes.xs,\r\n    '2xl': themeFontSizes.xs,\r\n  };\r\n\r\n  const borderWidths = {\r\n    'xs': '2px',\r\n    'sm': '2px',\r\n    'md': '2px',\r\n    'lg': '2px',\r\n    'xl': '3px',\r\n    '2xl': '4px',\r\n  };\r\n\r\n  return {\r\n    size,\r\n    fontSizes,\r\n    borderWidths,\r\n  };\r\n};\r\n\r\n// @types definitions\r\nexport type IndicatorType = ReturnType<typeof indicator>;\r\n\r\n// @exports\r\nexport default indicator;\r\n"],"mappings":";;;;;AAOA,IAAM,YAAY,CAAC,QAAuB;AACxC,QAAM,EAAE,OAAO,WAAW,eAAe,IAAI,kBAAe,GAAG;AAE/D,QAAM,OAAO;AAAA,IACX,MAAM,MAAM,CAAC;AAAA,IACb,MAAM,MAAM,GAAG;AAAA,IACf,MAAM,MAAM,CAAC;AAAA,IACb,MAAM,MAAM,GAAG;AAAA,IACf,MAAM,MAAM,CAAC;AAAA,IACb,OAAO,MAAM,CAAC;AAAA,EAChB;AAEA,QAAM,YAAY;AAAA,IAChB,MAAM,eAAe,KAAK;AAAA,IAC1B,MAAM,eAAe,KAAK;AAAA,IAC1B,MAAM,eAAe,KAAK;AAAA,IAC1B,MAAM,eAAe,KAAK;AAAA,IAC1B,MAAM,eAAe;AAAA,IACrB,OAAO,eAAe;AAAA,EACxB;AAEA,QAAM,eAAe;AAAA,IACnB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAMA,IAAO,oBAAQ;","names":[]}