{"version":3,"file":"iconButtonDefaults.cjs","sources":["../../../../../src/components/ui/iconButton/iconButtonDefaults.ts"],"sourcesContent":["import type { IconButtonProps } from \"./IconButtonProps\";\n\n/** Default props for IconButton component */\nexport const iconButtonDefaults: Partial<IconButtonProps> = {\n  // sm to match its twin Button's default size — an IconButton beside a Button must not render one\n  // size step taller (they share BUTTON_CATEGORIES and the same --py-unit scale).\n  sm: true,\n  inlineFlex: true,\n  itemsCenter: true,\n  justifyCenter: true,\n  outline: true,\n  primary: true,\n  rounded: true,\n  noBorder: true,\n  padding: true,\n  insetRing: true,\n  focusVisible: true,\n  cursorPointer: true,\n  transition: true,\n  // wFit (like Button) makes the width definite (fit-content) instead of auto.\n  // With auto width, a flex-column parent using the default align-items: stretch\n  // would stretch the button to the container width, and once width is definite\n  // the aspect-square/hFit pair can no longer recover the square (it renders a\n  // full-width bar). A definite fit-content width is immune to that stretch, and\n  // because IconButton uses --aspect-ratio:1 (symmetric padding) around a square\n  // icon with min-w == min-h, fit-content width equals the height at every size,\n  // so the button stays square in any container.\n  wFit: true,\n  hFit: true,\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAA,GAA+C;AAAA;AAAA;AAAA,EAG1D,EAAA,EAAI,IAAA;AAAA,EACJ,UAAA,EAAY,IAAA;AAAA,EACZ,WAAA,EAAa,IAAA;AAAA,EACb,aAAA,EAAe,IAAA;AAAA,EACf,OAAA,EAAS,IAAA;AAAA,EACT,OAAA,EAAS,IAAA;AAAA,EACT,OAAA,EAAS,IAAA;AAAA,EACT,QAAA,EAAU,IAAA;AAAA,EACV,OAAA,EAAS,IAAA;AAAA,EACT,SAAA,EAAW,IAAA;AAAA,EACX,YAAA,EAAc,IAAA;AAAA,EACd,aAAA,EAAe,IAAA;AAAA,EACf,UAAA,EAAY,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASZ,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM;AACR;;;;"}