@swc-react/table 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 +4089 -0
- package/next.dev.js +12 -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,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import dynamic from "next/dynamic";
|
|
3
|
+
export const Table = dynamic(() => import(".").then(({ Table: Table2 }) => Table2), { ssr: false });
|
|
4
|
+
export const TableBody = dynamic(() => import(".").then(({ TableBody: TableBody2 }) => TableBody2), { ssr: false });
|
|
5
|
+
export const TableCell = dynamic(() => import(".").then(({ TableCell: TableCell2 }) => TableCell2), { ssr: false });
|
|
6
|
+
export const TableCheckboxCell = dynamic(() => import(".").then(({ TableCheckboxCell: TableCheckboxCell2 }) => TableCheckboxCell2), {
|
|
7
|
+
ssr: false
|
|
8
|
+
});
|
|
9
|
+
export const TableHead = dynamic(() => import(".").then(({ TableHead: TableHead2 }) => TableHead2), { ssr: false });
|
|
10
|
+
export const TableHeadCell = dynamic(() => import(".").then(({ TableHeadCell: TableHeadCell2 }) => TableHeadCell2), { ssr: false });
|
|
11
|
+
export const TableRow = dynamic(() => import(".").then(({ TableRow: TableRow2 }) => TableRow2), { ssr: false });
|
|
12
|
+
//# 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 { Table as SpTable } from '.';\nimport { TableBody as SpTableBody } from '.';\nimport { TableCell as SpTableCell } from '.';\nimport { TableCheckboxCell as SpTableCheckboxCell } from '.';\nimport { TableHead as SpTableHead } from '.';\nimport { TableHeadCell as SpTableHeadCell } from '.';\nimport { TableRow as SpTableRow } from '.';\n\nexport const Table = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTable, ComponentProps<typeof SpTable>>\n>(() => import('.').then(({ Table }) => Table), { ssr: false });\nexport const TableBody = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableBody,\n ComponentProps<typeof SpTableBody>\n >\n>(() => import('.').then(({ TableBody }) => TableBody), { ssr: false });\nexport const TableCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableCell,\n ComponentProps<typeof SpTableCell>\n >\n>(() => import('.').then(({ TableCell }) => TableCell), { ssr: false });\nexport const TableCheckboxCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableCheckboxCell,\n ComponentProps<typeof SpTableCheckboxCell>\n >\n>(() => import('.').then(({ TableCheckboxCell }) => TableCheckboxCell), {\n ssr: false,\n});\nexport const TableHead = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableHead,\n ComponentProps<typeof SpTableHead>\n >\n>(() => import('.').then(({ TableHead }) => TableHead), { ssr: false });\nexport const TableHeadCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableHeadCell,\n ComponentProps<typeof SpTableHeadCell>\n >\n>(() => import('.').then(({ TableHeadCell }) => TableHeadCell), { ssr: false });\nexport const TableRow = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableRow,\n ComponentProps<typeof SpTableRow>\n >\n>(() => import('.').then(({ TableRow }) => TableRow), { ssr: false });\n"],
|
|
5
|
+
"mappings": ";AAaA,OAAO,aAAa;AAUb,aAAM,QAAQ,QAEnB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,OAAAA,OAAM,MAAMA,MAAK,GAAG,EAAE,KAAK,MAAM,CAAC;AACvD,aAAM,YAAY,QAKvB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,WAAAC,WAAU,MAAMA,UAAS,GAAG,EAAE,KAAK,MAAM,CAAC;AAC/D,aAAM,YAAY,QAKvB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,WAAAC,WAAU,MAAMA,UAAS,GAAG,EAAE,KAAK,MAAM,CAAC;AAC/D,aAAM,oBAAoB,QAK/B,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,mBAAAC,mBAAkB,MAAMA,kBAAiB,GAAG;AAAA,EACpE,KAAK;AACT,CAAC;AACM,aAAM,YAAY,QAKvB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,WAAAC,WAAU,MAAMA,UAAS,GAAG,EAAE,KAAK,MAAM,CAAC;AAC/D,aAAM,gBAAgB,QAK3B,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,eAAAC,eAAc,MAAMA,cAAa,GAAG,EAAE,KAAK,MAAM,CAAC;AACvE,aAAM,WAAW,QAKtB,MAAM,OAAO,GAAG,EAAE,KAAK,CAAC,EAAE,UAAAC,UAAS,MAAMA,SAAQ,GAAG,EAAE,KAAK,MAAM,CAAC;",
|
|
6
|
+
"names": ["Table", "TableBody", "TableCell", "TableCheckboxCell", "TableHead", "TableHeadCell", "TableRow"]
|
|
7
|
+
}
|
package/next.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";import o from"next/dynamic";export const Table=o(()=>import(".").then(({Table:e})=>e),{ssr:!1}),TableBody=o(()=>import(".").then(({TableBody:e})=>e),{ssr:!1}),TableCell=o(()=>import(".").then(({TableCell:e})=>e),{ssr:!1}),TableCheckboxCell=o(()=>import(".").then(({TableCheckboxCell:e})=>e),{ssr:!1}),TableHead=o(()=>import(".").then(({TableHead:e})=>e),{ssr:!1}),TableHeadCell=o(()=>import(".").then(({TableHeadCell:e})=>e),{ssr:!1}),TableRow=o(()=>import(".").then(({TableRow:e})=>e),{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 { Table as SpTable } from '.';\nimport { TableBody as SpTableBody } from '.';\nimport { TableCell as SpTableCell } from '.';\nimport { TableCheckboxCell as SpTableCheckboxCell } from '.';\nimport { TableHead as SpTableHead } from '.';\nimport { TableHeadCell as SpTableHeadCell } from '.';\nimport { TableRow as SpTableRow } from '.';\n\nexport const Table = dynamic<\n JSX.LibraryManagedAttributes<typeof SpTable, ComponentProps<typeof SpTable>>\n>(() => import('.').then(({ Table }) => Table), { ssr: false });\nexport const TableBody = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableBody,\n ComponentProps<typeof SpTableBody>\n >\n>(() => import('.').then(({ TableBody }) => TableBody), { ssr: false });\nexport const TableCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableCell,\n ComponentProps<typeof SpTableCell>\n >\n>(() => import('.').then(({ TableCell }) => TableCell), { ssr: false });\nexport const TableCheckboxCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableCheckboxCell,\n ComponentProps<typeof SpTableCheckboxCell>\n >\n>(() => import('.').then(({ TableCheckboxCell }) => TableCheckboxCell), {\n ssr: false,\n});\nexport const TableHead = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableHead,\n ComponentProps<typeof SpTableHead>\n >\n>(() => import('.').then(({ TableHead }) => TableHead), { ssr: false });\nexport const TableHeadCell = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableHeadCell,\n ComponentProps<typeof SpTableHeadCell>\n >\n>(() => import('.').then(({ TableHeadCell }) => TableHeadCell), { ssr: false });\nexport const TableRow = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpTableRow,\n ComponentProps<typeof SpTableRow>\n >\n>(() => import('.').then(({ TableRow }) => TableRow), { ssr: false });\n"],
|
|
5
|
+
"mappings": "aAaA,OAAOA,MAAa,eAUb,aAAM,MAAQA,EAEnB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,MAAAC,CAAM,IAAMA,CAAK,EAAG,CAAE,IAAK,EAAM,CAAC,EACjD,UAAYD,EAKvB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,UAAAE,CAAU,IAAMA,CAAS,EAAG,CAAE,IAAK,EAAM,CAAC,EACzD,UAAYF,EAKvB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,UAAAG,CAAU,IAAMA,CAAS,EAAG,CAAE,IAAK,EAAM,CAAC,EACzD,kBAAoBH,EAK/B,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,kBAAAI,CAAkB,IAAMA,CAAiB,EAAG,CACpE,IAAK,EACT,CAAC,EACY,UAAYJ,EAKvB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,UAAAK,CAAU,IAAMA,CAAS,EAAG,CAAE,IAAK,EAAM,CAAC,EACzD,cAAgBL,EAK3B,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,cAAAM,CAAc,IAAMA,CAAa,EAAG,CAAE,IAAK,EAAM,CAAC,EACjE,SAAWN,EAKtB,IAAM,OAAO,GAAG,EAAE,KAAK,CAAC,CAAE,SAAAO,CAAS,IAAMA,CAAQ,EAAG,CAAE,IAAK,EAAM,CAAC",
|
|
6
|
+
"names": ["dynamic", "Table", "TableBody", "TableCell", "TableCheckboxCell", "TableHead", "TableHeadCell", "TableRow"]
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/table",
|
|
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/table component",
|
|
7
|
+
"description": "React and Next.js wrapper of the @spectrum-web-components/table 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/table": "0.31.
|
|
33
|
+
"@spectrum-web-components/table": "^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
|
}
|