@swc-react/swatch 0.31.1-react.2 → 0.31.1-react.21
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 +2 -0
- package/index.dev.js +2 -0
- package/index.dev.js.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { EventName } from '@lit-labs/react';
|
|
2
2
|
import { Swatch as SpSwatch } from '@spectrum-web-components/swatch';
|
|
3
3
|
import { SwatchGroup as SpSwatchGroup } from '@spectrum-web-components/swatch';
|
|
4
|
+
import '@spectrum-web-components/swatch/sp-swatch-group.js';
|
|
5
|
+
import '@spectrum-web-components/swatch/sp-swatch.js';
|
|
4
6
|
export declare const Swatch: import("@lit-labs/react").ReactWebComponent<SpSwatch, {
|
|
5
7
|
change: EventName<Event>;
|
|
6
8
|
}>;
|
package/index.dev.js
CHANGED
|
@@ -3,6 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { createComponent } from "@lit-labs/react";
|
|
4
4
|
import { Swatch as SpSwatch } from "@spectrum-web-components/swatch";
|
|
5
5
|
import { SwatchGroup as SpSwatchGroup } from "@spectrum-web-components/swatch";
|
|
6
|
+
import "@spectrum-web-components/swatch/sp-swatch-group.js";
|
|
7
|
+
import "@spectrum-web-components/swatch/sp-swatch.js";
|
|
6
8
|
export const Swatch = createComponent({
|
|
7
9
|
displayName: "Swatch",
|
|
8
10
|
elementClass: SpSwatch,
|
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 type { EventName } from '@lit-labs/react';\nimport { Swatch as SpSwatch } from '@spectrum-web-components/swatch';\nimport { SwatchGroup as SpSwatchGroup } from '@spectrum-web-components/swatch';\n\nexport const Swatch = createComponent({\n displayName: 'Swatch',\n elementClass: SpSwatch,\n react: React,\n tagName: 'sp-swatch',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\nexport const SwatchGroup = createComponent({\n displayName: 'SwatchGroup',\n elementClass: SpSwatchGroup,\n react: React,\n tagName: 'sp-swatch-group',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\n\nexport type SwatchType = EventTarget & SpSwatch;\nexport type SwatchGroupType = EventTarget & SpSwatchGroup;\n"],
|
|
5
|
-
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,UAAU,gBAAgB;AACnC,SAAS,eAAe,qBAAqB;
|
|
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 { Swatch as SpSwatch } from '@spectrum-web-components/swatch';\nimport { SwatchGroup as SpSwatchGroup } from '@spectrum-web-components/swatch';\n\nimport '@spectrum-web-components/swatch/sp-swatch-group.js';\nimport '@spectrum-web-components/swatch/sp-swatch.js';\n\nexport const Swatch = createComponent({\n displayName: 'Swatch',\n elementClass: SpSwatch,\n react: React,\n tagName: 'sp-swatch',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\nexport const SwatchGroup = createComponent({\n displayName: 'SwatchGroup',\n elementClass: SpSwatchGroup,\n react: React,\n tagName: 'sp-swatch-group',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\n\nexport type SwatchType = EventTarget & SpSwatch;\nexport type SwatchGroupType = EventTarget & SpSwatchGroup;\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,UAAU,gBAAgB;AACnC,SAAS,eAAe,qBAAqB;AAE7C,OAAO;AACP,OAAO;AAEA,aAAM,SAAS,gBAAgB;AAAA,EAClC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,QAAQ;AAAA,EACZ;AACJ,CAAC;AACM,aAAM,cAAc,gBAAgB;AAAA,EACvC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,QAAQ;AAAA,EACZ;AACJ,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import*as t from"react";import{createComponent as e}from"@lit-labs/react";import{Swatch as a}from"@spectrum-web-components/swatch";import{SwatchGroup as p}from"@spectrum-web-components/swatch";export const Swatch=e({displayName:"Swatch",elementClass:a,react:t,tagName:"sp-swatch",events:{change:"change"}}),SwatchGroup=e({displayName:"SwatchGroup",elementClass:p,react:t,tagName:"sp-swatch-group",events:{change:"change"}});
|
|
1
|
+
"use strict";import*as t from"react";import{createComponent as e}from"@lit-labs/react";import{Swatch as a}from"@spectrum-web-components/swatch";import{SwatchGroup as p}from"@spectrum-web-components/swatch";import"@spectrum-web-components/swatch/sp-swatch-group.js";import"@spectrum-web-components/swatch/sp-swatch.js";export const Swatch=e({displayName:"Swatch",elementClass:a,react:t,tagName:"sp-swatch",events:{change:"change"}}),SwatchGroup=e({displayName:"SwatchGroup",elementClass:p,react:t,tagName:"sp-swatch-group",events:{change:"change"}});
|
|
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 type { EventName } from '@lit-labs/react';\nimport { Swatch as SpSwatch } from '@spectrum-web-components/swatch';\nimport { SwatchGroup as SpSwatchGroup } from '@spectrum-web-components/swatch';\n\nexport const Swatch = createComponent({\n displayName: 'Swatch',\n elementClass: SpSwatch,\n react: React,\n tagName: 'sp-swatch',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\nexport const SwatchGroup = createComponent({\n displayName: 'SwatchGroup',\n elementClass: SpSwatchGroup,\n react: React,\n tagName: 'sp-swatch-group',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\n\nexport type SwatchType = EventTarget & SpSwatch;\nexport type SwatchGroupType = EventTarget & SpSwatchGroup;\n"],
|
|
5
|
-
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,UAAUC,MAAgB,kCACnC,OAAS,eAAeC,MAAqB,
|
|
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 { Swatch as SpSwatch } from '@spectrum-web-components/swatch';\nimport { SwatchGroup as SpSwatchGroup } from '@spectrum-web-components/swatch';\n\nimport '@spectrum-web-components/swatch/sp-swatch-group.js';\nimport '@spectrum-web-components/swatch/sp-swatch.js';\n\nexport const Swatch = createComponent({\n displayName: 'Swatch',\n elementClass: SpSwatch,\n react: React,\n tagName: 'sp-swatch',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\nexport const SwatchGroup = createComponent({\n displayName: 'SwatchGroup',\n elementClass: SpSwatchGroup,\n react: React,\n tagName: 'sp-swatch-group',\n events: {\n change: 'change' as EventName<Event>,\n },\n});\n\nexport type SwatchType = EventTarget & SpSwatch;\nexport type SwatchGroupType = EventTarget & SpSwatchGroup;\n"],
|
|
5
|
+
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,UAAUC,MAAgB,kCACnC,OAAS,eAAeC,MAAqB,kCAE7C,MAAO,qDACP,MAAO,+CAEA,aAAM,OAASF,EAAgB,CAClC,YAAa,SACb,aAAcC,EACd,MAAOF,EACP,QAAS,YACT,OAAQ,CACJ,OAAQ,QACZ,CACJ,CAAC,EACY,YAAcC,EAAgB,CACvC,YAAa,cACb,aAAcE,EACd,MAAOH,EACP,QAAS,kBACT,OAAQ,CACJ,OAAQ,QACZ,CACJ,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpSwatch", "SpSwatchGroup"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/swatch",
|
|
3
|
-
"version": "0.31.1-react.
|
|
3
|
+
"version": "0.31.1-react.21+44f0b1df9",
|
|
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/swatch": "^0.31.1-react.
|
|
33
|
+
"@spectrum-web-components/swatch": "^0.31.1-react.21+44f0b1df9"
|
|
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": "44f0b1df9e1ea77d9e931629a63918ceee2744c2"
|
|
44
44
|
}
|