@swc-react/thumbnail 0.31.1-react.3 → 0.32.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 -0
- package/index.dev.js +1 -0
- package/index.dev.js.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/next.d.ts +2 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Thumbnail as SpThumbnail } from '@spectrum-web-components/thumbnail';
|
|
2
|
+
import '@spectrum-web-components/thumbnail/sp-thumbnail.js';
|
|
2
3
|
export declare const Thumbnail: import("@lit-labs/react").ReactWebComponent<SpThumbnail, {}>;
|
|
3
4
|
export declare type ThumbnailType = EventTarget & SpThumbnail;
|
package/index.dev.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { createComponent } from "@lit-labs/react";
|
|
4
4
|
import { Thumbnail as SpThumbnail } from "@spectrum-web-components/thumbnail";
|
|
5
|
+
import "@spectrum-web-components/thumbnail/sp-thumbnail.js";
|
|
5
6
|
export const Thumbnail = createComponent({
|
|
6
7
|
displayName: "Thumbnail",
|
|
7
8
|
elementClass: SpThumbnail,
|
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 { Thumbnail as SpThumbnail } from '@spectrum-web-components/thumbnail';\n\nexport const Thumbnail = createComponent({\n displayName: 'Thumbnail',\n elementClass: SpThumbnail,\n react: React,\n tagName: 'sp-thumbnail',\n events: {},\n});\n\nexport type ThumbnailType = EventTarget & SpThumbnail;\n"],
|
|
5
|
-
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,aAAa,mBAAmB;
|
|
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 { Thumbnail as SpThumbnail } from '@spectrum-web-components/thumbnail';\n\nimport '@spectrum-web-components/thumbnail/sp-thumbnail.js';\n\nexport const Thumbnail = createComponent({\n displayName: 'Thumbnail',\n elementClass: SpThumbnail,\n react: React,\n tagName: 'sp-thumbnail',\n events: {},\n});\n\nexport type ThumbnailType = EventTarget & SpThumbnail;\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,aAAa,mBAAmB;AAEzC,OAAO;AAEA,aAAM,YAAY,gBAAgB;AAAA,EACrC,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 a from"react";import{createComponent as e}from"@lit-labs/react";import{Thumbnail as m}from"@spectrum-web-components/thumbnail";export const Thumbnail=e({displayName:"Thumbnail",elementClass:m,react:a,tagName:"sp-thumbnail",events:{}});
|
|
1
|
+
"use strict";import*as a from"react";import{createComponent as e}from"@lit-labs/react";import{Thumbnail as m}from"@spectrum-web-components/thumbnail";import"@spectrum-web-components/thumbnail/sp-thumbnail.js";export const Thumbnail=e({displayName:"Thumbnail",elementClass:m,react:a,tagName:"sp-thumbnail",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 { Thumbnail as SpThumbnail } from '@spectrum-web-components/thumbnail';\n\nexport const Thumbnail = createComponent({\n displayName: 'Thumbnail',\n elementClass: SpThumbnail,\n react: React,\n tagName: 'sp-thumbnail',\n events: {},\n});\n\nexport type ThumbnailType = EventTarget & SpThumbnail;\n"],
|
|
5
|
-
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,aAAaC,MAAmB,
|
|
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 { Thumbnail as SpThumbnail } from '@spectrum-web-components/thumbnail';\n\nimport '@spectrum-web-components/thumbnail/sp-thumbnail.js';\n\nexport const Thumbnail = createComponent({\n displayName: 'Thumbnail',\n elementClass: SpThumbnail,\n react: React,\n tagName: 'sp-thumbnail',\n events: {},\n});\n\nexport type ThumbnailType = EventTarget & SpThumbnail;\n"],
|
|
5
|
+
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,aAAaC,MAAmB,qCAEzC,MAAO,qDAEA,aAAM,UAAYD,EAAgB,CACrC,YAAa,YACb,aAAcC,EACd,MAAOF,EACP,QAAS,eACT,OAAQ,CAAC,CACb,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpThumbnail"]
|
|
7
7
|
}
|
package/next.d.ts
CHANGED
|
@@ -262,9 +262,10 @@ export declare const Thumbnail: import("react").ComponentType<Partial<{
|
|
|
262
262
|
} & {
|
|
263
263
|
readonly attributes: NamedNodeMap;
|
|
264
264
|
readonly localName: string;
|
|
265
|
-
size:
|
|
265
|
+
size: string;
|
|
266
266
|
background?: string | undefined;
|
|
267
267
|
cover: boolean;
|
|
268
|
+
layer: boolean;
|
|
268
269
|
readonly accessKeyLabel: string;
|
|
269
270
|
autocapitalize: string;
|
|
270
271
|
inert: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/thumbnail",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/thumbnail": "^0.
|
|
33
|
+
"@spectrum-web-components/thumbnail": "^0.32.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"next": "
|
|
36
|
+
"next": "~13.4"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"next": {
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c5f67662ac54d0e37debaf7cbd7c2df60e8b294e"
|
|
44
44
|
}
|