@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
50 lines (48 loc) • 1.83 kB
JavaScript
/**
* Copyright IBM Corp. 2020, 2026
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import "../../globals/settings.js";
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.127.0/helpers/decorate.js";
import tearsheet_navigation_bar_default$1 from "./tearsheet-navigation-bar.scss.js";
import { LitElement, html } from "lit";
import { property } from "lit/decorators.js";
import HostListenerMixin from "@carbon/web-components/es/globals/mixins/host-listener.js";
import { carbonElement } from "@carbon/web-components/es/globals/decorators/carbon-element.js";
import '@carbon/web-components/es-custom/components/modal/index.js';
//#region src/components/tearsheet-preview/tearsheet-navigation-bar.ts
/**
* @license
*
* Copyright IBM Corp. 2026
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* tearsheet navigation bar at the bottom of the header
* @element c4p-tearsheet-navigation-bar
*/
let CDSTearsheetNavigationBar = class CDSTearsheetNavigationBar extends HostListenerMixin(LitElement) {
constructor(..._args) {
super(..._args);
this.slot = "navigation-bar";
}
render() {
return html`
<slot></slot>
<slot name="scroller"></slot>
`;
}
static {
this.styles = tearsheet_navigation_bar_default$1;
}
};
__decorate([property({ reflect: true })], CDSTearsheetNavigationBar.prototype, "slot", void 0);
CDSTearsheetNavigationBar = __decorate([carbonElement(`c4p-tearsheet-navigation-bar`)], CDSTearsheetNavigationBar);
var tearsheet_navigation_bar_default = CDSTearsheetNavigationBar;
//#endregion
export { tearsheet_navigation_bar_default as default };
//# sourceMappingURL=tearsheet-navigation-bar.js.map