{"version":3,"file":"button-group.mjs","names":[],"sources":["../../../../../../packages/components/button/src/button-group.ts"],"sourcesContent":["import { definePropType } from '@element-plus/utils'\nimport { buttonProps } from './button'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type { ButtonProps } from './button'\n\nexport interface ButtonGroupProps {\n  /**\n   * @description control the size of buttons in this button-group\n   */\n  size?: ButtonProps['size']\n  /**\n   * @description control the type of buttons in this button-group\n   */\n  type?: ButtonProps['type']\n  /**\n   * @description display direction\n   */\n  direction?: 'horizontal' | 'vertical'\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `ButtonGroupProps` instead.\n */\nexport const buttonGroupProps = {\n  /**\n   * @description control the size of buttons in this button-group\n   */\n  size: buttonProps.size,\n  /**\n   * @description control the type of buttons in this button-group\n   */\n  type: buttonProps.type,\n  /**\n   * @description display direction\n   */\n  direction: {\n    type: definePropType<'horizontal' | 'vertical'>(String),\n    values: ['horizontal', 'vertical'],\n    default: 'horizontal',\n  },\n} as const\n\n/**\n * @deprecated Removed after 3.0.0, Use `ButtonGroupProps` instead.\n */\nexport type ButtonGroupPropsPublic = ExtractPublicPropTypes<\n  typeof buttonGroupProps\n>\n"],"mappings":";;;;;;;AAwBA,MAAa,mBAAmB;CAI9B,MAAM,YAAY;CAIlB,MAAM,YAAY;CAIlB,WAAW;EACT,MAAM,eAA0C,OAAO;EACvD,QAAQ,CAAC,cAAc,WAAW;EAClC,SAAS;EACV;CACF"}