@swc-react/popover 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 CHANGED
@@ -1,3 +1,4 @@
1
1
  import { Popover as SpPopover } from '@spectrum-web-components/popover';
2
+ import '@spectrum-web-components/popover/sp-popover.js';
2
3
  export declare const Popover: import("@lit-labs/react").ReactWebComponent<SpPopover, {}>;
3
4
  export declare type PopoverType = EventTarget & SpPopover;
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 { Popover as SpPopover } from "@spectrum-web-components/popover";
5
+ import "@spectrum-web-components/popover/sp-popover.js";
5
6
  export const Popover = createComponent({
6
7
  displayName: "Popover",
7
8
  elementClass: SpPopover,
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 { Popover as SpPopover } from '@spectrum-web-components/popover';\n\nexport const Popover = createComponent({\n displayName: 'Popover',\n elementClass: SpPopover,\n react: React,\n tagName: 'sp-popover',\n events: {},\n});\n\nexport type PopoverType = EventTarget & SpPopover;\n"],
5
- "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,WAAW,iBAAiB;AAE9B,aAAM,UAAU,gBAAgB;AAAA,EACnC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;",
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 { Popover as SpPopover } from '@spectrum-web-components/popover';\n\nimport '@spectrum-web-components/popover/sp-popover.js';\n\nexport const Popover = createComponent({\n displayName: 'Popover',\n elementClass: SpPopover,\n react: React,\n tagName: 'sp-popover',\n events: {},\n});\n\nexport type PopoverType = EventTarget & SpPopover;\n"],
5
+ "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,WAAW,iBAAiB;AAErC,OAAO;AAEA,aAAM,UAAU,gBAAgB;AAAA,EACnC,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 o}from"@lit-labs/react";import{Popover as p}from"@spectrum-web-components/popover";export const Popover=o({displayName:"Popover",elementClass:p,react:e,tagName:"sp-popover",events:{}});
1
+ "use strict";import*as o from"react";import{createComponent as e}from"@lit-labs/react";import{Popover as p}from"@spectrum-web-components/popover";import"@spectrum-web-components/popover/sp-popover.js";export const Popover=e({displayName:"Popover",elementClass:p,react:o,tagName:"sp-popover",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 { Popover as SpPopover } from '@spectrum-web-components/popover';\n\nexport const Popover = createComponent({\n displayName: 'Popover',\n elementClass: SpPopover,\n react: React,\n tagName: 'sp-popover',\n events: {},\n});\n\nexport type PopoverType = EventTarget & SpPopover;\n"],
5
- "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,WAAWC,MAAiB,mCAE9B,aAAM,QAAUD,EAAgB,CACnC,YAAa,UACb,aAAcC,EACd,MAAOF,EACP,QAAS,aACT,OAAQ,CAAC,CACb,CAAC",
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 { Popover as SpPopover } from '@spectrum-web-components/popover';\n\nimport '@spectrum-web-components/popover/sp-popover.js';\n\nexport const Popover = createComponent({\n displayName: 'Popover',\n elementClass: SpPopover,\n react: React,\n tagName: 'sp-popover',\n events: {},\n});\n\nexport type PopoverType = EventTarget & SpPopover;\n"],
5
+ "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,WAAWC,MAAiB,mCAErC,MAAO,iDAEA,aAAM,QAAUD,EAAgB,CACnC,YAAa,UACb,aAAcC,EACd,MAAOF,EACP,QAAS,aACT,OAAQ,CAAC,CACb,CAAC",
6
6
  "names": ["React", "createComponent", "SpPopover"]
7
7
  }
package/next.d.ts CHANGED
@@ -277,6 +277,7 @@ export declare const Popover: import("react").ComponentType<Partial<{
277
277
  placement: import("overlay/src/overlay-types").Placement;
278
278
  remove: () => void;
279
279
  tip: boolean;
280
+ normalize: () => void;
280
281
  readonly accessKeyLabel: string;
281
282
  autocapitalize: string;
282
283
  inert: boolean;
@@ -392,7 +393,6 @@ export declare const Popover: import("react").ComponentType<Partial<{
392
393
  isSameNode: (otherNode: Node | null) => boolean;
393
394
  lookupNamespaceURI: (prefix: string | null) => string | null;
394
395
  lookupPrefix: (namespace: string | null) => string | null;
395
- normalize: () => void;
396
396
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
397
397
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
398
398
  readonly ATTRIBUTE_NODE: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/popover",
3
- "version": "0.31.1-react.2+971de948d",
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/popover": "^0.31.1-react.1+86ddafa4c"
33
+ "@spectrum-web-components/popover": "^0.31.1-react.21+44f0b1df9"
34
34
  },
35
35
  "peerDependencies": {
36
- "next": "^13.4.1 || latest"
36
+ "next": "~13.4"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "next": {
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "971de948df12f7082f13ab5dd5e638d456ebbb94"
43
+ "gitHead": "44f0b1df9e1ea77d9e931629a63918ceee2744c2"
44
44
  }