@shoelace-style/localize 2.1.0 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.1
4
+
5
+ - Change import to ensure only types get used
6
+
3
7
  ## 2.1.0
4
8
 
5
9
  - Added relative time method to
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ReactiveController, ReactiveControllerHost } from 'lit';
1
+ import type { ReactiveController, ReactiveControllerHost } from 'lit';
2
2
  export declare type FunctionParams<T> = T extends (...args: infer U) => string ? U : never;
3
3
  export interface Translation {
4
4
  $code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoelace-style/localize",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A micro library for localizing custom elements using Lit's Reactive Controller model.",
5
5
  "main": "/dist/index.js",
6
6
  "module": "/dist/index.js",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LitElement, ReactiveController, ReactiveControllerHost } from 'lit';
1
+ import type { LitElement, ReactiveController, ReactiveControllerHost } from 'lit';
2
2
 
3
3
  export type FunctionParams<T> = T extends (...args: infer U) => string ? U : never;
4
4