pne-ui 1.0.159 → 1.0.160
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/component/search-ui/filters/component/criterion/CriterionLeft.js +2 -1
- package/cjs/component/search-ui/filters/component/criterion/CriterionLeft.js.map +1 -1
- package/cjs/component/table/PneHeaderTableCell.js +3 -2
- package/cjs/component/table/PneHeaderTableCell.js.map +1 -1
- package/esm/component/search-ui/filters/component/criterion/CriterionLeft.js +2 -1
- package/esm/component/search-ui/filters/component/criterion/CriterionLeft.js.map +1 -1
- package/esm/component/table/PneHeaderTableCell.js +3 -2
- package/esm/component/table/PneHeaderTableCell.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,8 +6,9 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
6
6
|
const react_i18next_1 = require("react-i18next");
|
|
7
7
|
const material_1 = require("@mui/material");
|
|
8
8
|
const CriterionLeft = (props) => {
|
|
9
|
-
const { t } = (0, react_i18next_1.useTranslation)();
|
|
10
9
|
const { criterionType } = props;
|
|
10
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
11
|
+
// const theme = usePneTheme()
|
|
11
12
|
return react_1.default.createElement(material_1.Box, { sx: titleSx },
|
|
12
13
|
react_1.default.createElement(material_1.Box, { component: 'span', sx: { display: 'inline-block' } }, t('react.CriterionTypeEnum.' + criterionType)));
|
|
13
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CriterionLeft.js","sourceRoot":"","sources":["../../../../../../src/component/search-ui/filters/component/criterion/CriterionLeft.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,iDAA6C;AAC7C,4CAA2C;
|
|
1
|
+
{"version":3,"file":"CriterionLeft.js","sourceRoot":"","sources":["../../../../../../src/component/search-ui/filters/component/criterion/CriterionLeft.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,iDAA6C;AAC7C,4CAA2C;AAOpC,MAAM,aAAa,GAAG,CAAC,KAAY,EAAE,EAAE;IAC1C,MAAM,EACF,aAAa,EAChB,GAAG,KAAK,CAAA;IAET,MAAM,EAAC,CAAC,EAAC,GAAG,IAAA,8BAAc,GAAE,CAAA;IAC5B,8BAA8B;IAE9B,OAAO,8BAAC,cAAG,IAAC,EAAE,EAAE,OAAO;QACnB,8BAAC,cAAG,IAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,EAAC,OAAO,EAAE,cAAc,EAAC,IAChD,CAAC,CAAC,0BAA0B,GAAG,aAAa,CAAC,CAC5C,CACJ,CAAA;AACV,CAAC,CAAA;AAbY,QAAA,aAAa,iBAazB;AAED,MAAM,OAAO,GAAY;IACrB,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE,SAAS,EAAE,gBAAgB;CACrC,CAAA"}
|
|
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const AbstractHeaderTableCell_1 = tslib_1.__importDefault(require("./AbstractHeaderTableCell"));
|
|
6
|
+
const usePaynetTheme_1 = require("../../usePaynetTheme");
|
|
6
7
|
const PneHeaderTableCell = (props) => {
|
|
7
8
|
const { sx, children, ...rest } = props;
|
|
9
|
+
const theme = (0, usePaynetTheme_1.usePneTheme)();
|
|
8
10
|
const _sx = [
|
|
9
11
|
{
|
|
10
|
-
|
|
11
|
-
borderBottom: '1px solid #D3E7FF',
|
|
12
|
+
borderBottom: `1px solid ${theme.palette.primary.light}`,
|
|
12
13
|
background: 'transparent',
|
|
13
14
|
},
|
|
14
15
|
...(Array.isArray(sx) ? sx : [sx])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PneHeaderTableCell.js","sourceRoot":"","sources":["../../../src/component/table/PneHeaderTableCell.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAE1B,gGAAgE;
|
|
1
|
+
{"version":3,"file":"PneHeaderTableCell.js","sourceRoot":"","sources":["../../../src/component/table/PneHeaderTableCell.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAE1B,gGAAgE;AAEhE,yDAAiD;AAEjD,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACjD,MAAM,EACF,EAAE,EACF,QAAQ,EACR,GAAG,IAAI,EACV,GAAG,KAAK,CAAA;IAET,MAAM,KAAK,GAAG,IAAA,4BAAW,GAAE,CAAA;IAE3B,MAAM,GAAG,GAAY;QACjB;YACI,YAAY,EAAE,aAAa,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE;YACxD,UAAU,EAAE,aAAa;SAC5B;QACD,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KACrC,CAAA;IAED,OAAO,8BAAC,iCAAuB,IAAC,EAAE,EAAE,GAAG,KAAM,IAAI,IAAG,QAAQ,CAA2B,CAAA;AAC3F,CAAC,CAAA;AAED,kBAAe,kBAAkB,CAAC"}
|
|
@@ -2,8 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Box } from '@mui/material';
|
|
4
4
|
export const CriterionLeft = (props) => {
|
|
5
|
-
const { t } = useTranslation();
|
|
6
5
|
const { criterionType } = props;
|
|
6
|
+
const { t } = useTranslation();
|
|
7
|
+
// const theme = usePneTheme()
|
|
7
8
|
return React.createElement(Box, { sx: titleSx },
|
|
8
9
|
React.createElement(Box, { component: 'span', sx: { display: 'inline-block' } }, t('react.CriterionTypeEnum.' + criterionType)));
|
|
9
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CriterionLeft.js","sourceRoot":"","sources":["../../../../../../src/component/search-ui/filters/component/criterion/CriterionLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,GAAG,EAAU,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"CriterionLeft.js","sourceRoot":"","sources":["../../../../../../src/component/search-ui/filters/component/criterion/CriterionLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,GAAG,EAAU,MAAM,eAAe,CAAC;AAO3C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAY,EAAE,EAAE;IAC1C,MAAM,EACF,aAAa,EAChB,GAAG,KAAK,CAAA;IAET,MAAM,EAAC,CAAC,EAAC,GAAG,cAAc,EAAE,CAAA;IAC5B,8BAA8B;IAE9B,OAAO,oBAAC,GAAG,IAAC,EAAE,EAAE,OAAO;QACnB,oBAAC,GAAG,IAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,EAAC,OAAO,EAAE,cAAc,EAAC,IAChD,CAAC,CAAC,0BAA0B,GAAG,aAAa,CAAC,CAC5C,CACJ,CAAA;AACV,CAAC,CAAA;AAED,MAAM,OAAO,GAAY;IACrB,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE,SAAS,EAAE,gBAAgB;CACrC,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import AbstractHeaderTableCell from './AbstractHeaderTableCell';
|
|
3
|
+
import { usePneTheme } from "../../usePaynetTheme";
|
|
3
4
|
const PneHeaderTableCell = (props) => {
|
|
4
5
|
const { sx, children, ...rest } = props;
|
|
6
|
+
const theme = usePneTheme();
|
|
5
7
|
const _sx = [
|
|
6
8
|
{
|
|
7
|
-
|
|
8
|
-
borderBottom: '1px solid #D3E7FF',
|
|
9
|
+
borderBottom: `1px solid ${theme.palette.primary.light}`,
|
|
9
10
|
background: 'transparent',
|
|
10
11
|
},
|
|
11
12
|
...(Array.isArray(sx) ? sx : [sx])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PneHeaderTableCell.js","sourceRoot":"","sources":["../../../src/component/table/PneHeaderTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"PneHeaderTableCell.js","sourceRoot":"","sources":["../../../src/component/table/PneHeaderTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAEjD,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACjD,MAAM,EACF,EAAE,EACF,QAAQ,EACR,GAAG,IAAI,EACV,GAAG,KAAK,CAAA;IAET,MAAM,KAAK,GAAG,WAAW,EAAE,CAAA;IAE3B,MAAM,GAAG,GAAY;QACjB;YACI,YAAY,EAAE,aAAa,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE;YACxD,UAAU,EAAE,aAAa;SAC5B;QACD,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KACrC,CAAA;IAED,OAAO,oBAAC,uBAAuB,IAAC,EAAE,EAAE,GAAG,KAAM,IAAI,IAAG,QAAQ,CAA2B,CAAA;AAC3F,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAC"}
|