@m3e/shape 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/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
6
  import { unsafeCSS, css, LitElement, html } from 'lit';
7
- import { DesignToken, Role } from '@m3e/core';
7
+ import { DesignToken } from '@m3e/core';
8
8
 
9
9
  /******************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
@@ -96,6 +96,7 @@ const ShapeStyle = css `
96
96
  position: relative;
97
97
  isolation: isolate;
98
98
  overflow: hidden;
99
+ will-change: clip-path;
99
100
  }
100
101
  ::slotted(img),
101
102
  ::slotted(video) {
@@ -171,7 +172,6 @@ const ShapeNameStyle = [
171
172
  ];
172
173
 
173
174
  /**
174
- * @summary
175
175
  * A shape used to add emphasis and decorative flair.
176
176
  *
177
177
  * @description
@@ -200,7 +200,7 @@ const ShapeNameStyle = [
200
200
  * @cssprop --m3e-shape-container-color - Container (background) color of the shape.
201
201
  * @cssprop --m3e-shape-transition - Transition used to morph between shapes.
202
202
  */
203
- let M3eShapeElement = class M3eShapeElement extends Role(LitElement, "none") {
203
+ let M3eShapeElement = class M3eShapeElement extends LitElement {
204
204
  constructor() {
205
205
  super(...arguments);
206
206
  /**