@swc-react/dialog 0.42.1 → 0.42.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/index.d.ts +3 -3
- package/next.d.ts +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export declare const DialogWrapper: import("@lit/react").ReactWebComponent<SpDia
|
|
|
17
17
|
cancel: EventName<Event>;
|
|
18
18
|
confirm: EventName<Event>;
|
|
19
19
|
}>;
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
20
|
+
export type DialogType = EventTarget & SpDialog;
|
|
21
|
+
export type DialogBaseType = EventTarget & SpDialogBase;
|
|
22
|
+
export type DialogWrapperType = EventTarget & SpDialogWrapper;
|
package/next.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const Dialog: import("react").ComponentType<Omit<import("react").
|
|
|
4
4
|
export declare const DialogBase: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("dialog/src").DialogBase>, "renderOptions" | "connectedCallback" | "disconnectedCallback" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "isLTR" | "hasVisibleFocusInTree" | "close" | "dismissable" | "mode" | "open" | "responsive" | "underlay" | "overlayWillCloseCallback"> & {
|
|
5
5
|
close?: ((e: Event) => void) | undefined;
|
|
6
6
|
} & Partial<Omit<import("dialog/src").DialogBase, keyof HTMLElement>> & import("react").RefAttributes<import("dialog/src").DialogBase>>;
|
|
7
|
-
export declare const DialogWrapper: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("dialog/src").DialogWrapper>, "size" | "renderOptions" | "connectedCallback" | "disconnectedCallback" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "isLTR" | "hasVisibleFocusInTree" | "footer" | "close" | "error" | "secondary" | "dismissable" | "dismissLabel" | "noDivider" | "mode" | "open" | "responsive" | "underlay" | "overlayWillCloseCallback" | "cancelLabel" | "confirmLabel" | "hero" | "heroLabel" | "secondaryLabel" | "headline" | "headlineVisibility" | "
|
|
7
|
+
export declare const DialogWrapper: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("dialog/src").DialogWrapper>, "size" | "renderOptions" | "connectedCallback" | "disconnectedCallback" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "isLTR" | "hasVisibleFocusInTree" | "footer" | "cancel" | "close" | "error" | "secondary" | "dismissable" | "dismissLabel" | "noDivider" | "mode" | "open" | "responsive" | "underlay" | "overlayWillCloseCallback" | "cancelLabel" | "confirmLabel" | "hero" | "heroLabel" | "secondaryLabel" | "headline" | "headlineVisibility" | "confirm"> & {
|
|
8
8
|
close?: ((e: Event) => void) | undefined;
|
|
9
9
|
secondary?: ((e: Event) => void) | undefined;
|
|
10
10
|
cancel?: ((e: Event) => void) | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/dialog",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit/react": "^1.0.2",
|
|
33
|
-
"@spectrum-web-components/dialog": "^0.42.
|
|
33
|
+
"@spectrum-web-components/dialog": "^0.42.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4 || ~14"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a03edce4f21f232f1705d8eb222e6e5436cad4c3"
|
|
44
44
|
}
|