@vuu-ui/vuu-filters 3.1.0-beta.6 → 3.1.0

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.1.0-beta.6",
2
+ "version": "3.1.0",
3
3
  "main": "./src/index.js",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
@@ -10,19 +10,19 @@
10
10
  "type-defs": "node ../../scripts/build-type-defs.mjs"
11
11
  },
12
12
  "devDependencies": {
13
- "@vuu-ui/vuu-data-types": "3.1.0-beta.6",
14
- "@vuu-ui/vuu-protocol-types": "3.1.0-beta.6",
15
- "@vuu-ui/vuu-table-types": "3.1.0-beta.6",
16
- "@vuu-ui/vuu-filter-types": "3.1.0-beta.6"
13
+ "@vuu-ui/vuu-data-types": "3.1.0",
14
+ "@vuu-ui/vuu-protocol-types": "3.1.0",
15
+ "@vuu-ui/vuu-table-types": "3.1.0",
16
+ "@vuu-ui/vuu-filter-types": "3.1.0"
17
17
  },
18
18
  "dependencies": {
19
- "@vuu-ui/vuu-context-menu": "3.1.0-beta.6",
20
- "@vuu-ui/vuu-data-react": "3.1.0-beta.6",
21
- "@vuu-ui/vuu-filter-parser": "3.1.0-beta.6",
22
- "@vuu-ui/vuu-popups": "3.1.0-beta.6",
23
- "@vuu-ui/vuu-ui-controls": "3.1.0-beta.6",
24
- "@vuu-ui/vuu-table": "3.1.0-beta.6",
25
- "@vuu-ui/vuu-utils": "3.1.0-beta.6",
19
+ "@vuu-ui/vuu-context-menu": "3.1.0",
20
+ "@vuu-ui/vuu-data-react": "3.1.0",
21
+ "@vuu-ui/vuu-filter-parser": "3.1.0",
22
+ "@vuu-ui/vuu-popups": "3.1.0",
23
+ "@vuu-ui/vuu-ui-controls": "3.1.0",
24
+ "@vuu-ui/vuu-table": "3.1.0",
25
+ "@vuu-ui/vuu-utils": "3.1.0",
26
26
  "@salt-ds/core": "1.54.1",
27
27
  "@salt-ds/lab": "1.0.0-alpha.83",
28
28
  "@salt-ds/styles": "0.2.1",
@@ -1,20 +1,10 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { TabListNext, TabNext, TabNextPanel, TabNextTrigger, TabsNext } from "@salt-ds/lab";
3
- import { useComponentCssInjection } from "@salt-ds/styles";
4
- import { useWindow } from "@salt-ds/window";
5
3
  import clsx from "clsx";
6
4
  import { FilterPanel } from "../filter-panel/FilterPanel.js";
7
5
  import { SavedFilterPanel } from "../saved-filters/SavedFilterPanel.js";
8
- import TabbedFilterContainer from "./TabbedFilterContainer.css";
9
6
  const classBase = "vuuTabbedFilterContainer";
10
- const TabbedFilterContainer_TabbedFilterContainer = ({ SavedFilterPanelProps, children, className, filter, filterProviderKey, filterTabLabel = "Ad hoc", onFilterApplied, onFilterCleared, savedFilterLabel = "Saved", ...htmlAttributes })=>{
11
- const targetWindow = useWindow();
12
- useComponentCssInjection({
13
- testId: "vuu-tabbed-filter-container",
14
- css: TabbedFilterContainer,
15
- window: targetWindow
16
- });
17
- return /*#__PURE__*/ jsx("div", {
7
+ const TabbedFilterContainer = ({ SavedFilterPanelProps, children, className, filter, filterProviderKey, filterTabLabel = "Ad hoc", onFilterApplied, onFilterCleared, savedFilterLabel = "Saved", ...htmlAttributes })=>/*#__PURE__*/ jsx("div", {
18
8
  ...htmlAttributes,
19
9
  className: clsx(classBase, className),
20
10
  children: /*#__PURE__*/ jsxs(TabsNext, {
@@ -57,5 +47,4 @@ const TabbedFilterContainer_TabbedFilterContainer = ({ SavedFilterPanelProps, ch
57
47
  ]
58
48
  })
59
49
  });
60
- };
61
- export { TabbedFilterContainer_TabbedFilterContainer as TabbedFilterContainer };
50
+ export { TabbedFilterContainer };