albinasoft-ui-package 1.1.58 → 1.1.59
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/components/CustomAutocompleteInput.d.ts +1 -1
- package/dist/components/CustomButton.d.ts +1 -1
- package/dist/components/CustomCheckbox.d.ts +1 -1
- package/dist/components/CustomDateTimePicker.d.ts +1 -1
- package/dist/components/CustomDivider.d.ts +1 -1
- package/dist/components/CustomInput.d.ts +1 -1
- package/dist/components/CustomModal.d.ts +1 -1
- package/dist/components/CustomPhoneInput.d.ts +2 -2
- package/dist/components/CustomProgressBar.d.ts +1 -1
- package/dist/components/CustomRadioButton.d.ts +2 -2
- package/dist/components/CustomRichTextbox.d.ts +1 -1
- package/dist/components/CustomSelect.d.ts +2 -2
- package/dist/components/CustomSimpleSelect.d.ts +3 -3
- package/dist/components/CustomText.d.ts +1 -1
- package/dist/components/CustomTextarea.d.ts +1 -1
- package/dist/index.d.ts +8 -9
- package/dist/index.js +15 -16
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
interface
|
2
|
+
export interface CustomPhoneInputProps {
|
3
3
|
id?: string;
|
4
4
|
name?: string;
|
5
5
|
label?: string;
|
@@ -25,5 +25,5 @@ interface Props {
|
|
25
25
|
countryCodeText?: string;
|
26
26
|
onChange: (full: string) => void;
|
27
27
|
}
|
28
|
-
declare const CustomPhoneInput: React.FC<
|
28
|
+
declare const CustomPhoneInput: React.FC<CustomPhoneInputProps>;
|
29
29
|
export default CustomPhoneInput;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
interface CustomRadioButtonOption {
|
2
|
+
export interface CustomRadioButtonOption {
|
3
3
|
id: string;
|
4
4
|
label: string;
|
5
5
|
value: string;
|
6
6
|
}
|
7
|
-
interface CustomRadioButtonProps {
|
7
|
+
export interface CustomRadioButtonProps {
|
8
8
|
id?: string;
|
9
9
|
name?: string;
|
10
10
|
label: string;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import "../assets/css/custom-select.css";
|
3
|
-
interface CustomSelectOption {
|
3
|
+
export interface CustomSelectOption {
|
4
4
|
id: string;
|
5
5
|
label: string;
|
6
6
|
value: string;
|
7
7
|
}
|
8
|
-
interface CustomSelectProps {
|
8
|
+
export interface CustomSelectProps {
|
9
9
|
id?: string;
|
10
10
|
name?: string;
|
11
11
|
label: string;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import "../assets/css/custom-simple-select.css";
|
3
|
-
interface Option {
|
3
|
+
export interface Option {
|
4
4
|
value: string;
|
5
5
|
label: string;
|
6
6
|
}
|
7
|
-
interface
|
7
|
+
export interface CustomSimpleSelectProps {
|
8
8
|
id?: string;
|
9
9
|
name?: string;
|
10
10
|
label?: string;
|
@@ -17,5 +17,5 @@ interface SimpleSelectProps {
|
|
17
17
|
style?: React.CSSProperties;
|
18
18
|
onChange: (value: string) => void;
|
19
19
|
}
|
20
|
-
declare const CustomSimpleSelect: React.FC<
|
20
|
+
declare const CustomSimpleSelect: React.FC<CustomSimpleSelectProps>;
|
21
21
|
export default CustomSimpleSelect;
|
package/dist/index.d.ts
CHANGED
@@ -1,24 +1,23 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as CustomForm, ElementType } from './components/CustomForm';
|
2
2
|
export { default as CustomAutocompleteInput } from './components/CustomAutocompleteInput';
|
3
3
|
export { default as CustomButton } from './components/CustomButton';
|
4
4
|
export { default as CustomCheckbox } from './components/CustomCheckbox';
|
5
|
-
export { default as CustomInput, InputType } from './components/CustomInput';
|
5
|
+
export { default as CustomInput, InputType, } from './components/CustomInput';
|
6
6
|
export { default as CustomTextarea } from './components/CustomTextarea';
|
7
7
|
export { default as CustomPhoneInput } from './components/CustomPhoneInput';
|
8
8
|
export { default as CustomRadioButton } from './components/CustomRadioButton';
|
9
9
|
export { default as CustomSelect } from './components/CustomSelect';
|
10
10
|
export { default as CustomSimpleSelect } from './components/CustomSimpleSelect';
|
11
|
-
export { default as CustomTreeView, type
|
12
|
-
export { default as CustomDateTimePicker, TimeFormat } from './components/CustomDateTimePicker';
|
11
|
+
export { default as CustomTreeView, type TreeNode, type CustomTreeViewProps, } from './components/CustomTreeView';
|
12
|
+
export { default as CustomDateTimePicker, TimeFormat, } from './components/CustomDateTimePicker';
|
13
13
|
export { default as CustomText, TextType, TextAlign, FontSize, LineHeight, FontWeight, Color as TextColor, } from './components/CustomText';
|
14
|
-
export { default as CustomDivider, Color as DividerColor,
|
15
|
-
Alignment as DividerAlignment, Thickness as DividerThickness, Width as DividerWidth, } from './components/CustomDivider';
|
14
|
+
export { default as CustomDivider, Color as DividerColor, Alignment as DividerAlignment, Thickness as DividerThickness, Width as DividerWidth, } from './components/CustomDivider';
|
16
15
|
export { default as CustomModal } from './components/CustomModal';
|
17
|
-
export { default as CustomDatatable, type ColDef, } from './components/CustomDatatable';
|
16
|
+
export { default as CustomDatatable, type ColDef, type CustomDatatableProps, } from './components/CustomDatatable';
|
18
17
|
export { default as CustomFileUploader, AllowedTypes, type FileUploaderTranslations, defaultTranslations, type CustomFileUploaderProps, type CustomFileUploaderHandle, } from './components/CustomFileUploader';
|
19
18
|
export { default as CustomRichTextbox } from './components/CustomRichTextbox';
|
20
19
|
export { default as CustomProgressBar } from './components/CustomProgressBar';
|
21
20
|
export { default as CustomTab, AlignTabs, TabSize, type TabItem, type CustomTabProps, } from './components/CustomTab';
|
22
21
|
export { default as CustomTimeline, DotColor, type AdditionalInfo, type TimelineElement, } from './components/CustomTimeline';
|
23
|
-
export {
|
24
|
-
export
|
22
|
+
export type { Notify } from './types/notify';
|
23
|
+
export { noopNotify } from './types/notify';
|
package/dist/index.js
CHANGED
@@ -4,11 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
5
5
|
};
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
7
|
-
exports.
|
8
|
-
// Form
|
9
|
-
var
|
10
|
-
Object.defineProperty(exports, "
|
11
|
-
|
7
|
+
exports.noopNotify = exports.DotColor = exports.CustomTimeline = exports.TabSize = exports.AlignTabs = exports.CustomTab = exports.CustomProgressBar = exports.CustomRichTextbox = exports.defaultTranslations = exports.AllowedTypes = exports.CustomFileUploader = exports.CustomDatatable = exports.CustomModal = exports.DividerWidth = exports.DividerThickness = exports.DividerAlignment = exports.DividerColor = exports.CustomDivider = exports.TextColor = exports.FontWeight = exports.LineHeight = exports.FontSize = exports.TextAlign = exports.TextType = exports.CustomText = exports.TimeFormat = exports.CustomDateTimePicker = exports.CustomTreeView = exports.CustomSimpleSelect = exports.CustomSelect = exports.CustomRadioButton = exports.CustomPhoneInput = exports.CustomTextarea = exports.InputType = exports.CustomInput = exports.CustomCheckbox = exports.CustomButton = exports.CustomAutocompleteInput = exports.ElementType = exports.CustomForm = void 0;
|
8
|
+
// ---- Form orchestrator ----
|
9
|
+
var CustomForm_1 = require("./components/CustomForm");
|
10
|
+
Object.defineProperty(exports, "CustomForm", { enumerable: true, get: function () { return __importDefault(CustomForm_1).default; } });
|
11
|
+
Object.defineProperty(exports, "ElementType", { enumerable: true, get: function () { return CustomForm_1.ElementType; } });
|
12
|
+
// ---- Inputs ----
|
12
13
|
var CustomAutocompleteInput_1 = require("./components/CustomAutocompleteInput");
|
13
14
|
Object.defineProperty(exports, "CustomAutocompleteInput", { enumerable: true, get: function () { return __importDefault(CustomAutocompleteInput_1).default; } });
|
14
15
|
var CustomButton_1 = require("./components/CustomButton");
|
@@ -24,18 +25,18 @@ var CustomPhoneInput_1 = require("./components/CustomPhoneInput");
|
|
24
25
|
Object.defineProperty(exports, "CustomPhoneInput", { enumerable: true, get: function () { return __importDefault(CustomPhoneInput_1).default; } });
|
25
26
|
var CustomRadioButton_1 = require("./components/CustomRadioButton");
|
26
27
|
Object.defineProperty(exports, "CustomRadioButton", { enumerable: true, get: function () { return __importDefault(CustomRadioButton_1).default; } });
|
27
|
-
// Selects / Tree
|
28
|
+
// ---- Selects / Tree ----
|
28
29
|
var CustomSelect_1 = require("./components/CustomSelect");
|
29
30
|
Object.defineProperty(exports, "CustomSelect", { enumerable: true, get: function () { return __importDefault(CustomSelect_1).default; } });
|
30
31
|
var CustomSimpleSelect_1 = require("./components/CustomSimpleSelect");
|
31
32
|
Object.defineProperty(exports, "CustomSimpleSelect", { enumerable: true, get: function () { return __importDefault(CustomSimpleSelect_1).default; } });
|
32
33
|
var CustomTreeView_1 = require("./components/CustomTreeView");
|
33
34
|
Object.defineProperty(exports, "CustomTreeView", { enumerable: true, get: function () { return __importDefault(CustomTreeView_1).default; } });
|
34
|
-
// Date & Time
|
35
|
+
// ---- Date & Time ----
|
35
36
|
var CustomDateTimePicker_1 = require("./components/CustomDateTimePicker");
|
36
37
|
Object.defineProperty(exports, "CustomDateTimePicker", { enumerable: true, get: function () { return __importDefault(CustomDateTimePicker_1).default; } });
|
37
38
|
Object.defineProperty(exports, "TimeFormat", { enumerable: true, get: function () { return CustomDateTimePicker_1.TimeFormat; } });
|
38
|
-
//
|
39
|
+
// ---- Text / Divider / Modal ----
|
39
40
|
var CustomText_1 = require("./components/CustomText");
|
40
41
|
Object.defineProperty(exports, "CustomText", { enumerable: true, get: function () { return __importDefault(CustomText_1).default; } });
|
41
42
|
Object.defineProperty(exports, "TextType", { enumerable: true, get: function () { return CustomText_1.TextType; } });
|
@@ -52,18 +53,18 @@ Object.defineProperty(exports, "DividerThickness", { enumerable: true, get: func
|
|
52
53
|
Object.defineProperty(exports, "DividerWidth", { enumerable: true, get: function () { return CustomDivider_1.Width; } });
|
53
54
|
var CustomModal_1 = require("./components/CustomModal");
|
54
55
|
Object.defineProperty(exports, "CustomModal", { enumerable: true, get: function () { return __importDefault(CustomModal_1).default; } });
|
55
|
-
// Data
|
56
|
+
// ---- Data / Tables ----
|
56
57
|
var CustomDatatable_1 = require("./components/CustomDatatable");
|
57
58
|
Object.defineProperty(exports, "CustomDatatable", { enumerable: true, get: function () { return __importDefault(CustomDatatable_1).default; } });
|
58
|
-
// Files
|
59
|
+
// ---- Files ----
|
59
60
|
var CustomFileUploader_1 = require("./components/CustomFileUploader");
|
60
61
|
Object.defineProperty(exports, "CustomFileUploader", { enumerable: true, get: function () { return __importDefault(CustomFileUploader_1).default; } });
|
61
62
|
Object.defineProperty(exports, "AllowedTypes", { enumerable: true, get: function () { return CustomFileUploader_1.AllowedTypes; } });
|
62
63
|
Object.defineProperty(exports, "defaultTranslations", { enumerable: true, get: function () { return CustomFileUploader_1.defaultTranslations; } });
|
63
|
-
// Rich Text
|
64
|
+
// ---- Rich Text ----
|
64
65
|
var CustomRichTextbox_1 = require("./components/CustomRichTextbox");
|
65
66
|
Object.defineProperty(exports, "CustomRichTextbox", { enumerable: true, get: function () { return __importDefault(CustomRichTextbox_1).default; } });
|
66
|
-
// Progress / Tabs / Timeline
|
67
|
+
// ---- Progress / Tabs / Timeline ----
|
67
68
|
var CustomProgressBar_1 = require("./components/CustomProgressBar");
|
68
69
|
Object.defineProperty(exports, "CustomProgressBar", { enumerable: true, get: function () { return __importDefault(CustomProgressBar_1).default; } });
|
69
70
|
var CustomTab_1 = require("./components/CustomTab");
|
@@ -73,7 +74,5 @@ Object.defineProperty(exports, "TabSize", { enumerable: true, get: function () {
|
|
73
74
|
var CustomTimeline_1 = require("./components/CustomTimeline");
|
74
75
|
Object.defineProperty(exports, "CustomTimeline", { enumerable: true, get: function () { return __importDefault(CustomTimeline_1).default; } });
|
75
76
|
Object.defineProperty(exports, "DotColor", { enumerable: true, get: function () { return CustomTimeline_1.DotColor; } });
|
76
|
-
|
77
|
-
|
78
|
-
Object.defineProperty(exports, "CustomForm", { enumerable: true, get: function () { return __importDefault(CustomForm_1).default; } });
|
79
|
-
Object.defineProperty(exports, "ElementType", { enumerable: true, get: function () { return CustomForm_1.ElementType; } });
|
77
|
+
var notify_1 = require("./types/notify");
|
78
|
+
Object.defineProperty(exports, "noopNotify", { enumerable: true, get: function () { return notify_1.noopNotify; } });
|