From 441a957432ebaf0b970fc70625ac33556177c2ff Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Tue, 20 Jun 2023 14:02:07 -0400 Subject: [PATCH] fix: `` has the wrong import for `LocalizeController` (#1384) * fix autoloading translations * add changelog entry * prettier * prettier --- docs/pages/resources/changelog.md | 1 + src/components/carousel/carousel.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index 01a440d3e..881413306 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -33,6 +33,7 @@ If you're a CDN user, you must update your path to point to `cdn/` instead of `d - Fixed a bug in `` where `` would not get checked if `` was defined first. [#1364](https://github.com/shoelace-style/shoelace/pull/1364/) - Fixed a bug in `` that caused date pickers to look filled in even when empty in Safari [#1341](https://github.com/shoelace-style/shoelace/pull/1341) - Fixed a bug in `` that sometimes caused dual scrollbars in containers that overflowed [#1380](https://github.com/shoelace-style/shoelace/issues/1380) +- Fixed a bug in `` not loading the English language pack automatically. [#1384](https://github.com/shoelace-style/shoelace/pull/1384) - Improved `` so it can accept children of variable heights [#1317](https://github.com/shoelace-style/shoelace/pull/1317) - Improved the docs to more clearly explain sizing radios and radio buttons - Improved the performance of `` by partially rendering unseen icons [#1310](https://github.com/shoelace-style/shoelace/pull/1310) diff --git a/src/components/carousel/carousel.ts b/src/components/carousel/carousel.ts index 186229853..f4a508a86 100644 --- a/src/components/carousel/carousel.ts +++ b/src/components/carousel/carousel.ts @@ -4,7 +4,7 @@ import { clamp } from '../../internal/math'; import { classMap } from 'lit/directives/class-map.js'; import { customElement, property, query, state } from 'lit/decorators.js'; import { html } from 'lit'; -import { LocalizeController } from '@shoelace-style/localize'; +import { LocalizeController } from '../../utilities/localize'; import { map } from 'lit/directives/map.js'; import { prefersReducedMotion } from '../../internal/animate'; import { range } from 'lit/directives/range.js';