@m3e/core 1.0.0 → 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 +4074 -4094
- package/dist/html-custom-data.json +0 -5
- package/dist/index.js +9 -17
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/src/shared/controllers/PressedController.d.ts.map +1 -1
- package/dist/src/shared/primitives/RippleElement.d.ts +1 -8
- package/dist/src/shared/primitives/RippleElement.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressedController.d.ts","sourceRoot":"","sources":["../../../../src/shared/controllers/PressedController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAE1F,kFAAkF;AAClF,MAAM,MAAM,yBAAyB,GAAG,CACtC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC/B,MAAM,EAAE,WAAW,KAChB,IAAI,CAAC;AAEV,oEAAoE;AACpE,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;IACxE,yEAAyE;IACzE,QAAQ,EAAE,yBAAyB,CAAC;IAEpC,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACzC;AAED,wFAAwF;AACxF,qBAAa,iBAAkB,SAAQ,qBAAqB;;IAa1D;;;;OAIG;gBACS,IAAI,EAAE,sBAAsB,GAAG,WAAW,EAAE,OAAO,EAAE,wBAAwB;IASzF,kBAAkB;IACT,aAAa,IAAI,IAAI;IAQ9B,kBAAkB;IACT,gBAAgB,IAAI,IAAI;IASjC;;;OAGG;cACgB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAStD;;;OAGG;cACgB,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"PressedController.d.ts","sourceRoot":"","sources":["../../../../src/shared/controllers/PressedController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAE1F,kFAAkF;AAClF,MAAM,MAAM,yBAAyB,GAAG,CACtC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC/B,MAAM,EAAE,WAAW,KAChB,IAAI,CAAC;AAEV,oEAAoE;AACpE,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;IACxE,yEAAyE;IACzE,QAAQ,EAAE,yBAAyB,CAAC;IAEpC,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACzC;AAED,wFAAwF;AACxF,qBAAa,iBAAkB,SAAQ,qBAAqB;;IAa1D;;;;OAIG;gBACS,IAAI,EAAE,sBAAsB,GAAG,WAAW,EAAE,OAAO,EAAE,wBAAwB;IASzF,kBAAkB;IACT,aAAa,IAAI,IAAI;IAQ9B,kBAAkB;IACT,gBAAgB,IAAI,IAAI;IASjC;;;OAGG;cACgB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAStD;;;OAGG;cACgB,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;CAoGzD"}
|
|
@@ -10,8 +10,7 @@ declare const M3eRippleElement_base: import("../mixins/Constructor").Constructor
|
|
|
10
10
|
* The component can be attached to an interactive element using the `for` attribute or programmatically using the `attach` method.
|
|
11
11
|
* The ripple is displayed when the interactive element is pressed and hidden when released. This can be disabled using the `disabled` attribute.
|
|
12
12
|
*
|
|
13
|
-
* The pressed state actives either using both pointer and keyboard events. For keyboard events, `SPACE`
|
|
14
|
-
* You can disabled whether the `ENTER` key actives a ripple using the `disable-enter` attribute.
|
|
13
|
+
* The pressed state actives either using both pointer and keyboard events. For keyboard events, `SPACE` activate a ripple.
|
|
15
14
|
*
|
|
16
15
|
* Alternately, you can use the `show` and `hide` methods to programmatically control the ripple.
|
|
17
16
|
*
|
|
@@ -29,7 +28,6 @@ declare const M3eRippleElement_base: import("../mixins/Constructor").Constructor
|
|
|
29
28
|
* @tag m3e-ripple
|
|
30
29
|
*
|
|
31
30
|
* @attr centered - Whether the ripple always originates from the center of the element's bounds, rather than originating from the location of the click event.
|
|
32
|
-
* @attr disable-enter - Whether the ripple is disabled when the enter key is pressed.
|
|
33
31
|
* @attr disabled - Whether click events will not trigger the ripple. Ripples can be still controlled manually by using the `show` and 'hide' methods.
|
|
34
32
|
* @attr for - The identifier of the interactive control to which this element is attached.
|
|
35
33
|
* @attr radius - The radius, in pixels, of the ripple.
|
|
@@ -52,11 +50,6 @@ export declare class M3eRippleElement extends M3eRippleElement_base {
|
|
|
52
50
|
* @default false
|
|
53
51
|
*/
|
|
54
52
|
disabled: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the ripple is disabled when the enter key is pressed.
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
disableEnter: boolean;
|
|
60
53
|
/**
|
|
61
54
|
* Whether the ripple always originates from the center of the element's bounds, rather
|
|
62
55
|
* than originating from the location of the click event.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RippleElement.d.ts","sourceRoot":"","sources":["../../../../src/shared/primitives/RippleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;;AAStE
|
|
1
|
+
{"version":3,"file":"RippleElement.d.ts","sourceRoot":"","sources":["../../../../src/shared/primitives/RippleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;;AAStE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBACa,gBAAiB,SAAQ,qBAAiC;;IACrE,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAmEpC;IAUF;;;;OAIG;IACyC,QAAQ,UAAS;IAE7D;;;;OAIG;IACyC,QAAQ,UAAS;IAE7D;;;OAGG;IACyC,SAAS,UAAS;IAE9D;;;OAGG;IACyB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEzD;;;OAGG;IACS,OAAO,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAAQ;IAExD,2DAA2D;IAC3D,IAAI,OAAO,YAEV;IAED;;;;;OAKG;IACH,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,IAAI;IAqC7D,iCAAiC;IACjC,IAAI,IAAI,IAAI;IAIZ,kBAAkB;IACT,MAAM,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAK3C,kBAAkB;IACT,MAAM,IAAI,IAAI;IAOvB,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAKlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAKrC,kBAAkB;cACC,OAAO,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;CAiC3E;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,gBAAgB,CAAC;KAChC;CACF"}
|