@justeattakeaway/pie-webc-core 0.6.0 → 0.7.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/.eslintignore +3 -0
- package/CHANGELOG.md +6 -0
- package/package.json +3 -1
- package/src/mixins/rtl/rtlMixin.ts +1 -0
- package/tsconfig.json +1 -1
package/.eslintignore
ADDED
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-webc-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "PIE design system base classes, mixins and utilities for web components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"author": "JustEatTakeaway - Design System Web Team",
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"scripts": {
|
|
10
|
+
"lint:scripts": "run -T eslint .",
|
|
11
|
+
"lint:scripts:fix": "run -T eslint . --fix",
|
|
10
12
|
"test": "run -T vitest run"
|
|
11
13
|
},
|
|
12
14
|
"volta": {
|
|
@@ -3,6 +3,7 @@ import { LitElement } from 'lit';
|
|
|
3
3
|
import { property } from 'lit/decorators/property.js';
|
|
4
4
|
|
|
5
5
|
// According to TS, "A mixin class must have a constructor with a single rest parameter of type 'any[]'."
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
7
|
type Constructor<T> = new (...args: any[]) => T;
|
|
7
8
|
|
|
8
9
|
type htmlDirAttribute = 'ltr' | 'rtl' | 'auto';
|
package/tsconfig.json
CHANGED