@orangelogic/design-system 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/library/package.json
CHANGED
|
@@ -257,6 +257,19 @@ export default class CxCarousel extends CortexElement {
|
|
|
257
257
|
get selectedCarouselItem(): string;
|
|
258
258
|
get canMoveCarouselItem(): boolean;
|
|
259
259
|
get canDeleteCarouselItem(): boolean;
|
|
260
|
+
/**
|
|
261
|
+
* The `sizes` hint for slide images, derived from the slide layout rather than a
|
|
262
|
+
* measured width: the carousel sizes slides purely in CSS, so no pixel width is
|
|
263
|
+
* available at render time.
|
|
264
|
+
*
|
|
265
|
+
* Vertical carousels stack slides, so each one spans the full width regardless of
|
|
266
|
+
* `slidesPerPage` — only the horizontal layout divides the row.
|
|
267
|
+
*
|
|
268
|
+
* This uses the viewport rather than the carousel's own box, so a carousel rendered
|
|
269
|
+
* in a narrow column over-estimates and requests one ladder rung too large. That is
|
|
270
|
+
* still far better than the full-resolution original served without `sizes`.
|
|
271
|
+
*/
|
|
272
|
+
private get slideSizes();
|
|
260
273
|
constructor();
|
|
261
274
|
connectedUpdatedCallback(): void;
|
|
262
275
|
runFirstUpdated(): void;
|