@leapdevuk/component-toolbox 0.0.95 → 0.0.96

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.
Files changed (64) hide show
  1. package/dist/components/accordion/Accordion.d.ts +3 -0
  2. package/dist/components/accordion/index.d.ts +1 -0
  3. package/dist/components/accordiondetails/AccordionDetails.d.ts +3 -0
  4. package/dist/components/accordiondetails/index.d.ts +1 -0
  5. package/dist/components/accordionsummary/AccordionSummary.d.ts +6 -0
  6. package/dist/components/accordionsummary/index.d.ts +1 -0
  7. package/dist/components/accordiontable/AccordionTable.d.ts +14 -0
  8. package/dist/components/accordiontable/index.d.ts +1 -0
  9. package/dist/components/alert/Alert.d.ts +3 -0
  10. package/dist/components/alert/index.d.ts +1 -0
  11. package/dist/components/box/Box.d.ts +3 -0
  12. package/dist/components/box/index.d.ts +1 -0
  13. package/dist/components/checkbox/Checkbox.d.ts +9 -0
  14. package/dist/components/checkbox/index.d.ts +1 -0
  15. package/dist/components/chip/Chip.d.ts +3 -0
  16. package/dist/components/chip/index.d.ts +1 -0
  17. package/dist/components/drawer/Drawer.d.ts +10 -0
  18. package/dist/components/drawer/index.d.ts +1 -0
  19. package/dist/components/iconbutton/IconButton.d.ts +3 -0
  20. package/dist/components/iconbutton/index.d.ts +1 -0
  21. package/dist/components/index.d.ts +21 -1
  22. package/dist/components/inputadornment/InputAdornment.d.ts +3 -0
  23. package/dist/components/inputadornment/index.d.ts +1 -0
  24. package/dist/components/inputlabel/InputLabel.d.ts +3 -0
  25. package/dist/components/inputlabel/index.d.ts +1 -0
  26. package/dist/components/menu/Menu.d.ts +3 -0
  27. package/dist/components/menu/index.d.ts +1 -0
  28. package/dist/components/menuitem/MenuItem.d.ts +3 -0
  29. package/dist/components/menuitem/index.d.ts +1 -0
  30. package/dist/components/numberdisplay/NumberDisplay.d.ts +2 -2
  31. package/dist/components/select/Select.d.ts +2 -15
  32. package/dist/components/snackbar/Snackbar.d.ts +3 -0
  33. package/dist/components/snackbar/index.d.ts +1 -0
  34. package/dist/components/staffavatar/StaffAvatar.d.ts +7 -0
  35. package/dist/components/staffavatar/index.d.ts +1 -0
  36. package/dist/components/svgicon/SvgIcon.d.ts +3 -0
  37. package/dist/components/svgicon/index.d.ts +1 -0
  38. package/dist/components/textareaautosize/TextareaAutosize.d.ts +3 -0
  39. package/dist/components/textareaautosize/index.d.ts +1 -0
  40. package/dist/components/textfield/Textfield.d.ts +3 -0
  41. package/dist/components/textfield/index.d.ts +1 -0
  42. package/dist/components/tooltip/Tooltip.d.ts +3 -0
  43. package/dist/components/tooltip/index.d.ts +1 -0
  44. package/dist/components/typography/Typography.d.ts +2 -2
  45. package/dist/images/checkbox-checked-icon.d.ts +6 -0
  46. package/dist/images/checkbox-icon.d.ts +2 -0
  47. package/dist/images/doc-icon.d.ts +2 -0
  48. package/dist/images/excel-icon.d.ts +2 -0
  49. package/dist/images/index.d.ts +12 -0
  50. package/dist/images/pdf-icon.d.ts +2 -0
  51. package/dist/images/question-icon.d.ts +2 -0
  52. package/dist/images/undo-icon.d.ts +6 -0
  53. package/dist/index.cjs.js +45 -45
  54. package/dist/index.cjs.js.map +1 -1
  55. package/dist/index.d.ts +1 -0
  56. package/dist/index.es.js +8233 -7897
  57. package/dist/index.es.js.map +1 -1
  58. package/package.json +26 -26
  59. /package/dist/components/datagrid/{header-row.d.ts → HeaderRow.d.ts} +0 -0
  60. /package/dist/components/daterangepicker/{date-action-pill.d.ts → DateActionPill.d.ts} +0 -0
  61. /package/dist/{components/datepicker → images}/calendar-icon.d.ts +0 -0
  62. /package/dist/{components/dialog/images → images}/info-icon.d.ts +0 -0
  63. /package/dist/{components/dialog/images → images}/leap-icon.d.ts +0 -0
  64. /package/dist/{components/dialog/images → images}/warning-icon.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ import { AccordionProps } from '@mui/material';
