@xelto.npm/xc2-lib 0.0.49 → 0.0.51

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 (98) hide show
  1. package/dist/cjs/index.js +7595 -102319
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/index.js +7466 -102175
  4. package/dist/esm/index.js.map +1 -1
  5. package/dist/index.cjs.js +10714 -0
  6. package/dist/index.esm.js +10694 -0
  7. package/package.json +13 -4
  8. package/dist/cjs/types/components/Inputs/datepicker/DatePicker.d.ts +0 -4
  9. package/dist/cjs/types/components/Inputs/datepicker/DatePickerProps.d.ts +0 -10
  10. package/dist/cjs/types/components/Inputs/datepicker/index.d.ts +0 -1
  11. package/dist/cjs/types/components/Inputs/multiselect/MultiSelect.d.ts +0 -4
  12. package/dist/cjs/types/components/Inputs/multiselect/MultiSelectProps.d.ts +0 -15
  13. package/dist/cjs/types/components/Inputs/multiselect/index.d.ts +0 -1
  14. package/dist/cjs/types/components/Inputs/select/Select.d.ts +0 -4
  15. package/dist/cjs/types/components/Inputs/select/SelectProps.d.ts +0 -16
  16. package/dist/cjs/types/components/Inputs/select/index.d.ts +0 -1
  17. package/dist/cjs/types/components/Inputs/textfield/TextField.d.ts +0 -9
  18. package/dist/cjs/types/components/Inputs/textfield/TextFieldProps.d.ts +0 -18
  19. package/dist/cjs/types/components/Inputs/textfield/index.d.ts +0 -1
  20. package/dist/cjs/types/components/appTile/AppTileComponent.d.ts +0 -11
  21. package/dist/cjs/types/components/appTile/index.d.ts +0 -1
  22. package/dist/cjs/types/components/bottomBar/BottomBarComponent.d.ts +0 -14
  23. package/dist/cjs/types/components/bottomBar/index.d.ts +0 -1
  24. package/dist/cjs/types/components/bottomInfoBar/BottomInfoBar.d.ts +0 -4
  25. package/dist/cjs/types/components/bottomInfoBar/BottomInfoBarProps.d.ts +0 -7
  26. package/dist/cjs/types/components/bottomInfoBar/index.d.ts +0 -1
  27. package/dist/cjs/types/components/buttons/customButton/CustomButtonComponent.d.ts +0 -4
  28. package/dist/cjs/types/components/buttons/customButton/CustomButtonProps.d.ts +0 -11
  29. package/dist/cjs/types/components/buttons/customButton/index.d.ts +0 -1
  30. package/dist/cjs/types/components/buttons/iconButton/IconButtonComponent.d.ts +0 -4
  31. package/dist/cjs/types/components/buttons/iconButton/IconButtonProps.d.ts +0 -10
  32. package/dist/cjs/types/components/buttons/iconButton/index.d.ts +0 -1
  33. package/dist/cjs/types/components/checkbox/CheckboxComponent.d.ts +0 -4
  34. package/dist/cjs/types/components/checkbox/CheckboxProps.d.ts +0 -9
  35. package/dist/cjs/types/components/checkbox/index.d.ts +0 -1
  36. package/dist/cjs/types/components/foundations/icon/Icon.d.ts +0 -4
  37. package/dist/cjs/types/components/foundations/icon/IconProps.d.ts +0 -9
  38. package/dist/cjs/types/components/foundations/icon/index.d.ts +0 -1
  39. package/dist/cjs/types/components/foundations/illustration/Illustration.d.ts +0 -8
  40. package/dist/cjs/types/components/foundations/illustration/index.d.ts +0 -1
  41. package/dist/cjs/types/components/foundations/logo/Logo.d.ts +0 -6
  42. package/dist/cjs/types/components/foundations/logo/index.d.ts +0 -1
  43. package/dist/cjs/types/components/index.d.ts +0 -16
  44. package/dist/cjs/types/components/searchBar/SearchBarComponent.d.ts +0 -4
  45. package/dist/cjs/types/components/searchBar/SearchBarProps.d.ts +0 -11
  46. package/dist/cjs/types/components/searchBar/index.d.ts +0 -1
  47. package/dist/cjs/types/components/tableMobile/TableMobileComponent.d.ts +0 -4
  48. package/dist/cjs/types/components/tableMobile/TableMobileProps.d.ts +0 -7
  49. package/dist/cjs/types/components/tableMobile/index.d.ts +0 -1
  50. package/dist/cjs/types/components/typography/Typography.d.ts +0 -8
  51. package/dist/cjs/types/components/typography/index.d.ts +0 -1
  52. package/dist/cjs/types/index.d.ts +0 -1
  53. package/dist/esm/types/components/Inputs/datepicker/DatePicker.d.ts +0 -4
  54. package/dist/esm/types/components/Inputs/datepicker/DatePickerProps.d.ts +0 -10
  55. package/dist/esm/types/components/Inputs/datepicker/index.d.ts +0 -1
  56. package/dist/esm/types/components/Inputs/multiselect/MultiSelect.d.ts +0 -4
  57. package/dist/esm/types/components/Inputs/multiselect/MultiSelectProps.d.ts +0 -15
  58. package/dist/esm/types/components/Inputs/multiselect/index.d.ts +0 -1
  59. package/dist/esm/types/components/Inputs/select/Select.d.ts +0 -4
  60. package/dist/esm/types/components/Inputs/select/SelectProps.d.ts +0 -16
  61. package/dist/esm/types/components/Inputs/select/index.d.ts +0 -1
  62. package/dist/esm/types/components/Inputs/textfield/TextField.d.ts +0 -9
  63. package/dist/esm/types/components/Inputs/textfield/TextFieldProps.d.ts +0 -18
  64. package/dist/esm/types/components/Inputs/textfield/index.d.ts +0 -1
  65. package/dist/esm/types/components/appTile/AppTileComponent.d.ts +0 -11
  66. package/dist/esm/types/components/appTile/index.d.ts +0 -1
  67. package/dist/esm/types/components/bottomBar/BottomBarComponent.d.ts +0 -14
  68. package/dist/esm/types/components/bottomBar/index.d.ts +0 -1
  69. package/dist/esm/types/components/bottomInfoBar/BottomInfoBar.d.ts +0 -4
  70. package/dist/esm/types/components/bottomInfoBar/BottomInfoBarProps.d.ts +0 -7
  71. package/dist/esm/types/components/bottomInfoBar/index.d.ts +0 -1
  72. package/dist/esm/types/components/buttons/customButton/CustomButtonComponent.d.ts +0 -4
  73. package/dist/esm/types/components/buttons/customButton/CustomButtonProps.d.ts +0 -11
  74. package/dist/esm/types/components/buttons/customButton/index.d.ts +0 -1
  75. package/dist/esm/types/components/buttons/iconButton/IconButtonComponent.d.ts +0 -4
  76. package/dist/esm/types/components/buttons/iconButton/IconButtonProps.d.ts +0 -10
  77. package/dist/esm/types/components/buttons/iconButton/index.d.ts +0 -1
  78. package/dist/esm/types/components/checkbox/CheckboxComponent.d.ts +0 -4
  79. package/dist/esm/types/components/checkbox/CheckboxProps.d.ts +0 -9
  80. package/dist/esm/types/components/checkbox/index.d.ts +0 -1
  81. package/dist/esm/types/components/foundations/icon/Icon.d.ts +0 -4
  82. package/dist/esm/types/components/foundations/icon/IconProps.d.ts +0 -9
  83. package/dist/esm/types/components/foundations/icon/index.d.ts +0 -1
  84. package/dist/esm/types/components/foundations/illustration/Illustration.d.ts +0 -8
  85. package/dist/esm/types/components/foundations/illustration/index.d.ts +0 -1
  86. package/dist/esm/types/components/foundations/logo/Logo.d.ts +0 -6
  87. package/dist/esm/types/components/foundations/logo/index.d.ts +0 -1
  88. package/dist/esm/types/components/index.d.ts +0 -16
  89. package/dist/esm/types/components/searchBar/SearchBarComponent.d.ts +0 -4
  90. package/dist/esm/types/components/searchBar/SearchBarProps.d.ts +0 -11
  91. package/dist/esm/types/components/searchBar/index.d.ts +0 -1
  92. package/dist/esm/types/components/tableMobile/TableMobileComponent.d.ts +0 -4
  93. package/dist/esm/types/components/tableMobile/TableMobileProps.d.ts +0 -7
  94. package/dist/esm/types/components/tableMobile/index.d.ts +0 -1
  95. package/dist/esm/types/components/typography/Typography.d.ts +0 -8
  96. package/dist/esm/types/components/typography/index.d.ts +0 -1
  97. package/dist/esm/types/index.d.ts +0 -1
  98. package/dist/index.d.ts +0 -192
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
+
8
9
  "scripts": {
9
10
  "start": "react-scripts start",
10
11
  "rollup": "rollup -c",
@@ -43,12 +44,17 @@
43
44
  ]
