@swc-react/asset 0.7.8 → 0.30.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 +0 -1
- package/index.dev.js +0 -1
- package/index.dev.js.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
package/index.dev.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { createComponent } from "@lit-labs/react";
|
|
4
4
|
import { Asset as SpAsset } from "@spectrum-web-components/asset";
|
|
5
|
-
import "@spectrum-web-components/asset/sp-asset.js";
|
|
6
5
|
export const Asset = createComponent({
|
|
7
6
|
displayName: "Asset",
|
|
8
7
|
elementClass: SpAsset,
|
package/index.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
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 { Asset as SpAsset } from '@spectrum-web-components/asset';\n\
|
|
5
|
-
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,SAAS,eAAe;
|
|
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 { Asset as SpAsset } from '@spectrum-web-components/asset';\n\nexport const Asset = createComponent({\n displayName: 'Asset',\n elementClass: SpAsset,\n react: React,\n tagName: 'sp-asset',\n events: {},\n});\n\nexport type AssetType = EventTarget & SpAsset;\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,SAAS,eAAe;AAE1B,aAAM,QAAQ,gBAAgB;AAAA,EACjC,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 e from"react";import{createComponent as t}from"@lit-labs/react";import{Asset as s}from"@spectrum-web-components/asset";
|
|
1
|
+
"use strict";import*as e from"react";import{createComponent as t}from"@lit-labs/react";import{Asset as s}from"@spectrum-web-components/asset";export const Asset=t({displayName:"Asset",elementClass:s,react:e,tagName:"sp-asset",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": ["/*\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 { Asset as SpAsset } from '@spectrum-web-components/asset';\n\
|
|
5
|
-
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,SAASC,MAAe,
|
|
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 { Asset as SpAsset } from '@spectrum-web-components/asset';\n\nexport const Asset = createComponent({\n displayName: 'Asset',\n elementClass: SpAsset,\n react: React,\n tagName: 'sp-asset',\n events: {},\n});\n\nexport type AssetType = EventTarget & SpAsset;\n"],
|
|
5
|
+
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,SAASC,MAAe,iCAE1B,aAAM,MAAQD,EAAgB,CACjC,YAAa,QACb,aAAcC,EACd,MAAOF,EACP,QAAS,WACT,OAAQ,CAAC,CACb,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpAsset"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/asset",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@lit-labs/react": "^1.1.1",
|
|
23
|
-
"@spectrum-web-components/asset": "0.
|
|
23
|
+
"@spectrum-web-components/asset": "0.30.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "25acadb3cbf24300ae962de211c0bfdb7b1c809d"
|
|
26
26
|
}
|