onekijs-ui 0.19.12 → 0.19.13
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/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +12 -5
- package/dist/index.module.js.map +1 -1
- package/dist/styles/border.d.ts +1 -1
- package/dist/styles/flex.d.ts +1 -1
- package/dist/styles/size.d.ts +6 -6
- package/dist/styles/typography.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/checkbox/FormCheckbox.tsx +9 -1
- package/src/components/grid/style.ts +2 -2
- package/src/components/table/components/filters/TableTextFilterComponent.tsx +2 -2
package/dist/index.module.js
CHANGED
|
@@ -1856,10 +1856,10 @@ const getColWidths = (gap, theme) => {
|
|
|
1856
1856
|
const content = `{ flex: 0 0 calc((100% / 12) * ${size} - ${gap}); max-width: calc((100% / 12) * ${size} - ${gap}); }`;
|
|
1857
1857
|
if (variant) {
|
|
1858
1858
|
const breakpoint = theme.breakpoints[variant];
|
|
1859
|
-
return `@media (min-width: ${breakpoint}) { .o-col-${variant}-${size} ${content} }`;
|
|
1859
|
+
return `@media (min-width: ${breakpoint}) { & > .o-col-${variant}-${size} ${content} }`;
|
|
1860
1860
|
}
|
|
1861
1861
|
else {
|
|
1862
|
-
return
|
|
1862
|
+
return `& > .o-col-${size} ${content}`;
|
|
1863
1863
|
}
|
|
1864
1864
|
};
|
|
1865
1865
|
const colWidths = [];
|
|
@@ -2386,7 +2386,14 @@ var SuccessIcon = styled(SuccessIconComponent) `
|
|
|
2386
2386
|
`;
|
|
2387
2387
|
|
|
2388
2388
|
const FormCheckboxValueDisplayer = ({ value }) => {
|
|
2389
|
-
|
|
2389
|
+
if (value) {
|
|
2390
|
+
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center', marginTop: value ? '2px' : '4px' } },
|
|
2391
|
+
React.createElement(SuccessIcon, null),
|
|
2392
|
+
React.createElement("span", { style: { marginLeft: '5px' } }, "Yes")));
|
|
2393
|
+
}
|
|
2394
|
+
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center', marginTop: value ? '2px' : '4px' } },
|
|
2395
|
+
React.createElement(RemoveIcon$1, { color: "red", width: "14px", height: "14px" }),
|
|
2396
|
+
React.createElement("span", { style: { marginLeft: '5px' } }, "No")));
|
|
2390
2397
|
};
|
|
2391
2398
|
const FormCheckbox = React.memo((props) => {
|
|
2392
2399
|
const [fieldLayoutProps, fieldComponentProps] = useFieldLayout(Object.assign({}, props, {
|
|
@@ -9997,11 +10004,11 @@ const TableInputFilterComponent = ({ column, operators, }) => {
|
|
|
9997
10004
|
TableInputFilterComponent.displayName = 'TableInputFilterComponent';
|
|
9998
10005
|
|
|
9999
10006
|
const operators$2 = [
|
|
10000
|
-
{ text: 'contains', operator: '
|
|
10007
|
+
{ text: 'contains', operator: 'i_like', not: false },
|
|
10001
10008
|
{ text: 'ends with', operator: 'ew', not: false },
|
|
10002
10009
|
{ text: 'equals', operator: 'eq', not: false },
|
|
10003
10010
|
{ text: 'starts with', operator: 'sw', not: false },
|
|
10004
|
-
{ text: 'does not contain', operator: '
|
|
10011
|
+
{ text: 'does not contain', operator: 'i_like', not: true },
|
|
10005
10012
|
{ text: 'does not end with', operator: 'ew', not: true },
|
|
10006
10013
|
{ text: 'is not equal', operator: 'eq', not: true },
|
|
10007
10014
|
{ text: 'does not start with', operator: 'sw', not: true },
|