@leapdevuk/component-toolbox 0.0.93 → 0.0.95

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 (49) hide show
  1. package/dist/components/index.d.ts +0 -19
  2. package/dist/components/numberdisplay/NumberDisplay.d.ts +2 -2
  3. package/dist/components/select/Select.d.ts +15 -2
  4. package/dist/components/typography/Typography.d.ts +2 -2
  5. package/dist/index.cjs.js +38 -38
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.es.js +7842 -8039
  8. package/dist/index.es.js.map +1 -1
  9. package/package.json +1 -1
  10. package/dist/components/accordion/LCTAccordion.d.ts +0 -3
  11. package/dist/components/accordion/index.d.ts +0 -1
  12. package/dist/components/accordiondetails/LCTAccordionDetails.d.ts +0 -3
  13. package/dist/components/accordiondetails/index.d.ts +0 -1
  14. package/dist/components/accordiontable/LCTAccordionSummary.d.ts +0 -6
  15. package/dist/components/accordiontable/index.d.ts +0 -1
  16. package/dist/components/alert/LCTAlert.d.ts +0 -3
  17. package/dist/components/alert/index.d.ts +0 -1
  18. package/dist/components/box/LCTBox.d.ts +0 -3
  19. package/dist/components/box/index.d.ts +0 -1
  20. package/dist/components/checkbox/LCTCheckbox.d.ts +0 -9
  21. package/dist/components/checkbox/index.d.ts +0 -1
  22. package/dist/components/chip/LCTChip.d.ts +0 -3
  23. package/dist/components/chip/index.d.ts +0 -1
  24. package/dist/components/drawer/LCTDrawer.d.ts +0 -10
  25. package/dist/components/drawer/index.d.ts +0 -1
  26. package/dist/components/iconbutton/LCTIconButton.d.ts +0 -3
  27. package/dist/components/iconbutton/index.d.ts +0 -1
  28. package/dist/components/inputadornment/LCTInputAdornment.d.ts +0 -3
  29. package/dist/components/inputadornment/index.d.ts +0 -1
  30. package/dist/components/inputlabel/LCTInputLabel.d.ts +0 -3
  31. package/dist/components/inputlabel/index.d.ts +0 -1
  32. package/dist/components/menu/Menu.d.ts +0 -3
  33. package/dist/components/menu/index.d.ts +0 -1
  34. package/dist/components/menuitem/MenuItem.d.ts +0 -3
  35. package/dist/components/menuitem/index.d.ts +0 -1
  36. package/dist/components/snackbar/LCTSnackbar.d.ts +0 -3
  37. package/dist/components/snackbar/index.d.ts +0 -1
  38. package/dist/components/staffavatar/LCTStaffAvatar.d.ts +0 -7
  39. package/dist/components/staffavatar/index.d.ts +0 -1
  40. package/dist/components/svgicon/LCTSvgIcon.d.ts +0 -3
  41. package/dist/components/svgicon/index.d.ts +0 -1
  42. package/dist/components/textareaautosize/LCTTextareaAutosize.d.ts +0 -3
  43. package/dist/components/textareaautosize/index.d.ts +0 -1
  44. package/dist/components/textfield/LCTTextfield.d.ts +0 -3
  45. package/dist/components/textfield/index.d.ts +0 -1
  46. package/dist/components/tooltip/LCTTooltip.d.ts +0 -3
  47. package/dist/components/tooltip/index.d.ts +0 -1
  48. package/dist/images/checkbox-checked-icon.d.ts +0 -6
  49. package/dist/images/checkbox-icon.d.ts +0 -2
@@ -1,33 +1,14 @@
1
- export * from './accordion';
2
- export * from './accordiondetails';
3
- export * from './accordiontable';
4
- export * from './alert';
5
1
  export * from './appbar';
6
- export * from './box';
7
2
  export * from './button';
8
- export * from './checkbox';
9
- export * from './chip';
10
3
  export * from './currencyinput';
11
4
  export * from './datepicker';
12
5
  export * from './daterangepicker';
13
6
  export * from './datagrid';
14
7
  export * from './dialog';
15
- export * from './drawer';
16
8
  export * from './formdialog';
17
- export * from './iconbutton';
18
- export * from './inputadornment';
19
- export * from './inputlabel';
20
9
  export * from './footer';
21
10
  export * from './loader';
22
- export * from './menu';
23
- export * from './menuitem';
24
11
  export * from './numberdisplay';
25
12
  export * from './numberinput';
26
13
  export * from './select';
27
- export * from './snackbar';
28
- export * from './staffavatar';
29
- export * from './svgicon';
30
- export * from './textareaautosize';
31
- export * from './textfield';
32
- export * from './tooltip';
33
14
  export * from './typography';
@@ -6,8 +6,8 @@ interface IProps {
6
6
  hideNoValue?: boolean;
7
7
  notCurrency?: boolean;
8
8
  showNegative?: boolean;
9
- prefix?: string;
9
+ showPrefix?: boolean;
10
10
  value?: number;
11
11
  }
12
- declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, notCurrency, showNegative, prefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, notCurrency, showNegative, showPrefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export default LCTNumberDisplay;
@@ -1,3 +1,16 @@
1
- import { SelectProps } from '@mui/material';
2
- declare const LCTSelect: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
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;
3
16
  export default LCTSelect;
@@ -1,3 +1,3 @@
1
- import { TypographyProps } from '@mui/material/Typography';
2
- declare const LCTTypography: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { TypographyOwnProps } from '@mui/material/Typography';
2
+ declare const LCTTypography: (props: TypographyOwnProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LCTTypography;