@swc-react/combobox 1.9.1 → 1.10.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/index.d.ts +1 -5
- package/index.dev.js +1 -6
- package/index.dev.js.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/next.d.ts +1 -4
- package/next.dev.js.map +2 -2
- package/next.js.map +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { EventName } from '@lit/react';
|
|
2
1
|
import { Combobox as SpCombobox } from '@spectrum-web-components/combobox';
|
|
3
2
|
import '@spectrum-web-components/combobox/sp-combobox.js';
|
|
4
|
-
export declare const Combobox: import("@lit/react").ReactWebComponent<SpCombobox, {
|
|
5
|
-
change: EventName<Event>;
|
|
6
|
-
input: EventName<Event>;
|
|
7
|
-
}>;
|
|
3
|
+
export declare const Combobox: import("@lit/react").ReactWebComponent<SpCombobox, {}>;
|
|
8
4
|
export type ComboboxType = EventTarget & SpCombobox;
|
package/index.dev.js
CHANGED
|
@@ -8,11 +8,6 @@ export const Combobox = createComponent({
|
|
|
8
8
|
elementClass: SpCombobox,
|
|
9
9
|
react: React,
|
|
10
10
|
tagName: "sp-combobox",
|
|
11
|
-
events: {
|
|
12
|
-
change: "change",
|
|
13
|
-
// An alteration to the value of the element has been committed by the user.
|
|
14
|
-
input: "input"
|
|
15
|
-
// The value of the element has changed.
|
|
16
|
-
}
|
|
11
|
+
events: {}
|
|
17
12
|
});
|
|
18
13
|
//# sourceMappingURL=index.dev.js.map
|
package/index.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport { Combobox as SpCombobox } from '@spectrum-web-components/combobox';\n\nimport '@spectrum-web-components/combobox/sp-combobox.js';\n\nexport const Combobox = createComponent({\n displayName: 'Combobox',\n elementClass: SpCombobox,\n react: React,\n tagName: 'sp-combobox',\n events: {},\n});\n\nexport type ComboboxType = EventTarget & SpCombobox;\n"],
|
|
5
|
+
"mappings": ";AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,YAAY,kBAAkB;AAEvC,OAAO;AAEA,aAAM,WAAW,gBAAgB;AAAA,EACpC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import*as o from"react";import{createComponent as e}from"@lit/react";import{Combobox as
|
|
1
|
+
"use strict";import*as o from"react";import{createComponent as e}from"@lit/react";import{Combobox as m}from"@spectrum-web-components/combobox";import"@spectrum-web-components/combobox/sp-combobox.js";export const Combobox=e({displayName:"Combobox",elementClass:m,react:o,tagName:"sp-combobox",events:{}});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport { Combobox as SpCombobox } from '@spectrum-web-components/combobox';\n\nimport '@spectrum-web-components/combobox/sp-combobox.js';\n\nexport const Combobox = createComponent({\n displayName: 'Combobox',\n elementClass: SpCombobox,\n react: React,\n tagName: 'sp-combobox',\n events: {},\n});\n\nexport type ComboboxType = EventTarget & SpCombobox;\n"],
|
|
5
|
+
"mappings": "aAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,aAChC,OAAS,YAAYC,MAAkB,oCAEvC,MAAO,mDAEA,aAAM,SAAWD,EAAgB,CACpC,YAAa,WACb,aAAcC,EACd,MAAOF,EACP,QAAS,cACT,OAAQ,CAAC,CACb,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpCombobox"]
|
|
7
7
|
}
|
package/next.d.ts
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export declare const Combobox: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("combobox/src/Combobox.js").Combobox>, "type" | "size" | "name" | "
|
|
2
|
-
change?: ((e: Event) => void) | undefined;
|
|
3
|
-
input?: ((e: Event) => void) | undefined;
|
|
4
|
-
} & Partial<Omit<import("combobox/src/Combobox.js").Combobox, keyof HTMLElement>> & import("react").RefAttributes<import("combobox/src/Combobox.js").Combobox>>;
|
|
1
|
+
export declare const Combobox: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("combobox/src/Combobox.js").Combobox>, "type" | "size" | "name" | "label" | "select" | "open" | "invalid" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "pattern" | "renderOptions" | "disabled" | "options" | "focused" | "value" | "focusElement" | "isLTR" | "hasVisibleFocusInTree" | "selfManageFocusElement" | "autocomplete" | "allowedKeys" | "placeholder" | "grows" | "maxlength" | "minlength" | "multiline" | "readonly" | "rows" | "valid" | "quiet" | "required" | "pending" | "pendingLabel" | "overlayOpen" | "handleComboboxKeydown" | "handleSlotchange" | "setOptionsFromSlottedItems" | "activateNextDescendant" | "activatePreviousDescendant" | "selectDescendant" | "filterAvailableOptions" | "handleInput" | "handleClosed" | "handleOpened" | "toggleOpen" | "applyFocusElementLabel" | "setSelectionRange" | "checkValidity" | "renderHelpText" | "helpTextId"> & {} & Partial<Omit<import("combobox/src/Combobox.js").Combobox, keyof HTMLElement>> & import("react").RefAttributes<import("combobox/src/Combobox.js").Combobox>>;
|
package/next.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["next.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { Combobox as SpCombobox } from './index.dev.js'\n\nexport const Combobox = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpCombobox,\n ComponentProps<typeof SpCombobox>\n >\n>(() => import('./index.dev.js').then(({ Combobox }) => Combobox), { ssr: false });\n"],
|
|
5
|
+
"mappings": ";AACA,OAAO,aAAa;AAIb,aAAM,WAAW,QAKtB,MAAM,OAAO,gBAAgB,EAAE,KAAK,CAAC,EAAE,UAAAA,UAAS,MAAMA,SAAQ,GAAG,EAAE,KAAK,MAAM,CAAC;",
|
|
6
6
|
"names": ["Combobox"]
|
|
7
7
|
}
|
package/next.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["next.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { Combobox as SpCombobox } from './index.js';\n\nexport const Combobox = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpCombobox,\n ComponentProps<typeof SpCombobox>\n >\n>(() => import('./index.js').then(({ Combobox }) => Combobox), { ssr: false });\n"],
|
|
5
|
+
"mappings": "aACA,OAAOA,MAAa,eAIb,aAAM,SAAWA,EAKtB,IAAM,OAAO,YAAY,EAAE,KAAK,CAAC,CAAE,SAAAC,CAAS,IAAMA,CAAQ,EAAG,CAAE,IAAK,EAAM,CAAC",
|
|
6
6
|
"names": ["dynamic", "Combobox"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/combobox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@lit/react": "^1.0.2",
|
|
29
|
-
"@spectrum-web-components/combobox": "^1.
|
|
29
|
+
"@spectrum-web-components/combobox": "^1.10.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"next": "~13.4 || ~14"
|