44
45
  },
45
46
  "devDependencies": {
47
+ "@babel/cli": "^7.19.3",
48
+ "@babel/core": "^7.20.5",
49
+ "@babel/preset-env": "^7.20.2",
50
+ "@babel/preset-react": "^7.18.6",
46
51
  "@emotion/react": "^11.10.5",
47
52
  "@emotion/styled": "^11.10.5",
48
53
  "@mui/icons-material": "^5.10.15",
49
54
  "@mui/material": "^5.10.15",
50
55
  "@mui/styles": "^5.10.10",
51
56
  "@mui/x-date-pickers": "^5.0.8",
57
+ "@rollup/plugin-babel": "^6.0.3",
52
58
  "@rollup/plugin-commonjs": "^23.0.3",
53
59
  "@rollup/plugin-node-resolve": "^15.0.1",
54
60
  "@rollup/plugin-typescript": "8.3.3",
@@ -71,6 +77,7 @@
71
77
  "babel-plugin-named-exports-order": "0.0.2",
72
78
  "date-fns": "^2.29.3",
73
79
  "mui-datatables": "^4.2.2",
80
+ "npm-run-all": "^4.1.5",
74
81
  "prop-types": "^15.8.1",
75
82
  "react": "^18.2.0",
76
83
  "react-dom": "^18.2.0",
@@ -79,7 +86,9 @@
79
86
  "react-uuid": "^2.0.0",
80
87
  "rollup": "^3.6.0",
81
88
  "rollup-plugin-copy": "^3.4.0",
89
+ "rollup-plugin-delete": "^2.0.0",
82
90
  "rollup-plugin-dts": "^5.0.0",
91
+ "rollup-plugin-peer-deps-external": "^2.2.4",
83
92
  "storybook-preset-inline-svg": "^1.0.1",
84
93
  "styled-components": "^5.3.6",
85
94
  "svg-inline-loader": "^0.8.2",
@@ -93,12 +102,12 @@
93
102
  "react": "^18.2.0",
94
103
  "react-dom": "^18.2.0"
95
104
  },
