@m3e/theme 1.0.0-rc.1 → 1.0.0-rc.3
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/README.md +1 -2
- package/dist/custom-elements.json +2541 -9
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +29 -29
- package/dist/index.min.js.map +1 -1
- package/dist/src/ThemeElement.d.ts +1 -4
- package/dist/src/ThemeElement.d.ts.map +1 -1
- package/package.json +3 -3
- package/cem.config.mjs +0 -16
- package/eslint.config.mjs +0 -13
- package/rollup.config.js +0 -32
- package/src/ColorScheme.ts +0 -2
- package/src/ContrastLevel.ts +0 -2
- package/src/MotionScheme.ts +0 -2
- package/src/ThemeElement.ts +0 -284
- package/src/ThemeVariant.ts +0 -11
- package/src/index.ts +0 -5
- package/tsconfig.json +0 -9
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2025 matraic
|
|
4
4
|
* See LICENSE file in the project root for full license text.
|
|
5
5
|
*/
|
|
6
|
-
import { LitElement, html
|
|
7
|
-
import {
|
|
6
|
+
import { css, LitElement, html } from 'lit';
|
|
7
|
+
import { DesignToken } from '@m3e/core';
|
|
8
8
|
|
|
9
9
|
/******************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
@@ -3454,7 +3454,6 @@ function parseIntHex(value) {
|
|
|
3454
3454
|
|
|
3455
3455
|
var _M3eThemeElement_instances, _M3eThemeElement_styleSheet, _M3eThemeElement_firstUpdated, _M3eThemeElement_light, _M3eThemeElement_dark, _M3eThemeElement_forcedColor, _M3eThemeElement_colorSchemeChangeHandler, _M3eThemeElement_apply, _M3eThemeElement_getVariant, _M3eThemeElement_getContrastLevel;
|
|
3456
3456
|
/**
|
|
3457
|
-
* @summary
|
|
3458
3457
|
* A non-visual element responsible for application-level theming.
|
|
3459
3458
|
*
|
|
3460
3459
|
* @description
|
|
@@ -3490,7 +3489,7 @@ var _M3eThemeElement_instances, _M3eThemeElement_styleSheet, _M3eThemeElement_fi
|
|
|
3490
3489
|
*
|
|
3491
3490
|
* @fires change - Dispatched when the theme changes.
|
|
3492
3491
|
*/
|
|
3493
|
-
let M3eThemeElement = class M3eThemeElement extends
|
|
3492
|
+
let M3eThemeElement = class M3eThemeElement extends LitElement {
|
|
3494
3493
|
constructor() {
|
|
3495
3494
|
super(...arguments);
|
|
3496
3495
|
_M3eThemeElement_instances.add(this);
|