@m3e/option 1.1.10 → 1.2.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/README.md +18 -10
- package/dist/css-custom-data.json +47 -7
- package/dist/custom-elements.json +49 -7
- package/dist/html-custom-data.json +2 -2
- package/dist/index.js +41 -17
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +7 -7
- package/dist/index.min.js.map +1 -1
- package/dist/src/OptionElement.d.ts +5 -0
- package/dist/src/OptionElement.d.ts.map +1 -1
- package/dist/src/OptionPanelElement.d.ts +14 -9
- package/dist/src/OptionPanelElement.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -15,14 +15,19 @@ declare const M3eOptionPanelElement_base: import("node_modules/@m3e/core/dist/sr
|
|
|
15
15
|
* @fires beforetoggle - Dispatched before the toggle state changes.
|
|
16
16
|
* @fires toggle - Dispatched after the toggle state has changed.
|
|
17
17
|
*
|
|
18
|
-
* @cssprop --m3e-option-panel-container-shape -
|
|
19
|
-
* @cssprop --m3e-option-panel-container-min-width - Minimum width of the
|
|
20
|
-
* @cssprop --m3e-option-panel-container-max-width - Maximum width of the
|
|
21
|
-
* @cssprop --m3e-option-panel-container-max-height - Maximum height of the
|
|
22
|
-
* @cssprop --m3e-option-panel-container-padding-block - Vertical padding inside the
|
|
23
|
-
* @cssprop --m3e-option-panel-container-
|
|
24
|
-
* @cssprop --m3e-option-panel-container-
|
|
18
|
+
* @cssprop --m3e-option-panel-container-shape - Corner radius of the panel container.
|
|
19
|
+
* @cssprop --m3e-option-panel-container-min-width - Minimum width of the panel container.
|
|
20
|
+
* @cssprop --m3e-option-panel-container-max-width - Maximum width of the panel container.
|
|
21
|
+
* @cssprop --m3e-option-panel-container-max-height - Maximum height of the panel container.
|
|
22
|
+
* @cssprop --m3e-option-panel-container-padding-block - Vertical padding inside the panel container.
|
|
23
|
+
* @cssprop --m3e-option-panel-container-padding-inline - Horizontal padding inside the panel container.
|
|
24
|
+
* @cssprop --m3e-option-panel-container-color - Background color of the panel container.
|
|
25
|
+
* @cssprop --m3e-option-panel-container-elevation - Box shadow elevation of the panel container.
|
|
26
|
+
* @cssprop --m3e-option-panel-gap - Vertical spacing between option items.
|
|
25
27
|
* @cssprop --m3e-option-panel-divider-spacing - Vertical spacing around slotted `m3e-divider` elements.
|
|
28
|
+
* @cssprop --m3e-option-panel-text-highlight-container-color - Background color used for text highlight matches.
|
|
29
|
+
* @cssprop --m3e-option-panel-text-highlight-color - Text color used for text highlight matches.
|
|
30
|
+
|
|
26
31
|
*/
|
|
27
32
|
export declare class M3eOptionPanelElement extends M3eOptionPanelElement_base {
|
|
28
33
|
#private;
|
|
@@ -54,9 +59,9 @@ export declare class M3eOptionPanelElement extends M3eOptionPanelElement_base {
|
|
|
54
59
|
*/
|
|
55
60
|
toggle(trigger: HTMLElement, anchor?: HTMLElement): Promise<void>;
|
|
56
61
|
/** @inheritdoc */
|
|
57
|
-
protected render(): unknown;
|
|
58
|
-
/** @inheritdoc */
|
|
59
62
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
63
|
+
/** @inheritdoc */
|
|
64
|
+
protected render(): unknown;
|
|
60
65
|
}
|
|
61
66
|
interface M3eOptionPanelElementEventMap extends HTMLElementEventMap {
|
|
62
67
|
beforetoggle: ToggleEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionPanelElement.d.ts","sourceRoot":"","sources":["../../src/OptionPanelElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;;AAOvF
|
|
1
|
+
{"version":3,"file":"OptionPanelElement.d.ts","sourceRoot":"","sources":["../../src/OptionPanelElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;;AAOvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBACa,qBAAs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C,CAAC,CAAC,KAAK,IAAI,EACrF,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,qBAAqB,CAAC;KAC3C;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m3e/option",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Option for M3E",
|
|
5
5
|
"author": "matraic <matraic@yahoo.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"clean": "rimraf dist"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@m3e/core": "^1.
|
|
32
|
+
"@m3e/core": "^1.2.0",
|
|
33
33
|
"lit": "^3.3.0"
|
|
34
34
|
},
|
|
35
35
|
"customElements": "dist/custom-elements.json"
|