ReactMaterial3/dist/divider-Diu_1O5h.mjs

39 lines
1.2 KiB
JavaScript

import { _ as t, n as i, r, a as n, b as d } from "./class-map-CwiboTfb.mjs";
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
class e extends r {
constructor() {
super(...arguments), this.inset = !1, this.insetStart = !1, this.insetEnd = !1;
}
}
t([
i({ type: Boolean, reflect: !0 })
], e.prototype, "inset", void 0);
t([
i({ type: Boolean, reflect: !0, attribute: "inset-start" })
], e.prototype, "insetStart", void 0);
t([
i({ type: Boolean, reflect: !0, attribute: "inset-end" })
], e.prototype, "insetEnd", void 0);
/**
* @license
* Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
const a = n`:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:"";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}
`;
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
let s = class extends e {
};
s.styles = [a];
s = t([
d("md-divider")
], s);