@swc-react/tooltip 0.31.0 → 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/next.dev.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ import dynamic from "next/dynamic";
3
+ export const TooltipProxy = dynamic(() => import(".").then(({ TooltipProxy: TooltipProxy2 }) => TooltipProxy2), { ssr: false });
4
+ export const Tooltip = dynamic(() => import(".").then(({ Tooltip: Tooltip2 }) => Tooltip2), { ssr: false });
5
+ //# sourceMappingURL=next.dev.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["next.ts"],
4
+ "sourcesContent": ["/*\nCopyright 2023 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 { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { TooltipProxy as SpTooltipProxy } from '.';\nimport { Tooltip as SpTooltip } from '.';\n\nexport const TooltipProxy = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTooltipProxy,\n ComponentProps<typeof SpTooltipProxy>\n >\n>(() => import('.').then(({ TooltipProxy }) => TooltipProxy), { ssr: false });\nexport const Tooltip = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTooltip,\n ComponentProps<typeof SpTooltip>\n >\n>(() => import('.').then(({ Tooltip }) => Tooltip), { ssr: false });\n"],
5
+ "mappings": ";AAaA,OAAO,aAAa;AAKb,aAAM,eAAe,QAK1B,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,cAAAA,cAAa,MAAMA,aAAY,GAAG,EAAE,KAAK,MAAM,CAAC;AACrE,aAAM,UAAU,QAKrB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,SAAAC,SAAQ,MAAMA,QAAO,GAAG,EAAE,KAAK,MAAM,CAAC;",
6
+ "names": ["TooltipProxy", "Tooltip"]
7
+ }
package/next.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";import t from"next/dynamic";export const TooltipProxy=t(()=>import(".").then(({TooltipProxy:o})=>o),{ssr:!1}),Tooltip=t(()=>import(".").then(({Tooltip:o})=>o),{ssr:!1});
2
+ //# sourceMappingURL=next.js.map
package/next.js.map ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["next.ts"],
4
+ "sourcesContent": ["/*\nCopyright 2023 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 { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { TooltipProxy as SpTooltipProxy } from '.';\nimport { Tooltip as SpTooltip } from '.';\n\nexport const TooltipProxy = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTooltipProxy,\n ComponentProps<typeof SpTooltipProxy>\n >\n>(() => import('.').then(({ TooltipProxy }) => TooltipProxy), { ssr: false });\nexport const Tooltip = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTooltip,\n ComponentProps<typeof SpTooltip>\n >\n>(() => import('.').then(({ Tooltip }) => Tooltip), { ssr: false });\n"],
5
+ "mappings": "aAaA,OAAOA,MAAa,eAKb,aAAM,aAAeA,EAK1B,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,aAAAC,CAAa,IAAMA,CAAY,EAAG,CAAE,IAAK,EAAM,CAAC,EAC/D,QAAUD,EAKrB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,QAAAE,CAAQ,IAAMA,CAAO,EAAG,CAAE,IAAK,EAAM,CAAC",
6
+ "names": ["dynamic", "TooltipProxy", "Tooltip"]
7
+ }
package/package.json CHANGED
@@ -1,13 +1,23 @@
1
1
  {
2
2
  "name": "@swc-react/tooltip",
3
- "version": "0.31.0",
3
+ "version": "0.31.1-react.21+44f0b1df9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "description": "React wrapper of the @spectrum-web-components/tooltip component",
7
+ "description": "React and Next.js wrapper of the @spectrum-web-components/tooltip component",
8
8
  "license": "Apache-2.0",
9
9
  "author": "",
10
- "main": "index.js",
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "development": "./index.dev.js",
14
+ "default": "./index.js"
15
+ },
16
+ "./next.js": {
17
+ "development": "./next.dev.js",
18
+ "default": "./next.js"
19
+ }
20
+ },
11
21
  "files": [
12
22
  "**/*.d.ts",
13
23
  "**/*.js",
@@ -20,7 +30,15 @@
20
30
  ],
21
31
  "dependencies": {
22
32
  "@lit-labs/react": "^1.1.1",
23
- "@spectrum-web-components/tooltip": "0.31.0"
33
+ "@spectrum-web-components/tooltip": "^0.31.1-react.21+44f0b1df9"
34
+ },
35
+ "peerDependencies": {
36
+ "next": "~13.4"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "next": {
40
+ "optional": true
41
+ }
24
42
  },
25
- "gitHead": "a30eeed27948a9a372b792b751f968c54337ab9e"
43
+ "gitHead": "44f0b1df9e1ea77d9e931629a63918ceee2744c2"
26
44
  }