@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
16 lines • 910 B
JavaScript
import{customElement as e}from"../../node_modules/@lit/reactive-element/decorators/custom-element.js";import"../../node_modules/lit/decorators.js";import t from"../../_virtual/_@oxc-project_runtime@0.144.0/helpers/esm/decorate.js";import{BaseCarousel as n}from"./internal/base-carousel.js";
/**
* @license
* Copyright 2026 Kai-Orion & Sandlada
* SPDX-License-Identifier: MIT
*
* @fileoverview
* Public `mdc-carousel` element — a horizontal, scroll-snap carousel that
* lays out its `mdc-carousel-item` children in large / medium / small widths.
*
* Mirrors the Jetpack Compose Material 3 carousel: in the default
* `multi-browse` variant the row mixes all three sizes and snaps to a leading
* keyline; `uncontained` uses a single fixed item width and scrolls freely.
*/
let r=class extends n{static{this.styles=n.styles}};r=t([e(`mdc-carousel`)],r);export{r as Carousel};
//# sourceMappingURL=carousel.js.map