@swc-react/tabs 0.31.0 → 0.31.1-react.2
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.d.ts +2354 -0
- package/next.dev.js +7 -0
- package/next.dev.js.map +7 -0
- package/next.js +2 -0
- package/next.js.map +7 -0
- package/package.json +23 -5
package/next.dev.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import dynamic from "next/dynamic";
|
|
3
|
+
export const Tab = dynamic(() => import(".").then(({ Tab: Tab2 }) => Tab2), { ssr: false });
|
|
4
|
+
export const TabPanel = dynamic(() => import(".").then(({ TabPanel: TabPanel2 }) => TabPanel2), { ssr: false });
|
|
5
|
+
export const Tabs = dynamic(() => import(".").then(({ Tabs: Tabs2 }) => Tabs2), { ssr: false });
|
|
6
|
+
export const TabsOverflow = dynamic(() => import(".").then(({ TabsOverflow: TabsOverflow2 }) => TabsOverflow2), { ssr: false });
|
|
7
|
+
//# sourceMappingURL=next.dev.js.map
|
package/next.dev.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 { Tab as SpTab } from '.';\nimport { TabPanel as SpTabPanel } from '.';\nimport { Tabs as SpTabs } from '.';\nimport { TabsOverflow as SpTabsOverflow } from '.';\n\nexport const Tab = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTab, ComponentProps<typeof SpTab>>\n>(() => import('.').then(({ Tab }) => Tab), { ssr: false });\nexport const TabPanel = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTabPanel,\n ComponentProps<typeof SpTabPanel>\n >\n>(() => import('.').then(({ TabPanel }) => TabPanel), { ssr: false });\nexport const Tabs = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTabs, ComponentProps<typeof SpTabs>>\n>(() => import('.').then(({ Tabs }) => Tabs), { ssr: false });\nexport const TabsOverflow = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTabsOverflow,\n ComponentProps<typeof SpTabsOverflow>\n >\n>(() => import('.').then(({ TabsOverflow }) => TabsOverflow), { ssr: false });\n"],
|
|
5
|
+
"mappings": ";AAaA,OAAO,aAAa;AAOb,aAAM,MAAM,QAEjB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,KAAAA,KAAI,MAAMA,IAAG,GAAG,EAAE,KAAK,MAAM,CAAC;AACnD,aAAM,WAAW,QAKtB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,UAAAC,UAAS,MAAMA,SAAQ,GAAG,EAAE,KAAK,MAAM,CAAC;AAC7D,aAAM,OAAO,QAElB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,MAAAC,MAAK,MAAMA,KAAI,GAAG,EAAE,KAAK,MAAM,CAAC;AACrD,aAAM,eAAe,QAK1B,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,cAAAC,cAAa,MAAMA,aAAY,GAAG,EAAE,KAAK,MAAM,CAAC;",
|
|
6
|
+
"names": ["Tab", "TabPanel", "Tabs", "TabsOverflow"]
|
|
7
|
+
}
|
package/next.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";import t from"next/dynamic";export const Tab=t(()=>import(".").then(({Tab:o})=>o),{ssr:!1}),TabPanel=t(()=>import(".").then(({TabPanel:o})=>o),{ssr:!1}),Tabs=t(()=>import(".").then(({Tabs:o})=>o),{ssr:!1}),TabsOverflow=t(()=>import(".").then(({TabsOverflow: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 { Tab as SpTab } from '.';\nimport { TabPanel as SpTabPanel } from '.';\nimport { Tabs as SpTabs } from '.';\nimport { TabsOverflow as SpTabsOverflow } from '.';\n\nexport const Tab = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTab, ComponentProps<typeof SpTab>>\n>(() => import('.').then(({ Tab }) => Tab), { ssr: false });\nexport const TabPanel = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTabPanel,\n ComponentProps<typeof SpTabPanel>\n >\n>(() => import('.').then(({ TabPanel }) => TabPanel), { ssr: false });\nexport const Tabs = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTabs, ComponentProps<typeof SpTabs>>\n>(() => import('.').then(({ Tabs }) => Tabs), { ssr: false });\nexport const TabsOverflow = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTabsOverflow,\n ComponentProps<typeof SpTabsOverflow>\n >\n>(() => import('.').then(({ TabsOverflow }) => TabsOverflow), { ssr: false });\n"],
|
|
5
|
+
"mappings": "aAaA,OAAOA,MAAa,eAOb,aAAM,IAAMA,EAEjB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,IAAAC,CAAI,IAAMA,CAAG,EAAG,CAAE,IAAK,EAAM,CAAC,EAC7C,SAAWD,EAKtB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,SAAAE,CAAS,IAAMA,CAAQ,EAAG,CAAE,IAAK,EAAM,CAAC,EACvD,KAAOF,EAElB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,KAAAG,CAAK,IAAMA,CAAI,EAAG,CAAE,IAAK,EAAM,CAAC,EAC/C,aAAeH,EAK1B,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,aAAAI,CAAa,IAAMA,CAAY,EAAG,CAAE,IAAK,EAAM,CAAC",
|
|
6
|
+
"names": ["dynamic", "Tab", "TabPanel", "Tabs", "TabsOverflow"]
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/tabs",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.1-react.2+971de948d",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"description": "React wrapper of the @spectrum-web-components/tabs component",
|
|
7
|
+
"description": "React and Next.js wrapper of the @spectrum-web-components/tabs component",
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"author": "",
|
|
10
|
-
"
|
|
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/tabs": "0.31.
|
|
33
|
+
"@spectrum-web-components/tabs": "^0.31.1-react.1+86ddafa4c"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"next": "^13.4.1 || latest"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"next": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
24
42
|
},
|
|
25
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "971de948df12f7082f13ab5dd5e638d456ebbb94"
|
|
26
44
|
}
|