{"version":3,"file":"eui-components-eui-split-button.mjs","sources":["../../eui-split-button/eui-split-button.component.ts","../../eui-split-button/eui-split-button.component.html","../../eui-split-button/index.ts","../../eui-split-button/eui-components-eui-split-button.ts"],"sourcesContent":["import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * @description\n * The EuiSplitButtonComponent is a wrapper for a button and a dropdown.\n * It is used to create a split button with various styles and functionalities.\n *\n * @usageNotes\n * ### Basic Usage\n * ```html\n * <eui-split-button>\n *   <eui-button euiPrimary (click)=\"primaryAction()\">\n *     Save\n *   </eui-button>\n *   <eui-dropdown>\n *     <eui-dropdown-item (click)=\"saveAndClose()\">Save & Close</eui-dropdown-item>\n *     <eui-dropdown-item (click)=\"saveAsDraft()\">Save as Draft</eui-dropdown-item>\n *   </eui-dropdown>\n * </eui-split-button>\n * ```\n *\n * ### Accessibility\n * - Ensure primary button has clear, action-oriented label\n * - Dropdown items should have descriptive text\n * - Keyboard navigation works for both button and dropdown\n *\n * ### Notes\n * - Combines a primary action button with a dropdown menu of related actions\n * - Primary button executes the most common action\n * - Dropdown provides alternative or related actions\n */\n@Component({\n    selector: 'eui-split-button',\n    templateUrl: './eui-split-button.component.html',\n    styleUrls: ['./eui-split-button.scss'],\n    changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiSplitButtonComponent {\n    @HostBinding('class')\n    public get cssClasses(): string {\n        return 'eui-split-button';\n    }\n}\n","<ng-content select=\"button\" />\n<ng-content select=\"eui-dropdown\" />\n","import { EuiSplitButtonComponent } from './eui-split-button.component';\n\nexport * from './eui-split-button.component';\n\nexport const EUI_SPLIT_BUTTON = [\n    EuiSplitButtonComponent,\n] as const;\n\n// export { EuiSplitButtonComponent as EuiSplitButton } from './eui-split-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BG;MAOU,uBAAuB,CAAA;AAChC,IAAA,IACW,UAAU,GAAA;AACjB,QAAA,OAAO,kBAAkB;IAC7B;8GAJS,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,kICrCpC,4EAEA,EAAA,MAAA,EAAA,CAAA,ipCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDmCa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;+BACI,kBAAkB,EAAA,eAAA,EAGX,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4EAAA,EAAA,MAAA,EAAA,CAAA,ipCAAA,CAAA,EAAA;;sBAG9C,WAAW;uBAAC,OAAO;;;AElCjB,MAAM,gBAAgB,GAAG;IAC5B,uBAAuB;;AAG3B;;ACRA;;AAEG;;;;"}