@m3e/theme 1.0.1 → 1.0.2
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/dist/custom-elements.json +0 -51
- package/dist/html-custom-data.json +0 -5
- package/dist/index.js +3274 -5021
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +315 -38
- package/dist/index.min.js.map +1 -1
- package/dist/src/ThemeElement.d.ts +0 -7
- package/dist/src/ThemeElement.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/src/ThemeVariant.d.ts +0 -3
- package/dist/src/ThemeVariant.d.ts.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CSSResultGroup, LitElement, PropertyValues } from "lit";
|
|
2
2
|
import { ColorScheme } from "./ColorScheme";
|
|
3
3
|
import { ContrastLevel } from "./ContrastLevel";
|
|
4
|
-
import { ThemeVariant } from "./ThemeVariant";
|
|
5
4
|
import { MotionScheme } from "./MotionScheme";
|
|
6
5
|
/**
|
|
7
6
|
* A non-visual element responsible for application-level theming.
|
|
@@ -35,7 +34,6 @@ import { MotionScheme } from "./MotionScheme";
|
|
|
35
34
|
* @attr density - The density scale (0, -1, -2).
|
|
36
35
|
* @attr scheme - The color scheme of the theme.
|
|
37
36
|
* @attr strong-focus - Whether to enable strong focus indicators.
|
|
38
|
-
* @attr variant - The color variant of the theme.
|
|
39
37
|
*
|
|
40
38
|
* @fires change - Dispatched when the theme changes.
|
|
41
39
|
*/
|
|
@@ -48,11 +46,6 @@ export declare class M3eThemeElement extends LitElement {
|
|
|
48
46
|
* @default "#6750A4"
|
|
49
47
|
*/
|
|
50
48
|
color: string;
|
|
51
|
-
/**
|
|
52
|
-
* The color variant of the theme.
|
|
53
|
-
* @default "content"
|
|
54
|
-
*/
|
|
55
|
-
variant: ThemeVariant;
|
|
56
49
|
/**
|
|
57
50
|
* The color scheme of the theme.
|
|
58
51
|
* @default "auto"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeElement.d.ts","sourceRoot":"","sources":["../../src/ThemeElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemeElement.d.ts","sourceRoot":"","sources":["../../src/ThemeElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAc5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qBACa,eAAgB,SAAQ,UAAU;;IAC7C,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAQpC;IAUF;;;OAGG;IACS,KAAK,SAAa;IAE9B;;;OAGG;IACS,MAAM,EAAE,WAAW,CAAU;IAEzC;;;OAGG;IACS,QAAQ,EAAE,aAAa,CAAc;IAEjD;;;OAGG;IACqD,WAAW,UAAS;IAE5E;;;OAGG;IACyB,OAAO,SAAK;IAExC;;OAEG;IACS,MAAM,EAAE,YAAY,CAAc;IAE9C,uCAAuC;IACvC,IAAI,MAAM,IAAI,OAAO,CASpB;IAED,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAgBlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IASrC,kBAAkB;cACC,OAAO,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAK1E,kBAAkB;cACC,YAAY,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAKzE,kBAAkB;cACC,MAAM,IAAI,OAAO;CAoFrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,eAAe,CAAC;KAC9B;CACF"}
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m3e/theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Theme for M3E",
|
|
5
5
|
"author": "matraic <matraic@yahoo.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"clean": "rimraf dist"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@
|
|
31
|
+
"@material/material-color-utilities": "^0.3.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@m3e/core": "1.0.
|
|
34
|
+
"@m3e/core": "1.0.2",
|
|
35
35
|
"lit": "^3.3.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeVariant.d.ts","sourceRoot":"","sources":["../../src/ThemeVariant.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,SAAS,GACT,SAAS,GACT,YAAY,GACZ,SAAS,CAAC"}
|