96
- "main": "dist/cjs/index.js",
97
- "module": "dist/esm/index.js",
105
+ "main": "dist/index.cjs.js",
106
+ "module": "dist/index.esm.js",
107
+ "source": "src/index.js",
98
108
  "files": [
99
109
  "dist"
100
110
  ],
101
- "types": "dist/index.d.ts",
102
111
  "repository": {
103
112
  "type": "git",
104
113
  "url": "git+https://github.com/xeltoteam/XC2-LIB.git"
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { DatePickerProps } from "./DatePickerProps";
3
- declare const DatePicker: React.FunctionComponent<DatePickerProps>;
4
- export default DatePicker;
@@ -1,10 +0,0 @@
1
- import { Ref, SetStateAction } from "react";
2
- export interface DatePickerProps {
3
- value: string;
4
- disabled?: boolean;
5
- label?: string;
6
- fluid?: boolean;
7
- onChange: (value: SetStateAction<string>, keyboardInputValue?: string) => void;
8
- forwardedRef?: Ref<HTMLInputElement>;
9
- endAdornment?: string;
10
- }
@@ -1 +0,0 @@
1
- export { default } from './DatePicker';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { MultiSelectProps } from "./MultiSelectProps";
3
- declare const MultiSelect: React.FunctionComponent<MultiSelectProps>;
4
- export default MultiSelect;
@@ -1,15 +0,0 @@
1
- import { RefObject } from "react";
2
- export interface MultiSelectProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- label?: string;
6
- options?: {
7
- label: string;
8
- }[];
9
- value?: object | string | null;
10
- noOptionsText?: string;
11
- placeholder?: string;
12
- limitTags?: number;
13
- onChange?: (e: any, value: any) => void;
14
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
15
- }
@@ -1 +0,0 @@
1
- export { default } from './MultiSelect';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { SelectProps } from "./SelectProps";
3
- declare const Select: React.FunctionComponent<SelectProps>;
4
- export default Select;
@@ -1,16 +0,0 @@
1
- import { MouseEventHandler, RefObject } from "react";
2
- export interface SelectProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- label?: string;
6
- options?: {
7
- label: string;
8
- }[];
9
- withRefresh?: boolean;
10
- value?: object | string | null;
11
- noOptionsText?: string;
12
- placeholder?: string;
13
- onChange?: (e: any, value: any) => void;
14
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
15
- onRefreshClick?: MouseEventHandler<HTMLDivElement>;
16
- }
@@ -1 +0,0 @@
1
- export { default } from './Select';
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { TextFieldProps } from "./TextFieldProps";
3
- interface ExtraProps {
4
- fluid?: boolean;
5
- small?: boolean;
6
- }
7
- export declare const StyledTextField: import("@emotion/styled").StyledComponent<(import("@mui/material/TextField").TextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>) & ExtraProps, {}, {}>;
8
- declare const TextField: React.FunctionComponent<TextFieldProps>;
9
- export default TextField;
@@ -1,18 +0,0 @@
1
- import { ChangeEventHandler, RefObject } from "react";
2
- export interface TextFieldProps {
3
- label?: string;
4
- error?: boolean;
5
- icon?: string;
6
- disabled?: boolean;
7
- fluid?: boolean;
8
- type?: string;
9
- min?: string;
10
- max?: string;
11
- small?: boolean;
12
- helperText?: string;
13
- value?: string;
14
- onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
15
- onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
16
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
17
- endAdornment?: string;
18
- }
@@ -1 +0,0 @@
1
- export { default } from './TextField';
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AppTileComponent: ({ header, description, illustrationName, forwardedRef, isBigType, size, color }: {
3
- header: any;
4
- description: any;
5
- illustrationName: any;
6
- forwardedRef?: null | undefined;
7
- isBigType: any;
8
- size: any;
9
- color: any;
10
- }) => JSX.Element;
11
- export default AppTileComponent;
@@ -1 +0,0 @@
1
- export { default } from "./AppTileComponent";
@@ -1,14 +0,0 @@
1
- import React, { MouseEventHandler } from 'react';
2
- interface ItemProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- onClick?: MouseEventHandler<HTMLButtonElement>;
6
- type?: string;
7
- text?: string;
8
- color?: string;
9
- size?: string;
10
- }
11
- declare const BottomBarComponent: React.FunctionComponent<{
12
- buttons: ItemProps[];
13
- }>;
14
- export default BottomBarComponent;
@@ -1 +0,0 @@
1
- export { default } from "./BottomBarComponent";
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import { BottomInfoBarProps } from "./BottomInfoBarProps";
3
- declare const BottomInfoBar: React.FunctionComponent<BottomInfoBarProps>;
4
- export default BottomInfoBar;
@@ -1,7 +0,0 @@
1
- import { MouseEventHandler } from "react";
2
- export interface BottomInfoBarProps {
3
- leftText?: string;
4
- rightText?: string;
5
- noLogo?: boolean;
6
- onRightTextClick?: MouseEventHandler<HTMLButtonElement>;
7
- }
@@ -1 +0,0 @@
1
- export { default } from "./BottomInfoBar";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { CustomButtonProps } from "./CustomButtonProps";
3
- declare const CustomButtonComponent: React.FunctionComponent<CustomButtonProps>;
4
- export default CustomButtonComponent;
@@ -1,11 +0,0 @@
1
- import { Ref, MouseEventHandler } from "react";
2
- export interface CustomButtonProps {
3
- text?: string;
4
- type?: string;
5
- size?: string;
6
- color?: string;
7
- fluid?: boolean;
8
- disabled?: boolean;
9
- onClick?: MouseEventHandler<HTMLButtonElement>;
10
- forwardedRef?: Ref<HTMLButtonElement>;
11
- }
@@ -1 +0,0 @@
1
- export { default } from "./CustomButtonComponent";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { IconButtonProps } from "./IconButtonProps";
3
- declare const IconButtonComponent: React.FunctionComponent<IconButtonProps>;
4
- export default IconButtonComponent;
@@ -1,10 +0,0 @@
1
- import { Ref, MouseEventHandler } from "react";
2
- export interface IconButtonProps {
3
- text?: string;
4
- type?: string;
5
- icon: string;
6
- color?: string;
7
- fluid?: boolean;
8
- onClick?: MouseEventHandler<HTMLButtonElement>;
9
- forwardedRef?: Ref<HTMLButtonElement>;
10
- }
@@ -1 +0,0 @@
1
- export { default } from "./IconButtonComponent";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { CheckboxProps } from "./CheckboxProps";
3
- declare const CheckboxComponent: React.FunctionComponent<CheckboxProps>;
4
- export default CheckboxComponent;
@@ -1,9 +0,0 @@
1
- import { Ref, ChangeEvent } from "react";
2
- export interface CheckboxProps {
3
- disabled?: boolean;
4
- label?: string;
5
- indeterminate?: boolean;
6
- onChange: (event: ChangeEvent<HTMLInputElement>, checked: boolean) => void;
7
- forwardedRef?: Ref<HTMLInputElement>;
8
- checked?: boolean;
9
- }
@@ -1 +0,0 @@
1
- export { default } from './CheckboxComponent';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from "./IconProps";
3
- declare const Icon: React.FunctionComponent<IconProps>;
4
- export default Icon;
@@ -1,9 +0,0 @@
1
- import { ForwardedRef, MouseEventHandler } from "react";
2
- export interface IconProps {
3
- iconName: string;
4
- color?: string;
5
- size?: string;
6
- style?: object;
7
- forwardedRef?: ForwardedRef<any>;
8
- onClick?: MouseEventHandler<HTMLDivElement>;
9
- }
@@ -1 +0,0 @@
1
- export { default } from "./Icon";
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Illustration: ({ illustrationName, color, size, isBigType }: {
3
- illustrationName: any;
4
- color: any;
5
- size: any;
6
- isBigType: any;
7
- }) => JSX.Element;
8
- export default Illustration;
@@ -1 +0,0 @@
1
- export { default } from "./Illustration";
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const Logo: React.FunctionComponent<{
3
- logoName: string;
4
- color?: string;
5
- }>;
6
- export default Logo;
@@ -1 +0,0 @@
1
- export { default } from "./Logo";
@@ -1,16 +0,0 @@
1
- export { default as AppTile } from "./appTile";
2
- export { default as Typography } from "./typography";
3
- export { default as Button } from "./buttons/customButton";
4
- export { default as IconButton } from "./buttons/iconButton";
5
- export { default as Illustration } from "./foundations/illustration";
6
- export { default as Icon } from "./foundations/icon";
7
- export { default as Logo } from "./foundations/logo";
8
- export { default as BottomBar } from "./bottomBar";
9
- export { default as BottomInfoBar } from "./bottomInfoBar";
10
- export { default as Checkbox } from "./checkbox";
11
- export { default as DatePicker } from "./Inputs/datepicker";
12
- export { default as TextField } from "./Inputs/textfield";
13
- export { default as Select } from "./Inputs/select";
14
- export { default as MultiSelect } from "./Inputs/multiselect";
15
- export { default as TableMobile } from "./tableMobile";
16
- export { default as SearchBar } from "./searchBar";
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { SearchBarProps } from "./SearchBarProps";
3
- declare const SearchBarComponent: React.FunctionComponent<SearchBarProps>;
4
- export default SearchBarComponent;
@@ -1,11 +0,0 @@
1
- import { ChangeEventHandler, RefObject } from "react";
2
- export interface SearchBarProps {
3
- fluid?: boolean;
4
- placeholder?: string;
5
- onSearch?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
6
- onChange: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
7
- onChangeSearchText: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
8
- onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
9
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
10
- searchText?: string;
11
- }
@@ -1 +0,0 @@
1
- export { default } from './SearchBarComponent';
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { TableMobileProps } from "./TableMobileProps";
3
- declare const TableMobileComponent: React.FunctionComponent<TableMobileProps>;
4
- export default TableMobileComponent;
@@ -1,7 +0,0 @@
1
- import { ChangeEventHandler } from "react";
2
- export interface TableMobileProps {
3
- columns?: [];
4
- rows?: [];
5
- includeSearch?: boolean;
6
- handleChangeData?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
7
- }
@@ -1 +0,0 @@
1
- export { default } from './TableMobileComponent';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
3
- [x: string]: any;
4
- text: any;
5
- type: any;
6
- forwardedRef?: null | undefined;
7
- }) => JSX.Element;
8
- export default TypographyComponent;
@@ -1 +0,0 @@
1
- export { default } from "./Typography";
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { DatePickerProps } from "./DatePickerProps";
3
- declare const DatePicker: React.FunctionComponent<DatePickerProps>;
4
- export default DatePicker;
@@ -1,10 +0,0 @@
1
- import { Ref, SetStateAction } from "react";
2
- export interface DatePickerProps {
3
- value: string;
4
- disabled?: boolean;
5
- label?: string;
6
- fluid?: boolean;
7
- onChange: (value: SetStateAction<string>, keyboardInputValue?: string) => void;
8
- forwardedRef?: Ref<HTMLInputElement>;
9
- endAdornment?: string;
10
- }
@@ -1 +0,0 @@
1
- export { default } from './DatePicker';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { MultiSelectProps } from "./MultiSelectProps";
3
- declare const MultiSelect: React.FunctionComponent<MultiSelectProps>;
4
- export default MultiSelect;
@@ -1,15 +0,0 @@
1
- import { RefObject } from "react";
2
- export interface MultiSelectProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- label?: string;
6
- options?: {
7
- label: string;
8
- }[];
9
- value?: object | string | null;
10
- noOptionsText?: string;
11
- placeholder?: string;
12
- limitTags?: number;
13
- onChange?: (e: any, value: any) => void;
14
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
15
- }
@@ -1 +0,0 @@
1
- export { default } from './MultiSelect';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { SelectProps } from "./SelectProps";
3
- declare const Select: React.FunctionComponent<SelectProps>;
4
- export default Select;
@@ -1,16 +0,0 @@
1
- import { MouseEventHandler, RefObject } from "react";
2
- export interface SelectProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- label?: string;
6
- options?: {
7
- label: string;
8
- }[];
9
- withRefresh?: boolean;
10
- value?: object | string | null;
11
- noOptionsText?: string;
12
- placeholder?: string;
13
- onChange?: (e: any, value: any) => void;
14
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
15
- onRefreshClick?: MouseEventHandler<HTMLDivElement>;
16
- }
@@ -1 +0,0 @@
1
- export { default } from './Select';
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { TextFieldProps } from "./TextFieldProps";
3
- interface ExtraProps {
4
- fluid?: boolean;
5
- small?: boolean;
6
- }
7
- export declare const StyledTextField: import("@emotion/styled").StyledComponent<(import("@mui/material/TextField").TextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>) & ExtraProps, {}, {}>;
8
- declare const TextField: React.FunctionComponent<TextFieldProps>;
9
- export default TextField;
@@ -1,18 +0,0 @@
1
- import { ChangeEventHandler, RefObject } from "react";
2
- export interface TextFieldProps {
3
- label?: string;
4
- error?: boolean;
5
- icon?: string;
6
- disabled?: boolean;
7
- fluid?: boolean;
8
- type?: string;
9
- min?: string;
10
- max?: string;
11
- small?: boolean;
12
- helperText?: string;
13
- value?: string;
14
- onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
15
- onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
16
- forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
17
- endAdornment?: string;
18
- }
@@ -1 +0,0 @@
1
- export { default } from './TextField';
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AppTileComponent: ({ header, description, illustrationName, forwardedRef, isBigType, size, color }: {
3
- header: any;
4
- description: any;
5
- illustrationName: any;
6
- forwardedRef?: null | undefined;
7
- isBigType: any;
8
- size: any;
9
- color: any;
10
- }) => JSX.Element;
11
- export default AppTileComponent;
@@ -1 +0,0 @@
1
- export { default } from "./AppTileComponent";
@@ -1,14 +0,0 @@
1
- import React, { MouseEventHandler } from 'react';
2
- interface ItemProps {
3
- disabled?: boolean;
4
- fluid?: boolean;
5
- onClick?: MouseEventHandler<HTMLButtonElement>;
6
- type?: string;
7
- text?: string;
8
- color?: string;
9
- size?: string;
10
- }
11
- declare const BottomBarComponent: React.FunctionComponent<{
12
- buttons: ItemProps[];
13
- }>;
14
- export default BottomBarComponent;
@@ -1 +0,0 @@
1
- export { default } from "./BottomBarComponent";
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import { BottomInfoBarProps } from "./BottomInfoBarProps";
3
- declare const BottomInfoBar: React.FunctionComponent<BottomInfoBarProps>;
4
- export default BottomInfoBar;
@@ -1,7 +0,0 @@
1
- import { MouseEventHandler } from "react";
2
- export interface BottomInfoBarProps {
3
- leftText?: string;
4
- rightText?: string;
5
- noLogo?: boolean;
6
- onRightTextClick?: MouseEventHandler<HTMLButtonElement>;
7
- }
@@ -1 +0,0 @@
1
- export { default } from "./BottomInfoBar";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { CustomButtonProps } from "./CustomButtonProps";
3
- declare const CustomButtonComponent: React.FunctionComponent<CustomButtonProps>;
4
- export default CustomButtonComponent;
@@ -1,11 +0,0 @@
1
- import { Ref, MouseEventHandler } from "react";
2
- export interface CustomButtonProps {
3
- text?: string;
4
- type?: string;
5
- size?: string;
6
- color?: string;
7
- fluid?: boolean;
8
- disabled?: boolean;
9
- onClick?: MouseEventHandler<HTMLButtonElement>;
10
- forwardedRef?: Ref<HTMLButtonElement>;
11
- }
@@ -1 +0,0 @@
1
- export { default } from "./CustomButtonComponent";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { IconButtonProps } from "./IconButtonProps";
3
- declare const IconButtonComponent: React.FunctionComponent<IconButtonProps>;
4
- export default IconButtonComponent;
@@ -1,10 +0,0 @@
1
- import { Ref, MouseEventHandler } from "react";
2
- export interface IconButtonProps {
3
- text?: string;
4
- type?: string;
5
- icon: string;
6
- color?: string;
7
- fluid?: boolean;
8
- onClick?: MouseEventHandler<HTMLButtonElement>;
9
- forwardedRef?: Ref<HTMLButtonElement>;
10
- }
@@ -1 +0,0 @@
1
- export { default } from "./IconButtonComponent";
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { CheckboxProps } from "./CheckboxProps";
3
- declare const CheckboxComponent: React.FunctionComponent<CheckboxProps>;
4
- export default CheckboxComponent;