import { attachInternals as e } from "../internal/utils/a11y.js";
import { useStyles as t } from "../internal/styles/index.js";
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
import r from "./divider.js";
import { LitElement as i, html as a } from "lit";
import { property as o } from "lit/decorators/property.js";
//#region src/divider/divider.ts
var s = class extends i {
	constructor(...e) {
		super(...e), this.orientation = "horizontal";
	}
	static {
		this.styles = t([r]);
	}
	static {
		this.metadata = {
			tag: "nve-divider",
			version: "2.0.2"
		};
	}
	render() {
		return a`<div internal-host></div>`;
	}
	connectedCallback() {
		super.connectedCallback(), e(this), this._internals.role = "separator", this._internals.ariaOrientation = this.orientation;
	}
	updated(e) {
		super.updated(e), e.has("orientation") && (this._internals.ariaOrientation = this.orientation);
	}
};
n([o({
	type: String,
	reflect: !0
})], s.prototype, "orientation", void 0);
//#endregion
export { s as Divider };

//# sourceMappingURL=divider2.js.map