@m3e/react 2.2.0 → 2.2.1
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/all.js +1 -0
- package/dist/all.js.map +1 -1
- package/dist/all.min.js +1 -1
- package/dist/all.min.js.map +1 -1
- package/dist/autocomplete.js +1 -0
- package/dist/autocomplete.js.map +1 -1
- package/dist/autocomplete.min.js +1 -1
- package/dist/autocomplete.min.js.map +1 -1
- package/dist/src/autocomplete/Autocomplete.d.ts +1 -0
- package/dist/src/autocomplete/Autocomplete.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/autocomplete.js
CHANGED
package/dist/autocomplete.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.js","sources":["../../src/autocomplete/Autocomplete.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eAutocompleteElement, AutocompleteQueryEventDetail } from \"@m3e/web/autocomplete\";\r\n\r\nexport type {\r\n M3eAutocompleteElement,\r\n AutocompleteFilterMode,\r\n AutocompleteQueryEventDetail,\r\n QueryEventDetail,\r\n} from \"@m3e/web/autocomplete\";\r\n\r\n/**\r\n * React binding for the `m3e-autocomplete` Web Component from `@m3e/web/autocomplete`.\r\n *\r\n * This component renders the underlying `<m3e-autocomplete>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-autocomplete>` instance for imperative access.\r\n *\r\n * See the `m3e-autocomplete` documentation for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eAutocomplete = createComponent({\r\n tagName: \"m3e-autocomplete\",\r\n elementClass: M3eAutocompleteElement,\r\n react: React,\r\n events: {\r\n onToggle: \"toggle\",\r\n onQuery: \"query\" as EventName<CustomEvent<AutocompleteQueryEventDetail>>,\r\n },\r\n});\r\n"],"names":["M3eAutocomplete","createComponent","tagName","elementClass","M3eAutocompleteElement","react","React","events","onToggle","onQuery"],"mappings":";;;;;;;;;AAYA;;;;;;;;;;;;AAYG;AACI,MAAMA,eAAe,GAAGC,eAAe,CAAC;AAC7CC,EAAAA,OAAO,EAAE,kBAAkB;AAC3BC,EAAAA,YAAY,EAAEC,sBAAsB;AACpCC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":["../../src/autocomplete/Autocomplete.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eAutocompleteElement, AutocompleteQueryEventDetail } from \"@m3e/web/autocomplete\";\r\n\r\nexport type {\r\n M3eAutocompleteElement,\r\n AutocompleteFilterMode,\r\n AutocompleteQueryEventDetail,\r\n QueryEventDetail,\r\n} from \"@m3e/web/autocomplete\";\r\n\r\n/**\r\n * React binding for the `m3e-autocomplete` Web Component from `@m3e/web/autocomplete`.\r\n *\r\n * This component renders the underlying `<m3e-autocomplete>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-autocomplete>` instance for imperative access.\r\n *\r\n * See the `m3e-autocomplete` documentation for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eAutocomplete = createComponent({\r\n tagName: \"m3e-autocomplete\",\r\n elementClass: M3eAutocompleteElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n onToggle: \"toggle\",\r\n onQuery: \"query\" as EventName<CustomEvent<AutocompleteQueryEventDetail>>,\r\n },\r\n});\r\n"],"names":["M3eAutocomplete","createComponent","tagName","elementClass","M3eAutocompleteElement","react","React","events","onChange","onToggle","onQuery"],"mappings":";;;;;;;;;AAYA;;;;;;;;;;;;AAYG;AACI,MAAMA,eAAe,GAAGC,eAAe,CAAC;AAC7CC,EAAAA,OAAO,EAAE,kBAAkB;AAC3BC,EAAAA,YAAY,EAAEC,sBAAsB;AACpCC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;;;"}
|
package/dist/autocomplete.min.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2025 matraic
|
|
4
4
|
* See LICENSE file in the project root for full license text.
|
|
5
5
|
*/
|
|
6
|
-
import e from"react";import{createComponent as
|
|
6
|
+
import e from"react";import{createComponent as o}from"@lit/react";import{M3eAutocompleteElement as t}from"@m3e/web/autocomplete";const m=o({tagName:"m3e-autocomplete",elementClass:t,react:e,events:{onChange:"change",onToggle:"toggle",onQuery:"query"}});export{m as M3eAutocomplete};
|
|
7
7
|
//# sourceMappingURL=autocomplete.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.min.js","sources":["../../src/autocomplete/Autocomplete.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eAutocompleteElement, AutocompleteQueryEventDetail } from \"@m3e/web/autocomplete\";\r\n\r\nexport type {\r\n M3eAutocompleteElement,\r\n AutocompleteFilterMode,\r\n AutocompleteQueryEventDetail,\r\n QueryEventDetail,\r\n} from \"@m3e/web/autocomplete\";\r\n\r\n/**\r\n * React binding for the `m3e-autocomplete` Web Component from `@m3e/web/autocomplete`.\r\n *\r\n * This component renders the underlying `<m3e-autocomplete>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-autocomplete>` instance for imperative access.\r\n *\r\n * See the `m3e-autocomplete` documentation for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eAutocomplete = createComponent({\r\n tagName: \"m3e-autocomplete\",\r\n elementClass: M3eAutocompleteElement,\r\n react: React,\r\n events: {\r\n onToggle: \"toggle\",\r\n onQuery: \"query\" as EventName<CustomEvent<AutocompleteQueryEventDetail>>,\r\n },\r\n});\r\n"],"names":["M3eAutocomplete","createComponent","tagName","elementClass","M3eAutocompleteElement","react","React","events","onToggle","onQuery"],"mappings":";;;;;iIAyBO,MAAMA,EAAkBC,EAAgB,CAC7CC,QAAS,mBACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,SAAU,SACVC,QAAS"}
|
|
1
|
+
{"version":3,"file":"autocomplete.min.js","sources":["../../src/autocomplete/Autocomplete.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eAutocompleteElement, AutocompleteQueryEventDetail } from \"@m3e/web/autocomplete\";\r\n\r\nexport type {\r\n M3eAutocompleteElement,\r\n AutocompleteFilterMode,\r\n AutocompleteQueryEventDetail,\r\n QueryEventDetail,\r\n} from \"@m3e/web/autocomplete\";\r\n\r\n/**\r\n * React binding for the `m3e-autocomplete` Web Component from `@m3e/web/autocomplete`.\r\n *\r\n * This component renders the underlying `<m3e-autocomplete>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-autocomplete>` instance for imperative access.\r\n *\r\n * See the `m3e-autocomplete` documentation for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eAutocomplete = createComponent({\r\n tagName: \"m3e-autocomplete\",\r\n elementClass: M3eAutocompleteElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n onToggle: \"toggle\",\r\n onQuery: \"query\" as EventName<CustomEvent<AutocompleteQueryEventDetail>>,\r\n },\r\n});\r\n"],"names":["M3eAutocomplete","createComponent","tagName","elementClass","M3eAutocompleteElement","react","React","events","onChange","onToggle","onQuery"],"mappings":";;;;;iIAyBO,MAAMA,EAAkBC,EAAgB,CAC7CC,QAAS,mBACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,SAAU,SACVC,SAAU,SACVC,QAAS"}
|
|
@@ -15,6 +15,7 @@ export type { M3eAutocompleteElement, AutocompleteFilterMode, AutocompleteQueryE
|
|
|
15
15
|
* styling, accessibility, and supported events.
|
|
16
16
|
*/
|
|
17
17
|
export declare const M3eAutocomplete: import("@lit/react").ReactWebComponent<M3eAutocompleteElement, {
|
|
18
|
+
onChange: string;
|
|
18
19
|
onToggle: string;
|
|
19
20
|
onQuery: EventName<CustomEvent<AutocompleteQueryEventDetail>>;
|
|
20
21
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/autocomplete/Autocomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,SAAS,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAE7F,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/autocomplete/Autocomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,SAAS,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAE7F,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe;;;aAOJ,SAAS,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;EAE1E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m3e/react",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "React bindings for M3E Web Components",
|
|
5
5
|
"author": "matraic <matraic@yahoo.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
},
|
|
225
225
|
"peerDependencies": {
|
|
226
226
|
"@lit/react": "^1.0.8",
|
|
227
|
-
"@m3e/web": "^2.2.
|
|
227
|
+
"@m3e/web": "^2.2.1",
|
|
228
228
|
"lit": "^3.3.0",
|
|
229
229
|
"react": ">=18"
|
|
230
230
|
}
|