@coveord/plasma-mantine 48.14.2 → 48.15.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/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-test.log +7 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/components/table/TableFooter.js +11 -5
- package/dist/cjs/components/table/TableFooter.js.map +1 -1
- package/dist/definitions/components/table/TableFooter.d.ts +7 -2
- package/dist/definitions/components/table/TableFooter.d.ts.map +1 -1
- package/dist/esm/components/table/TableFooter.js +11 -5
- package/dist/esm/components/table/TableFooter.js.map +1 -1
- package/package.json +1 -1
- package/src/components/table/TableFooter.tsx +7 -4
|
@@ -8,16 +8,22 @@ Object.defineProperty(exports, "TableFooter", {
|
|
|
8
8
|
return TableFooter;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
var _objectSpread = require("@swc/helpers/lib/_object_spread.js").default;
|
|
12
|
+
var _objectSpreadProps = require("@swc/helpers/lib/_object_spread_props.js").default;
|
|
13
|
+
var _objectWithoutProperties = require("@swc/helpers/lib/_object_without_properties.js").default;
|
|
11
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
15
|
var _core = require("@mantine/core");
|
|
13
|
-
var TableFooter = function(
|
|
14
|
-
var children =
|
|
15
|
-
|
|
16
|
+
var TableFooter = function(_param) /*#__PURE__*/ {
|
|
17
|
+
var children = _param.children, others = _objectWithoutProperties(_param, [
|
|
18
|
+
"children"
|
|
19
|
+
]);
|
|
20
|
+
return (0, _jsxRuntime.jsx)(_core.Group, _objectSpreadProps(_objectSpread({
|
|
16
21
|
position: "apart",
|
|
17
22
|
px: "md",
|
|
18
|
-
py: "sm"
|
|
23
|
+
py: "sm"
|
|
24
|
+
}, others), {
|
|
19
25
|
children: children
|
|
20
|
-
});
|
|
26
|
+
}));
|
|
21
27
|
};
|
|
22
28
|
|
|
23
29
|
//# sourceMappingURL=TableFooter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/table/TableFooter.tsx"],"sourcesContent":["import {Group} from '@mantine/core';\nimport {FunctionComponent,
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/table/TableFooter.tsx"],"sourcesContent":["import {Group, DefaultProps} from '@mantine/core';\nimport {FunctionComponent, ReactNode} from 'react';\n\ninterface TableFooterProps extends DefaultProps {\n children?: ReactNode;\n}\nexport const TableFooter: FunctionComponent<TableFooterProps> = ({children, ...others}) => (\n <Group position=\"apart\" px=\"md\" py=\"sm\" {...others}>\n {children}\n </Group>\n);\n"],"names":["TableFooter","children","others","Group","position","px","py"],"mappings":"AAAA;;;;+BAMaA;;;eAAAA;;;;;;;oBANqB;AAM3B,IAAMA,cAAmD,+BAC5D;QAD8DC,kBAAAA,UAAaC;QAAbD;;WAC9D,qBAACE,WAAK;QAACC,UAAS;QAAQC,IAAG;QAAKC,IAAG;OAASJ;kBACvCD;;AACE"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DefaultProps } from '@mantine/core';
|
|
2
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
3
|
+
interface TableFooterProps extends DefaultProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const TableFooter: FunctionComponent<TableFooterProps>;
|
|
7
|
+
export {};
|
|
3
8
|
//# sourceMappingURL=TableFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableFooter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,YAAY,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAEnD,UAAU,gBAAiB,SAAQ,YAAY;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AACD,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAI3D,CAAC"}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import _object_spread from "@swc/helpers/src/_object_spread.mjs";
|
|
2
|
+
import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
|
|
3
|
+
import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
|
|
1
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
5
|
import { Group } from "@mantine/core";
|
|
3
|
-
export var TableFooter = function(
|
|
4
|
-
var children =
|
|
5
|
-
|
|
6
|
+
export var TableFooter = function(_param) /*#__PURE__*/ {
|
|
7
|
+
var children = _param.children, others = _object_without_properties(_param, [
|
|
8
|
+
"children"
|
|
9
|
+
]);
|
|
10
|
+
return _jsx(Group, _object_spread_props(_object_spread({
|
|
6
11
|
position: "apart",
|
|
7
12
|
px: "md",
|
|
8
|
-
py: "sm"
|
|
13
|
+
py: "sm"
|
|
14
|
+
}, others), {
|
|
9
15
|
children: children
|
|
10
|
-
});
|
|
16
|
+
}));
|
|
11
17
|
};
|
|
12
18
|
|
|
13
19
|
//# sourceMappingURL=TableFooter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/table/TableFooter.tsx"],"sourcesContent":["import {Group} from '@mantine/core';\nimport {FunctionComponent,
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/table/TableFooter.tsx"],"sourcesContent":["import {Group, DefaultProps} from '@mantine/core';\nimport {FunctionComponent, ReactNode} from 'react';\n\ninterface TableFooterProps extends DefaultProps {\n children?: ReactNode;\n}\nexport const TableFooter: FunctionComponent<TableFooterProps> = ({children, ...others}) => (\n <Group position=\"apart\" px=\"md\" py=\"sm\" {...others}>\n {children}\n </Group>\n);\n"],"names":["Group","TableFooter","children","others","position","px","py"],"mappings":"AAAA;;;;AAAA,SAAQA,KAAK,QAAqB,gBAAgB;AAMlD,OAAO,IAAMC,cAAmD,+BAC5D;QAD8DC,kBAAAA,UAAaC;QAAbD;;WAC9D,KAACF;QAAMI,UAAS;QAAQC,IAAG;QAAKC,IAAG;OAASH;kBACvCD;;AACE,EACT"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {Group} from '@mantine/core';
|
|
2
|
-
import {FunctionComponent,
|
|
1
|
+
import {Group, DefaultProps} from '@mantine/core';
|
|
2
|
+
import {FunctionComponent, ReactNode} from 'react';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
interface TableFooterProps extends DefaultProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export const TableFooter: FunctionComponent<TableFooterProps> = ({children, ...others}) => (
|
|
8
|
+
<Group position="apart" px="md" py="sm" {...others}>
|
|
6
9
|
{children}
|
|
7
10
|
</Group>
|
|
8
11
|
);
|