@vuu-ui/vuu-datatable 0.8.43 → 0.8.45
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/cjs/filter-table/FilterTable.css.js +6 -0
- package/cjs/filter-table/FilterTable.css.js.map +1 -0
- package/cjs/filter-table/FilterTable.js +9 -0
- package/cjs/filter-table/FilterTable.js.map +1 -1
- package/esm/filter-table/FilterTable.css.js +4 -0
- package/esm/filter-table/FilterTable.css.js.map +1 -0
- package/esm/filter-table/FilterTable.js +9 -0
- package/esm/filter-table/FilterTable.js.map +1 -1
- package/package.json +17 -10
- package/types/filter-table/FilterTable.d.ts +0 -2
- package/cjs/filter-table/FilterTable.css +0 -5
- package/esm/filter-table/FilterTable.css +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTable.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var vuuFilters = require('@vuu-ui/vuu-filters');
|
|
5
5
|
var vuuTable = require('@vuu-ui/vuu-table');
|
|
6
|
+
var styles = require('@salt-ds/styles');
|
|
7
|
+
var window = require('@salt-ds/window');
|
|
6
8
|
var cx = require('clsx');
|
|
9
|
+
var FilterTable$1 = require('./FilterTable.css.js');
|
|
7
10
|
|
|
8
11
|
const classBase = "vuuFilterTable";
|
|
9
12
|
const FilterTable = ({
|
|
@@ -11,6 +14,12 @@ const FilterTable = ({
|
|
|
11
14
|
FilterBarProps: FilterBarProps2,
|
|
12
15
|
...htmlAttributes
|
|
13
16
|
}) => {
|
|
17
|
+
const targetWindow = window.useWindow();
|
|
18
|
+
styles.useComponentCssInjection({
|
|
19
|
+
testId: "vuu-filter-table",
|
|
20
|
+
css: FilterTable$1,
|
|
21
|
+
window: targetWindow
|
|
22
|
+
});
|
|
14
23
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...htmlAttributes, className: cx(classBase), children: [
|
|
15
24
|
/* @__PURE__ */ jsxRuntime.jsx(vuuFilters.FilterBar, { ...FilterBarProps2 }),
|
|
16
25
|
/* @__PURE__ */ jsxRuntime.jsx(vuuTable.Table, { ...TableProps2 })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterTable.js","sources":["../../src/filter-table/FilterTable.tsx"],"sourcesContent":["import { FilterBar, FilterBarProps } from \"@vuu-ui/vuu-filters\";\nimport { Table, TableProps } from \"@vuu-ui/vuu-table\";\nimport { HTMLAttributes } from \"react\";\nimport cx from \"clsx\";\n\nimport \"./FilterTable.css\";\n\nconst classBase = \"vuuFilterTable\";\n\nexport interface FilterTableProps extends HTMLAttributes<HTMLDivElement> {\n FilterBarProps: FilterBarProps;\n TableProps: TableProps;\n}\n\
|
|
1
|
+
{"version":3,"file":"FilterTable.js","sources":["../../src/filter-table/FilterTable.tsx"],"sourcesContent":["import { FilterBar, FilterBarProps } from \"@vuu-ui/vuu-filters\";\nimport { Table, TableProps } from \"@vuu-ui/vuu-table\";\nimport { HTMLAttributes } from \"react\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\nimport { useWindow } from \"@salt-ds/window\";\nimport cx from \"clsx\";\n\nimport filterTableCss from \"./FilterTable.css\";\n\nconst classBase = \"vuuFilterTable\";\n\nexport interface FilterTableProps extends HTMLAttributes<HTMLDivElement> {\n FilterBarProps: FilterBarProps;\n TableProps: TableProps;\n}\n\nexport const FilterTable = ({\n TableProps,\n FilterBarProps,\n ...htmlAttributes\n}: FilterTableProps) => {\n const targetWindow = useWindow();\n useComponentCssInjection({\n testId: \"vuu-filter-table\",\n css: filterTableCss,\n window: targetWindow,\n });\n\n return (\n <div {...htmlAttributes} className={cx(classBase)}>\n <FilterBar {...FilterBarProps} />\n <Table {...TableProps} />\n </div>\n );\n};\n"],"names":["TableProps","FilterBarProps","useWindow","useComponentCssInjection","filterTableCss","jsx","FilterBar","Table"],"mappings":";;;;;;;;;;AASA,MAAM,SAAY,GAAA,gBAAA,CAAA;AAOX,MAAM,cAAc,CAAC;AAAA,EAC1B,UAAAA,EAAAA,WAAAA;AAAA,EACA,cAAAC,EAAAA,eAAAA;AAAA,EACA,GAAG,cAAA;AACL,CAAwB,KAAA;AACtB,EAAA,MAAM,eAAeC,gBAAU,EAAA,CAAA;AAC/B,EAAyBC,+BAAA,CAAA;AAAA,IACvB,MAAQ,EAAA,kBAAA;AAAA,IACR,GAAK,EAAAC,aAAA;AAAA,IACL,MAAQ,EAAA,YAAA;AAAA,GACT,CAAA,CAAA;AAED,EAAA,uCACG,KAAK,EAAA,EAAA,GAAG,gBAAgB,SAAW,EAAA,EAAA,CAAG,SAAS,CAC9C,EAAA,QAAA,EAAA;AAAA,oBAACC,cAAA,CAAAC,oBAAA,EAAA,EAAW,GAAGL,eAAgB,EAAA,CAAA;AAAA,oBAC/BI,cAAA,CAACE,cAAO,EAAA,EAAA,GAAGP,WAAY,EAAA,CAAA;AAAA,GACzB,EAAA,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTable.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { FilterBar } from '@vuu-ui/vuu-filters';
|
|
3
3
|
import { Table } from '@vuu-ui/vuu-table';
|
|
4
|
+
import { useComponentCssInjection } from '@salt-ds/styles';
|
|
5
|
+
import { useWindow } from '@salt-ds/window';
|
|
4
6
|
import cx from 'clsx';
|
|
7
|
+
import filterTableCss from './FilterTable.css.js';
|
|
5
8
|
|
|
6
9
|
const classBase = "vuuFilterTable";
|
|
7
10
|
const FilterTable = ({
|
|
@@ -9,6 +12,12 @@ const FilterTable = ({
|
|
|
9
12
|
FilterBarProps: FilterBarProps2,
|
|
10
13
|
...htmlAttributes
|
|
11
14
|
}) => {
|
|
15
|
+
const targetWindow = useWindow();
|
|
16
|
+
useComponentCssInjection({
|
|
17
|
+
testId: "vuu-filter-table",
|
|
18
|
+
css: filterTableCss,
|
|
19
|
+
window: targetWindow
|
|
20
|
+
});
|
|
12
21
|
return /* @__PURE__ */ jsxs("div", { ...htmlAttributes, className: cx(classBase), children: [
|
|
13
22
|
/* @__PURE__ */ jsx(FilterBar, { ...FilterBarProps2 }),
|
|
14
23
|
/* @__PURE__ */ jsx(Table, { ...TableProps2 })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterTable.js","sources":["../../src/filter-table/FilterTable.tsx"],"sourcesContent":["import { FilterBar, FilterBarProps } from \"@vuu-ui/vuu-filters\";\nimport { Table, TableProps } from \"@vuu-ui/vuu-table\";\nimport { HTMLAttributes } from \"react\";\nimport cx from \"clsx\";\n\nimport \"./FilterTable.css\";\n\nconst classBase = \"vuuFilterTable\";\n\nexport interface FilterTableProps extends HTMLAttributes<HTMLDivElement> {\n FilterBarProps: FilterBarProps;\n TableProps: TableProps;\n}\n\
|
|
1
|
+
{"version":3,"file":"FilterTable.js","sources":["../../src/filter-table/FilterTable.tsx"],"sourcesContent":["import { FilterBar, FilterBarProps } from \"@vuu-ui/vuu-filters\";\nimport { Table, TableProps } from \"@vuu-ui/vuu-table\";\nimport { HTMLAttributes } from \"react\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\nimport { useWindow } from \"@salt-ds/window\";\nimport cx from \"clsx\";\n\nimport filterTableCss from \"./FilterTable.css\";\n\nconst classBase = \"vuuFilterTable\";\n\nexport interface FilterTableProps extends HTMLAttributes<HTMLDivElement> {\n FilterBarProps: FilterBarProps;\n TableProps: TableProps;\n}\n\nexport const FilterTable = ({\n TableProps,\n FilterBarProps,\n ...htmlAttributes\n}: FilterTableProps) => {\n const targetWindow = useWindow();\n useComponentCssInjection({\n testId: \"vuu-filter-table\",\n css: filterTableCss,\n window: targetWindow,\n });\n\n return (\n <div {...htmlAttributes} className={cx(classBase)}>\n <FilterBar {...FilterBarProps} />\n <Table {...TableProps} />\n </div>\n );\n};\n"],"names":["TableProps","FilterBarProps"],"mappings":";;;;;;;;AASA,MAAM,SAAY,GAAA,gBAAA,CAAA;AAOX,MAAM,cAAc,CAAC;AAAA,EAC1B,UAAAA,EAAAA,WAAAA;AAAA,EACA,cAAAC,EAAAA,eAAAA;AAAA,EACA,GAAG,cAAA;AACL,CAAwB,KAAA;AACtB,EAAA,MAAM,eAAe,SAAU,EAAA,CAAA;AAC/B,EAAyB,wBAAA,CAAA;AAAA,IACvB,MAAQ,EAAA,kBAAA;AAAA,IACR,GAAK,EAAA,cAAA;AAAA,IACL,MAAQ,EAAA,YAAA;AAAA,GACT,CAAA,CAAA;AAED,EAAA,4BACG,KAAK,EAAA,EAAA,GAAG,gBAAgB,SAAW,EAAA,EAAA,CAAG,SAAS,CAC9C,EAAA,QAAA,EAAA;AAAA,oBAAC,GAAA,CAAA,SAAA,EAAA,EAAW,GAAGA,eAAgB,EAAA,CAAA;AAAA,oBAC/B,GAAA,CAAC,KAAO,EAAA,EAAA,GAAGD,WAAY,EAAA,CAAA;AAAA,GACzB,EAAA,CAAA,CAAA;AAEJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.8.
|
|
2
|
+
"version": "0.8.45",
|
|
3
3
|
"author": "heswell",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@
|
|
7
|
-
"@
|
|
8
|
-
"@vuu-ui/vuu-
|
|
9
|
-
"@vuu-ui/vuu-
|
|
10
|
-
"@vuu-ui/vuu-
|
|
11
|
-
"@vuu-ui/vuu-
|
|
12
|
-
"@vuu-ui/vuu-
|
|
13
|
-
"@vuu-ui/vuu-
|
|
14
|
-
"@vuu-ui/vuu-
|
|
6
|
+
"@salt-ds/styles": "0.2.1",
|
|
7
|
+
"@salt-ds/window": "0.1.1",
|
|
8
|
+
"@vuu-ui/vuu-data-local": "0.8.45",
|
|
9
|
+
"@vuu-ui/vuu-table-types": "0.8.45",
|
|
10
|
+
"@vuu-ui/vuu-filters": "0.8.45",
|
|
11
|
+
"@vuu-ui/vuu-layout": "0.8.45",
|
|
12
|
+
"@vuu-ui/vuu-popups": "0.8.45",
|
|
13
|
+
"@vuu-ui/vuu-table": "0.8.45",
|
|
14
|
+
"@vuu-ui/vuu-table-extras": "0.8.45",
|
|
15
|
+
"@vuu-ui/vuu-ui-controls": "0.8.45",
|
|
16
|
+
"@vuu-ui/vuu-utils": "0.8.45"
|
|
15
17
|
},
|
|
16
18
|
"peerDependencies": {
|
|
17
19
|
"clsx": "^2.0.0",
|
|
@@ -24,8 +26,13 @@
|
|
|
24
26
|
"cjs",
|
|
25
27
|
"/types"
|
|
26
28
|
],
|
|
29
|
+
"exports": {
|
|
30
|
+
"require": "./cjs/index.js",
|
|
31
|
+
"import": "./esm/index.js"
|
|
32
|
+
},
|
|
27
33
|
"main": "cjs/index.js",
|
|
28
34
|
"module": "esm/index.js",
|
|
29
35
|
"name": "@vuu-ui/vuu-datatable",
|
|
36
|
+
"type": "module",
|
|
30
37
|
"types": "types/index.d.ts"
|
|
31
38
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { FilterBarProps } from "@vuu-ui/vuu-filters";
|
|
2
2
|
import { TableProps } from "@vuu-ui/vuu-table";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
-
import "./FilterTable.css";
|
|
5
4
|
export interface FilterTableProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
5
|
FilterBarProps: FilterBarProps;
|
|
7
6
|
TableProps: TableProps;
|
|
8
7
|
}
|
|
9
|
-
import "./FilterTable.css";
|
|
10
8
|
export declare const FilterTable: ({ TableProps, FilterBarProps, ...htmlAttributes }: FilterTableProps) => JSX.Element;
|