2
+ declare const LCTAccordion: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTAccordion;
@@ -0,0 +1 @@
1
+ export { default as LCTAccordion } from './Accordion';
@@ -0,0 +1,3 @@
1
+ import { AccordionDetailsProps } from '@mui/material';
2
+ declare const LCTAccordionDetails: (props: AccordionDetailsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTAccordionDetails;
@@ -0,0 +1 @@
1
+ export { default as LCTAccordionDetails } from './AccordionDetails';
@@ -0,0 +1,6 @@
1
+ declare const LCTAccordionSummary: import('@emotion/styled').StyledComponent<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
+ }, "className" | "style" | "classes" | "children" | "sx" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & {
4
+ component?: React.ElementType;
5
+ } & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
6
+ export default LCTAccordionSummary;
@@ -0,0 +1 @@
1
+ export { default as LCTAccordionSummary } from './AccordionSummary';
@@ -0,0 +1,14 @@
1
+ import { GridRowParams } from '@mui/x-data-grid-pro';
2
+ import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
3
+ interface IAccordionTableProps {
4
+ maxHeight: any;
5
+ rows: any[];
6
+ columns: any;
7
+ initialState?: GridInitialStatePro | undefined;
8
+ onRowDoubleClick?: (params: GridRowParams<any>) => void;
9
+ id: (row: any) => any;
10
+ rowHeight?: number;
11
+ headerHeight?: number;
12
+ }
13
+ declare const LCTAccordionTable: import('@emotion/styled').StyledComponent<IAccordionTableProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
14
+ export default LCTAccordionTable;
@@ -0,0 +1 @@
1
+ export { default as LCTAccordionTable } from './AccordionTable';
@@ -0,0 +1,3 @@
1
+ import { AlertProps } from '@mui/material';
2
+ declare const LCTAlert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTAlert;
@@ -0,0 +1 @@
1
+ export { default as LCTAlert } from './Alert';
@@ -0,0 +1,3 @@
1
+ import { BoxProps } from '@mui/material';
2
+ declare const LCTBox: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTBox;
@@ -0,0 +1 @@
1
+ export { default as LCTBox } from './Box';
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ interface ICheckBoxProps {
3
+ label?: string;
4
+ value?: boolean;
5
+ disabled?: boolean;
6
+ onChange?: (value: boolean) => void;
7
+ }
8
+ declare const LCTCheckBox: FC<ICheckBoxProps>;
9
+ export default LCTCheckBox;
@@ -0,0 +1 @@
1
+ export { default as LCTCheckbox } from './Checkbox';
@@ -0,0 +1,3 @@
1
+ import { ChipProps } from '@mui/material';
2
+ declare const LCTChip: (props: ChipProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTChip;
@@ -0,0 +1 @@
1
+ export { default as LCTChip } from './Chip';
@@ -0,0 +1,10 @@
1
+ import { DrawerProps } from '@mui/material';
2
+ interface IDrawerProps extends DrawerProps {
3
+ leftContent: React.ReactNode;
4
+ rightContent: React.ReactNode;
5
+ height: number | string;
6
+ defaultDrawerWidth: number;
7
+ minDrawerWidth?: number;
8
+ }
9
+ declare const LCTDrawer: (props: IDrawerProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default LCTDrawer;
@@ -0,0 +1 @@
1
+ export { default as LCTDrawer } from './Drawer';
@@ -0,0 +1,3 @@
1
+ import { IconButtonProps } from '@mui/material';
2
+ declare const LCTIconButton: (props: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTIconButton;
@@ -0,0 +1 @@
1
+ export { default as LCTIconButton } from './IconButton';
@@ -1,14 +1,34 @@
1
+ export * from './accordion';
2
+ export * from './accordiondetails';
3
+ export * from './accordionsummary';
4
+ export * from './accordiontable';
5
+ export * from './alert';
1
6
  export * from './appbar';
7
+ export * from './box';
2
8
  export * from './button';
9
+ export * from './checkbox';
10
+ export * from './chip';
3
11
  export * from './currencyinput';
4
12
  export * from './datepicker';
5
13
  export * from './daterangepicker';
6
14
  export * from './datagrid';
7
15
  export * from './dialog';
8
- export * from './formdialog';
16
+ export * from './drawer';
9
17
  export * from './footer';
18
+ export * from './formdialog';
19
+ export * from './iconbutton';
20
+ export * from './inputadornment';
21
+ export * from './inputlabel';
10
22
  export * from './loader';
23
+ export * from './menu';
24
+ export * from './menuitem';
11
25
  export * from './numberdisplay';
12
26
  export * from './numberinput';
13
27
  export * from './select';
28
+ export * from './snackbar';
29
+ export * from './staffavatar';
30
+ export * from './svgicon';
31
+ export * from './textareaautosize';
32
+ export * from './textfield';
33
+ export * from './tooltip';
14
34
  export * from './typography';
@@ -0,0 +1,3 @@
1
+ import { InputAdornmentProps } from '@mui/material';
2
+ declare const LCTInputAdornment: (props: InputAdornmentProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTInputAdornment;
@@ -0,0 +1 @@
1
+ export { default as LCTInputAdornment } from './InputAdornment';
@@ -0,0 +1,3 @@
1
+ import { InputLabelProps } from '@mui/material';
2
+ declare const LCTInputLabel: (props: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTInputLabel;
@@ -0,0 +1 @@
1
+ export { default as LCTInputLabel } from './InputLabel';
@@ -0,0 +1,3 @@
1
+ import { MenuProps } from '@mui/material';
2
+ declare const LCTMenu: (props: MenuProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTMenu;
@@ -0,0 +1 @@
1
+ export { default as LCTMenu } from './Menu';
@@ -0,0 +1,3 @@
1
+ import { MenuItemProps } from '@mui/material';
2
+ declare const LCTMenuItem: (props: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTMenuItem;
@@ -0,0 +1 @@
1
+ export { default as LCTMenuItem } from './MenuItem';
@@ -6,8 +6,8 @@ interface IProps {
6
6
  hideNoValue?: boolean;
7
7
  notCurrency?: boolean;
8
8
  showNegative?: boolean;
9
- showPrefix?: boolean;
9
+ prefix?: string;
10
10
  value?: number;
11
11
  }
12
- declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, notCurrency, showNegative, showPrefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, notCurrency, showNegative, prefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export default LCTNumberDisplay;
@@ -1,16 +1,3 @@
1
- export interface ISelectItem {
2
- name: string;
3
- value: string;
4
- }
5
- interface IProps {
6
- autoComplete?: boolean;
7
- disabled?: boolean;
8
- fullWidth?: boolean;
9
- id: string;
10
- items: ISelectItem[];
11
- onUpdate: (value: string | null) => void;
12
- size?: "small" | "medium";
13
- value: string | null;
14
- }
15
- declare const LCTSelect: ({ autoComplete, disabled, fullWidth, id, items, onUpdate, size, value, ...props }: IProps) => import("react/jsx-runtime").JSX.Element | undefined;
1
+ import { SelectProps } from '@mui/material';
2
+ declare const LCTSelect: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
16
3
  export default LCTSelect;
@@ -0,0 +1,3 @@
1
+ import { SnackbarProps } from '@mui/material';
2
+ declare const LCTSnackbar: (props: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTSnackbar;
@@ -0,0 +1 @@
1
+ export { default as LCTSnackbar } from './Snackbar';
@@ -0,0 +1,7 @@
1
+ interface IStaffAvatarProps {
2
+ staffInitials?: string;
3
+ hideMargin?: boolean;
4
+ fullName?: string;
5
+ }
6
+ declare const LCTStaffAvatar: (props: IStaffAvatarProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default LCTStaffAvatar;
@@ -0,0 +1 @@
1
+ export { default as LCTStaffAvatar } from './StaffAvatar';
@@ -0,0 +1,3 @@
1
+ import { SvgIconProps } from '@mui/material';
2
+ declare const LCTSvgIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTSvgIcon;
@@ -0,0 +1 @@
1
+ export { default as LCTSvgIcon } from './SvgIcon';
@@ -0,0 +1,3 @@
1
+ import { TextareaAutosizeProps } from '@mui/material';
2
+ declare const LCTTextareaAutosize: (props: TextareaAutosizeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTTextareaAutosize;
@@ -0,0 +1 @@
1
+ export { default as LCTTextareaAutosize } from './TextareaAutosize';
@@ -0,0 +1,3 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ declare const LCTTextfield: (props: TextFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTTextfield;
@@ -0,0 +1 @@
1
+ export { default as LCTTextfield } from './Textfield';
@@ -0,0 +1,3 @@
1
+ import { TooltipProps } from '@mui/material';
2
+ declare const LCTTooltip: (props: TooltipProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTTooltip;
@@ -0,0 +1 @@
1
+ export { default as LCTTooltip } from './Tooltip';
@@ -1,3 +1,3 @@
1
- import { TypographyOwnProps } from '@mui/material/Typography';
2
- declare const LCTTypography: (props: TypographyOwnProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { TypographyProps } from '@mui/material/Typography';
2
+ declare const LCTTypography: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LCTTypography;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface IIconProps {
3
+ disabled?: boolean;
4
+ }
5
+ declare const CheckedCheckboxIcon: FC<IIconProps>;
6
+ export default CheckedCheckboxIcon;
@@ -0,0 +1,2 @@
1
+ declare function CheckboxIcon(): import("react/jsx-runtime").JSX.Element;
2
+ export default CheckboxIcon;
@@ -0,0 +1,2 @@
1
+ declare function DocIcon(): import("react/jsx-runtime").JSX.Element;
2
+ export default DocIcon;
@@ -0,0 +1,2 @@
1
+ declare function ExcelIcon(): import("react/jsx-runtime").JSX.Element;
2
+ export default ExcelIcon;
@@ -0,0 +1,12 @@
1
+ export * from './bin-icon';
2
+ export * from './calendar-icon';
3
+ export * from './checkbox-checked-icon';
4
+ export * from './checkbox-icon';
5
+ export * from './doc-icon';
6
+ export * from './excel-icon';
7
+ export * from './info-icon';
8
+ export * from './leap-icon';
9
+ export * from './pdf-icon';
10
+ export * from './question-icon';
11
+ export * from './undo-icon';
12
+ export * from './warning-icon';
@@ -0,0 +1,2 @@
1
+ declare const PDFIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export default PDFIcon;
@@ -0,0 +1,2 @@
1
+ declare function QuestionIcon(): import("react/jsx-runtime").JSX.Element;
2
+ export default QuestionIcon;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface IIconProps {
3
+ disabled?: boolean;
4
+ }
5
+ declare const UndoIcon: FC<IIconProps>;
6
+ export default UndoIcon;