@monolith-forensics/monolith-ui 1.3.7 → 1.3.8

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.
@@ -1,11 +1,9 @@
1
1
  import React from "react";
2
- interface ItemTotalProps {
2
+ export type ItemTotalProps = {
3
3
  className?: string;
4
4
  total: number;
5
5
  Icon: React.ComponentType<any>;
6
6
  style?: React.CSSProperties;
7
7
  title?: string;
8
- }
9
- declare const ItemTotal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<ItemTotalProps, never>> & string & Omit<({ className, total, Icon, style, title, }: ItemTotalProps) => import("react/jsx-runtime").JSX.Element, keyof React.Component<any, {}, any>>;
10
- export default ItemTotal;
11
- export type { ItemTotalProps };
8
+ };
9
+ export declare const ItemTotal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<ItemTotalProps, never>> & string & Omit<({ className, total, Icon, style, title, }: ItemTotalProps) => import("react/jsx-runtime").JSX.Element, keyof React.Component<any, {}, any>>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import styled from "styled-components";
3
- const ItemTotal = styled(({ className, total, Icon, style = {}, title = "Total Items", }) => {
3
+ export const ItemTotal = styled(({ className, total, Icon, style = {}, title = "Total Items", }) => {
4
4
  return (_jsxs("div", { className: className, title: title, style: style, children: [_jsx(Icon, { size: 14, style: {
5
5
  fontSize: 14,
6
6
  marginRight: 5,
@@ -19,4 +19,3 @@ const ItemTotal = styled(({ className, total, Icon, style = {}, title = "Total I
19
19
  color: ${({ theme }) => theme.palette.text.primary};
20
20
  }
21
21
  `;
22
- export default ItemTotal;
@@ -1,2 +1 @@
1
- export { default } from "./ItemTotal";
2
- export type { ItemTotalProps } from "./ItemTotal";
1
+ export * from "./ItemTotal";
@@ -1 +1 @@
1
- export { default } from "./ItemTotal";
1
+ export * from "./ItemTotal";
package/dist/index.d.ts CHANGED
@@ -28,8 +28,7 @@ export { default as Tooltip } from "./Tooltip";
28
28
  export { default as Pill } from "./Pill";
29
29
  export { default as Calendar } from "./Calendar";
30
30
  export { default as Typography } from "./Typography";
31
- export { default as ItemTotal } from "./ItemTotal";
32
- export type { ItemTotalProps } from "./ItemTotal";
31
+ export * from "./ItemTotal";
33
32
  export * from "./RichTextEditor";
34
33
  export { default as Loader } from "./Loader";
35
34
  export type { LoaderProps } from "./Loader";
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ export { default as Tooltip } from "./Tooltip";
21
21
  export { default as Pill } from "./Pill";
22
22
  export { default as Calendar } from "./Calendar";
23
23
  export { default as Typography } from "./Typography";
24
- export { default as ItemTotal } from "./ItemTotal";
24
+ export * from "./ItemTotal";
25
25
  export * from "./RichTextEditor";
26
26
  export { default as Loader } from "./Loader";
27
27
  export * from "./QueryFilter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",