@swc-react/dialog 0.11.8-react.3029 → 0.11.11-react.3137
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/package.json +4 -4
- package/index.d.ts +0 -17
- package/index.dev.js +0 -30
- package/index.dev.js.map +0 -7
- package/index.js +0 -2
- package/index.js.map +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/dialog",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.11-react.3137+7959cb8d1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^17.0.0 || ^18.0.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lit-labs/react": "^1.1.
|
|
27
|
-
"@spectrum-web-components/dialog": "^0.11.
|
|
26
|
+
"@lit-labs/react": "^1.1.1",
|
|
27
|
+
"@spectrum-web-components/dialog": "^0.11.11-react.48+e4fada004"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7959cb8d1df072fc473ec1687b2a7328550b96f7"
|
|
30
30
|
}
|
package/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { EventName } from '@lit-labs/react';
|
|
2
|
-
import { Dialog as SpDialog } from '@spectrum-web-components/dialog';
|
|
3
|
-
import { DialogWrapper as SpDialogWrapper } from '@spectrum-web-components/dialog';
|
|
4
|
-
import '@spectrum-web-components/dialog/sp-dialog-base.js';
|
|
5
|
-
import '@spectrum-web-components/dialog/sp-dialog-wrapper.js';
|
|
6
|
-
import '@spectrum-web-components/dialog/sp-dialog.js';
|
|
7
|
-
export declare const Dialog: import("@lit-labs/react").ReactWebComponent<SpDialog, {
|
|
8
|
-
close: EventName<Event>;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const DialogWrapper: import("@lit-labs/react").ReactWebComponent<SpDialogWrapper, {
|
|
11
|
-
close: EventName<Event>;
|
|
12
|
-
secondary: EventName<Event>;
|
|
13
|
-
cancel: EventName<Event>;
|
|
14
|
-
confirm: EventName<Event>;
|
|
15
|
-
}>;
|
|
16
|
-
export declare type DialogType = EventTarget & SpDialog;
|
|
17
|
-
export declare type DialogWrapperType = EventTarget & SpDialogWrapper;
|
package/index.dev.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { createComponent } from "@lit-labs/react";
|
|
4
|
-
import { Dialog as SpDialog } from "@spectrum-web-components/dialog";
|
|
5
|
-
import { DialogWrapper as SpDialogWrapper } from "@spectrum-web-components/dialog";
|
|
6
|
-
import "@spectrum-web-components/dialog/sp-dialog-base.js";
|
|
7
|
-
import "@spectrum-web-components/dialog/sp-dialog-wrapper.js";
|
|
8
|
-
import "@spectrum-web-components/dialog/sp-dialog.js";
|
|
9
|
-
export const Dialog = createComponent({
|
|
10
|
-
displayName: "Dialog",
|
|
11
|
-
elementClass: SpDialog,
|
|
12
|
-
react: React,
|
|
13
|
-
tagName: "sp-dialog",
|
|
14
|
-
events: {
|
|
15
|
-
close: "close"
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
export const DialogWrapper = createComponent({
|
|
19
|
-
displayName: "DialogWrapper",
|
|
20
|
-
elementClass: SpDialogWrapper,
|
|
21
|
-
react: React,
|
|
22
|
-
tagName: "sp-dialog-wrapper",
|
|
23
|
-
events: {
|
|
24
|
-
close: "close",
|
|
25
|
-
secondary: "secondary",
|
|
26
|
-
cancel: "cancel",
|
|
27
|
-
confirm: "confirm"
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
//# sourceMappingURL=index.dev.js.map
|
package/index.dev.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport type { EventName } from '@lit-labs/react';\nimport { Dialog as SpDialog } from '@spectrum-web-components/dialog';\nimport { DialogWrapper as SpDialogWrapper } from '@spectrum-web-components/dialog';\n\nimport '@spectrum-web-components/dialog/sp-dialog-base.js';\nimport '@spectrum-web-components/dialog/sp-dialog-wrapper.js';\nimport '@spectrum-web-components/dialog/sp-dialog.js';\n\nexport const Dialog = createComponent({\n displayName: 'Dialog',\n elementClass: SpDialog,\n react: React,\n tagName: 'sp-dialog',\n events: {\n close: 'close' as EventName<Event>, // Announces that the dialog has been closed.\n },\n});\nexport const DialogWrapper = createComponent({\n displayName: 'DialogWrapper',\n elementClass: SpDialogWrapper,\n react: React,\n tagName: 'sp-dialog-wrapper',\n events: {\n close: 'close' as EventName<Event>, // Announces that the dialog has been closed.\n secondary: 'secondary' as EventName<Event>, // Announces that the \"secondary\" button has been clicked.\n cancel: 'cancel' as EventName<Event>, // Announces that the \"cancel\" button has been clicked.\n confirm: 'confirm' as EventName<Event>, // Announces that the \"confirm\" button has been clicked.\n },\n});\n\nexport type DialogType = EventTarget & SpDialog;\nexport type DialogWrapperType = EventTarget & SpDialogWrapper;\n"],
|
|
5
|
-
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,UAAU,gBAAgB;AACnC,SAAS,iBAAiB,uBAAuB;AAEjD,OAAO;AACP,OAAO;AACP,OAAO;AAEA,aAAM,SAAS,gBAAgB;AAAA,EAClC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,OAAO;AAAA,EACX;AACJ,CAAC;AACM,aAAM,gBAAgB,gBAAgB;AAAA,EACzC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,OAAO;AAAA,IACP,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,SAAS;AAAA,EACb;AACJ,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";import*as e from"react";import{createComponent as a}from"@lit-labs/react";import{Dialog as t}from"@spectrum-web-components/dialog";import{DialogWrapper as o}from"@spectrum-web-components/dialog";import"@spectrum-web-components/dialog/sp-dialog-base.js";import"@spectrum-web-components/dialog/sp-dialog-wrapper.js";import"@spectrum-web-components/dialog/sp-dialog.js";export const Dialog=a({displayName:"Dialog",elementClass:t,react:e,tagName:"sp-dialog",events:{close:"close"}}),DialogWrapper=a({displayName:"DialogWrapper",elementClass:o,react:e,tagName:"sp-dialog-wrapper",events:{close:"close",secondary:"secondary",cancel:"cancel",confirm:"confirm"}});
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport type { EventName } from '@lit-labs/react';\nimport { Dialog as SpDialog } from '@spectrum-web-components/dialog';\nimport { DialogWrapper as SpDialogWrapper } from '@spectrum-web-components/dialog';\n\nimport '@spectrum-web-components/dialog/sp-dialog-base.js';\nimport '@spectrum-web-components/dialog/sp-dialog-wrapper.js';\nimport '@spectrum-web-components/dialog/sp-dialog.js';\n\nexport const Dialog = createComponent({\n displayName: 'Dialog',\n elementClass: SpDialog,\n react: React,\n tagName: 'sp-dialog',\n events: {\n close: 'close' as EventName<Event>, // Announces that the dialog has been closed.\n },\n});\nexport const DialogWrapper = createComponent({\n displayName: 'DialogWrapper',\n elementClass: SpDialogWrapper,\n react: React,\n tagName: 'sp-dialog-wrapper',\n events: {\n close: 'close' as EventName<Event>, // Announces that the dialog has been closed.\n secondary: 'secondary' as EventName<Event>, // Announces that the \"secondary\" button has been clicked.\n cancel: 'cancel' as EventName<Event>, // Announces that the \"cancel\" button has been clicked.\n confirm: 'confirm' as EventName<Event>, // Announces that the \"confirm\" button has been clicked.\n },\n});\n\nexport type DialogType = EventTarget & SpDialog;\nexport type DialogWrapperType = EventTarget & SpDialogWrapper;\n"],
|
|
5
|
-
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,UAAUC,MAAgB,kCACnC,OAAS,iBAAiBC,MAAuB,kCAEjD,MAAO,oDACP,MAAO,uDACP,MAAO,+CAEA,aAAM,OAASF,EAAgB,CAClC,YAAa,SACb,aAAcC,EACd,MAAOF,EACP,QAAS,YACT,OAAQ,CACJ,MAAO,OACX,CACJ,CAAC,EACY,cAAgBC,EAAgB,CACzC,YAAa,gBACb,aAAcE,EACd,MAAOH,EACP,QAAS,oBACT,OAAQ,CACJ,MAAO,QACP,UAAW,YACX,OAAQ,SACR,QAAS,SACb,CACJ,CAAC",
|
|
6
|
-
"names": ["React", "createComponent", "SpDialog", "SpDialogWrapper"]
|
|
7
|
-
}
|