@bluemarble/bm-components 0.0.9 → 0.0.12
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/esm/index.js +24 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Checkbox/index.d.ts +0 -1
- package/dist/esm/types/components/Grid/Grid.d.ts +1 -1
- package/dist/esm/types/components/LargeButton/index.d.ts +3 -2
- package/dist/esm/types/components/Radio/index.d.ts +0 -1
- package/dist/esm/types/components/Switch/index.d.ts +0 -1
- package/dist/index.d.ts +4 -3
- package/package.json +1 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren, ReactNode } from "react";
|
|
2
2
|
import { TableCellProps } from "@mui/material";
|
|
3
|
-
export interface ColumnTitleProps<T =
|
|
3
|
+
export interface ColumnTitleProps<T = Record<string, any>> {
|
|
4
4
|
name: keyof T | "-";
|
|
5
5
|
label: string;
|
|
6
6
|
transformer?: (value: string | number | Date) => string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import { ButtonProps } from "@mui/material";
|
|
2
|
+
import { ButtonProps, CircularProgressProps } from "@mui/material";
|
|
3
3
|
interface LargeButtonProps extends ButtonProps {
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
children: ReactNode;
|
|
6
|
+
CircularProgressProps?: CircularProgressProps;
|
|
6
7
|
}
|
|
7
|
-
export declare const LargeButton: ({ loading, children, ...rest }: LargeButtonProps) => JSX.Element;
|
|
8
|
+
export declare const LargeButton: ({ loading, children, CircularProgressProps, ...rest }: LargeButtonProps) => JSX.Element;
|
|
8
9
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React, { ReactNode, PropsWithChildren, FC } from 'react';
|
|
3
|
-
import { TableCellProps, TextFieldProps, TableRowProps, StandardTextFieldProps, SelectProps as SelectProps$1, FormControlProps, InputLabelProps, AutocompleteRenderInputParams, AutocompleteProps as AutocompleteProps$1, CheckboxProps as CheckboxProps$1, FormControlLabelProps, SwitchProps as SwitchProps$1, RadioGroupProps, ButtonProps } from '@mui/material';
|
|
3
|
+
import { TableCellProps, TextFieldProps, TableRowProps, StandardTextFieldProps, SelectProps as SelectProps$1, FormControlProps, InputLabelProps, AutocompleteRenderInputParams, AutocompleteProps as AutocompleteProps$1, CheckboxProps as CheckboxProps$1, FormControlLabelProps, SwitchProps as SwitchProps$1, RadioGroupProps, ButtonProps, CircularProgressProps } from '@mui/material';
|
|
4
4
|
import { TableOptions } from 'react-table';
|
|
5
5
|
import IMask$1 from 'imask';
|
|
6
6
|
|
|
7
|
-
interface ColumnTitleProps<T =
|
|
7
|
+
interface ColumnTitleProps<T = Record<string, any>> {
|
|
8
8
|
name: keyof T | "-";
|
|
9
9
|
label: string;
|
|
10
10
|
transformer?: (value: string | number | Date) => string;
|
|
@@ -175,7 +175,8 @@ declare const Radio: ({ name, withFormik, ...rest }: RadioOptionsProps) => JSX.E
|
|
|
175
175
|
interface LargeButtonProps extends ButtonProps {
|
|
176
176
|
loading?: boolean;
|
|
177
177
|
children: ReactNode;
|
|
178
|
+
CircularProgressProps?: CircularProgressProps;
|
|
178
179
|
}
|
|
179
|
-
declare const LargeButton: ({ loading, children, ...rest }: LargeButtonProps) => JSX.Element;
|
|
180
|
+
declare const LargeButton: ({ loading, children, CircularProgressProps, ...rest }: LargeButtonProps) => JSX.Element;
|
|
180
181
|
|
|
181
182
|
export { Autocomplete, Checkbox, ColumnTitleProps, EditableTableCell, FilterProps, Grid, GridV2, IFilter, Input, InputMask, LargeButton, Radio, Select, Switch, Td, Tr, filterData };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluemarble/bm-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "BM components",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
35
35
|
"@rollup/plugin-typescript": "^8.3.1",
|
|
36
36
|
"@types/react": "^17.0.43",
|
|
37
|
-
"@types/react-table": "^7.7.12",
|
|
38
37
|
"eslint": "^8.12.0",
|
|
39
38
|
"prettier": "^2.6.2",
|
|
40
39
|
"rollup": "^2.70.1",
|