@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.
- package/dist/cjs/index.js +7595 -102319
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7466 -102175
- package/dist/esm/index.js.map +1 -1
- package/dist/index.cjs.js +10714 -0
- package/dist/index.esm.js +10694 -0
- package/package.json +13 -4
- package/dist/cjs/types/components/Inputs/datepicker/DatePicker.d.ts +0 -4
- package/dist/cjs/types/components/Inputs/datepicker/DatePickerProps.d.ts +0 -10
- package/dist/cjs/types/components/Inputs/datepicker/index.d.ts +0 -1
- package/dist/cjs/types/components/Inputs/multiselect/MultiSelect.d.ts +0 -4
- package/dist/cjs/types/components/Inputs/multiselect/MultiSelectProps.d.ts +0 -15
- package/dist/cjs/types/components/Inputs/multiselect/index.d.ts +0 -1
- package/dist/cjs/types/components/Inputs/select/Select.d.ts +0 -4
- package/dist/cjs/types/components/Inputs/select/SelectProps.d.ts +0 -16
- package/dist/cjs/types/components/Inputs/select/index.d.ts +0 -1
- package/dist/cjs/types/components/Inputs/textfield/TextField.d.ts +0 -9
- package/dist/cjs/types/components/Inputs/textfield/TextFieldProps.d.ts +0 -18
- package/dist/cjs/types/components/Inputs/textfield/index.d.ts +0 -1
- package/dist/cjs/types/components/appTile/AppTileComponent.d.ts +0 -11
- package/dist/cjs/types/components/appTile/index.d.ts +0 -1
- package/dist/cjs/types/components/bottomBar/BottomBarComponent.d.ts +0 -14
- package/dist/cjs/types/components/bottomBar/index.d.ts +0 -1
- package/dist/cjs/types/components/bottomInfoBar/BottomInfoBar.d.ts +0 -4
- package/dist/cjs/types/components/bottomInfoBar/BottomInfoBarProps.d.ts +0 -7
- package/dist/cjs/types/components/bottomInfoBar/index.d.ts +0 -1
- package/dist/cjs/types/components/buttons/customButton/CustomButtonComponent.d.ts +0 -4
- package/dist/cjs/types/components/buttons/customButton/CustomButtonProps.d.ts +0 -11
- package/dist/cjs/types/components/buttons/customButton/index.d.ts +0 -1
- package/dist/cjs/types/components/buttons/iconButton/IconButtonComponent.d.ts +0 -4
- package/dist/cjs/types/components/buttons/iconButton/IconButtonProps.d.ts +0 -10
- package/dist/cjs/types/components/buttons/iconButton/index.d.ts +0 -1
- package/dist/cjs/types/components/checkbox/CheckboxComponent.d.ts +0 -4
- package/dist/cjs/types/components/checkbox/CheckboxProps.d.ts +0 -9
- package/dist/cjs/types/components/checkbox/index.d.ts +0 -1
- package/dist/cjs/types/components/foundations/icon/Icon.d.ts +0 -4
- package/dist/cjs/types/components/foundations/icon/IconProps.d.ts +0 -9
- package/dist/cjs/types/components/foundations/icon/index.d.ts +0 -1
- package/dist/cjs/types/components/foundations/illustration/Illustration.d.ts +0 -8
- package/dist/cjs/types/components/foundations/illustration/index.d.ts +0 -1
- package/dist/cjs/types/components/foundations/logo/Logo.d.ts +0 -6
- package/dist/cjs/types/components/foundations/logo/index.d.ts +0 -1
- package/dist/cjs/types/components/index.d.ts +0 -16
- package/dist/cjs/types/components/searchBar/SearchBarComponent.d.ts +0 -4
- package/dist/cjs/types/components/searchBar/SearchBarProps.d.ts +0 -11
- package/dist/cjs/types/components/searchBar/index.d.ts +0 -1
- package/dist/cjs/types/components/tableMobile/TableMobileComponent.d.ts +0 -4
- package/dist/cjs/types/components/tableMobile/TableMobileProps.d.ts +0 -7
- package/dist/cjs/types/components/tableMobile/index.d.ts +0 -1
- package/dist/cjs/types/components/typography/Typography.d.ts +0 -8
- package/dist/cjs/types/components/typography/index.d.ts +0 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/types/components/Inputs/datepicker/DatePicker.d.ts +0 -4
- package/dist/esm/types/components/Inputs/datepicker/DatePickerProps.d.ts +0 -10
- package/dist/esm/types/components/Inputs/datepicker/index.d.ts +0 -1
- package/dist/esm/types/components/Inputs/multiselect/MultiSelect.d.ts +0 -4
- package/dist/esm/types/components/Inputs/multiselect/MultiSelectProps.d.ts +0 -15
- package/dist/esm/types/components/Inputs/multiselect/index.d.ts +0 -1
- package/dist/esm/types/components/Inputs/select/Select.d.ts +0 -4
- package/dist/esm/types/components/Inputs/select/SelectProps.d.ts +0 -16
- package/dist/esm/types/components/Inputs/select/index.d.ts +0 -1
- package/dist/esm/types/components/Inputs/textfield/TextField.d.ts +0 -9
- package/dist/esm/types/components/Inputs/textfield/TextFieldProps.d.ts +0 -18
- package/dist/esm/types/components/Inputs/textfield/index.d.ts +0 -1
- package/dist/esm/types/components/appTile/AppTileComponent.d.ts +0 -11
- package/dist/esm/types/components/appTile/index.d.ts +0 -1
- package/dist/esm/types/components/bottomBar/BottomBarComponent.d.ts +0 -14
- package/dist/esm/types/components/bottomBar/index.d.ts +0 -1
- package/dist/esm/types/components/bottomInfoBar/BottomInfoBar.d.ts +0 -4
- package/dist/esm/types/components/bottomInfoBar/BottomInfoBarProps.d.ts +0 -7
- package/dist/esm/types/components/bottomInfoBar/index.d.ts +0 -1
- package/dist/esm/types/components/buttons/customButton/CustomButtonComponent.d.ts +0 -4
- package/dist/esm/types/components/buttons/customButton/CustomButtonProps.d.ts +0 -11
- package/dist/esm/types/components/buttons/customButton/index.d.ts +0 -1
- package/dist/esm/types/components/buttons/iconButton/IconButtonComponent.d.ts +0 -4
- package/dist/esm/types/components/buttons/iconButton/IconButtonProps.d.ts +0 -10
- package/dist/esm/types/components/buttons/iconButton/index.d.ts +0 -1
- package/dist/esm/types/components/checkbox/CheckboxComponent.d.ts +0 -4
- package/dist/esm/types/components/checkbox/CheckboxProps.d.ts +0 -9
- package/dist/esm/types/components/checkbox/index.d.ts +0 -1
- package/dist/esm/types/components/foundations/icon/Icon.d.ts +0 -4
- package/dist/esm/types/components/foundations/icon/IconProps.d.ts +0 -9
- package/dist/esm/types/components/foundations/icon/index.d.ts +0 -1
- package/dist/esm/types/components/foundations/illustration/Illustration.d.ts +0 -8
- package/dist/esm/types/components/foundations/illustration/index.d.ts +0 -1
- package/dist/esm/types/components/foundations/logo/Logo.d.ts +0 -6
- package/dist/esm/types/components/foundations/logo/index.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +0 -16
- package/dist/esm/types/components/searchBar/SearchBarComponent.d.ts +0 -4
- package/dist/esm/types/components/searchBar/SearchBarProps.d.ts +0 -11
- package/dist/esm/types/components/searchBar/index.d.ts +0 -1
- package/dist/esm/types/components/tableMobile/TableMobileComponent.d.ts +0 -4
- package/dist/esm/types/components/tableMobile/TableMobileProps.d.ts +0 -7
- package/dist/esm/types/components/tableMobile/index.d.ts +0 -1
- package/dist/esm/types/components/typography/Typography.d.ts +0 -8
- package/dist/esm/types/components/typography/index.d.ts +0 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/index.d.ts +0 -192
|
@@ -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 +0,0 @@
|
|
|
1
|
-
export { default } from "./Icon";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Illustration";
|
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
export { default } from './TableMobileComponent';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Typography";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
package/dist/index.d.ts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import React__default, { MouseEventHandler, Ref, ForwardedRef, ChangeEvent, SetStateAction, ChangeEventHandler, RefObject } from 'react';
|
|
4
|
-
|
|
5
|
-
declare const AppTileComponent: ({ header, description, illustrationName, forwardedRef, isBigType, size, color }: {
|
|
6
|
-
header: any;
|
|
7
|
-
description: any;
|
|
8
|
-
illustrationName: any;
|
|
9
|
-
forwardedRef?: null | undefined;
|
|
10
|
-
isBigType: any;
|
|
11
|
-
size: any;
|
|
12
|
-
color: any;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
|
|
15
|
-
declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
|
|
16
|
-
[x: string]: any;
|
|
17
|
-
text: any;
|
|
18
|
-
type: any;
|
|
19
|
-
forwardedRef?: null | undefined;
|
|
20
|
-
}) => JSX.Element;
|
|
21
|
-
|
|
22
|
-
interface CustomButtonProps {
|
|
23
|
-
text?: string;
|
|
24
|
-
type?: string;
|
|
25
|
-
size?: string;
|
|
26
|
-
color?: string;
|
|
27
|
-
fluid?: boolean;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
30
|
-
forwardedRef?: Ref<HTMLButtonElement>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare const CustomButtonComponent: React.FunctionComponent<CustomButtonProps>;
|
|
34
|
-
|
|
35
|
-
interface IconButtonProps {
|
|
36
|
-
text?: string;
|
|
37
|
-
type?: string;
|
|
38
|
-
icon: string;
|
|
39
|
-
color?: string;
|
|
40
|
-
fluid?: boolean;
|
|
41
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
42
|
-
forwardedRef?: Ref<HTMLButtonElement>;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare const IconButtonComponent: React.FunctionComponent<IconButtonProps>;
|
|
46
|
-
|
|
47
|
-
declare const Illustration: ({ illustrationName, color, size, isBigType }: {
|
|
48
|
-
illustrationName: any;
|
|
49
|
-
color: any;
|
|
50
|
-
size: any;
|
|
51
|
-
isBigType: any;
|
|
52
|
-
}) => JSX.Element;
|
|
53
|
-
|
|
54
|
-
interface IconProps {
|
|
55
|
-
iconName: string;
|
|
56
|
-
color?: string;
|
|
57
|
-
size?: string;
|
|
58
|
-
style?: object;
|
|
59
|
-
forwardedRef?: ForwardedRef<any>;
|
|
60
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
declare const Icon: React__default.FunctionComponent<IconProps>;
|
|
64
|
-
|
|
65
|
-
declare const Logo: React__default.FunctionComponent<{
|
|
66
|
-
logoName: string;
|
|
67
|
-
color?: string;
|
|
68
|
-
}>;
|
|
69
|
-
|
|
70
|
-
interface ItemProps {
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
fluid?: boolean;
|
|
73
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
74
|
-
type?: string;
|
|
75
|
-
text?: string;
|
|
76
|
-
color?: string;
|
|
77
|
-
size?: string;
|
|
78
|
-
}
|
|
79
|
-
declare const BottomBarComponent: React__default.FunctionComponent<{
|
|
80
|
-
buttons: ItemProps[];
|
|
81
|
-
}>;
|
|
82
|
-
|
|
83
|
-
interface BottomInfoBarProps {
|
|
84
|
-
leftText?: string;
|
|
85
|
-
rightText?: string;
|
|
86
|
-
noLogo?: boolean;
|
|
87
|
-
onRightTextClick?: MouseEventHandler<HTMLButtonElement>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
declare const BottomInfoBar: React.FunctionComponent<BottomInfoBarProps>;
|
|
91
|
-
|
|
92
|
-
interface CheckboxProps {
|
|
93
|
-
disabled?: boolean;
|
|
94
|
-
label?: string;
|
|
95
|
-
indeterminate?: boolean;
|
|
96
|
-
onChange: (event: ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
97
|
-
forwardedRef?: Ref<HTMLInputElement>;
|
|
98
|
-
checked?: boolean;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
declare const CheckboxComponent: React.FunctionComponent<CheckboxProps>;
|
|
102
|
-
|
|
103
|
-
interface DatePickerProps {
|
|
104
|
-
value: string;
|
|
105
|
-
disabled?: boolean;
|
|
106
|
-
label?: string;
|
|
107
|
-
fluid?: boolean;
|
|
108
|
-
onChange: (value: SetStateAction<string>, keyboardInputValue?: string) => void;
|
|
109
|
-
forwardedRef?: Ref<HTMLInputElement>;
|
|
110
|
-
endAdornment?: string;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
declare const DatePicker: React.FunctionComponent<DatePickerProps>;
|
|
114
|
-
|
|
115
|
-
interface TextFieldProps {
|
|
116
|
-
label?: string;
|
|
117
|
-
error?: boolean;
|
|
118
|
-
icon?: string;
|
|
119
|
-
disabled?: boolean;
|
|
120
|
-
fluid?: boolean;
|
|
121
|
-
type?: string;
|
|
122
|
-
min?: string;
|
|
123
|
-
max?: string;
|
|
124
|
-
small?: boolean;
|
|
125
|
-
helperText?: string;
|
|
126
|
-
value?: string;
|
|
127
|
-
onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
128
|
-
onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
129
|
-
forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
|
|
130
|
-
endAdornment?: string;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
declare const TextField: React.FunctionComponent<TextFieldProps>;
|
|
134
|
-
|
|
135
|
-
interface SelectProps {
|
|
136
|
-
disabled?: boolean;
|
|
137
|
-
fluid?: boolean;
|
|
138
|
-
label?: string;
|
|
139
|
-
options?: {
|
|
140
|
-
label: string;
|
|
141
|
-
}[];
|
|
142
|
-
withRefresh?: boolean;
|
|
143
|
-
value?: object | string | null;
|
|
144
|
-
noOptionsText?: string;
|
|
145
|
-
placeholder?: string;
|
|
146
|
-
onChange?: (e: any, value: any) => void;
|
|
147
|
-
forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
|
|
148
|
-
onRefreshClick?: MouseEventHandler<HTMLDivElement>;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
declare const Select: React.FunctionComponent<SelectProps>;
|
|
152
|
-
|
|
153
|
-
interface MultiSelectProps {
|
|
154
|
-
disabled?: boolean;
|
|
155
|
-
fluid?: boolean;
|
|
156
|
-
label?: string;
|
|
157
|
-
options?: {
|
|
158
|
-
label: string;
|
|
159
|
-
}[];
|
|
160
|
-
value?: object | string | null;
|
|
161
|
-
noOptionsText?: string;
|
|
162
|
-
placeholder?: string;
|
|
163
|
-
limitTags?: number;
|
|
164
|
-
onChange?: (e: any, value: any) => void;
|
|
165
|
-
forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
declare const MultiSelect: React.FunctionComponent<MultiSelectProps>;
|
|
169
|
-
|
|
170
|
-
interface TableMobileProps {
|
|
171
|
-
columns?: [];
|
|
172
|
-
rows?: [];
|
|
173
|
-
includeSearch?: boolean;
|
|
174
|
-
handleChangeData?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare const TableMobileComponent: React__default.FunctionComponent<TableMobileProps>;
|
|
178
|
-
|
|
179
|
-
interface SearchBarProps {
|
|
180
|
-
fluid?: boolean;
|
|
181
|
-
placeholder?: string;
|
|
182
|
-
onSearch?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
183
|
-
onChange: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
184
|
-
onChangeSearchText: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
185
|
-
onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
186
|
-
forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
|
|
187
|
-
searchText?: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare const SearchBarComponent: React__default.FunctionComponent<SearchBarProps>;
|
|
191
|
-
|
|
192
|
-
export { AppTileComponent as AppTile, BottomBarComponent as BottomBar, BottomInfoBar, CustomButtonComponent as Button, CheckboxComponent as Checkbox, DatePicker, Icon, IconButtonComponent as IconButton, Illustration, Logo, MultiSelect, SearchBarComponent as SearchBar, Select, TableMobileComponent as TableMobile, TextField, TypographyComponent as Typography };
|