ab-ui-library 1.0.2 → 1.0.3
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/package.json +2 -2
- package/utils/helpers.d.ts +1 -1
- package/utils/helpers.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ab-ui-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "UI library for AM",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/uilibrarydev/uilibrary
|
|
11
|
+
"url": "https://github.com/uilibrarydev/uilibrary"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"react": "^18.2.0",
|
package/utils/helpers.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const getStringWidth: (text: string, fontSize: number) => number;
|
|
|
12
12
|
export declare const setTranslationValue: (translation: string, value: string | number) => string;
|
|
13
13
|
export declare const getYearOptions: (startYear: number, lastYear: number) => TSelectOptions;
|
|
14
14
|
export declare const isSameDay: (date1?: Date, date2?: Date) => boolean;
|
|
15
|
-
export declare const test: () =>
|
|
15
|
+
export declare const test: () => undefined;
|
package/utils/helpers.js
CHANGED
|
@@ -80,7 +80,7 @@ var isSameDay = function isSameDay(date1, date2) {
|
|
|
80
80
|
return dayjs(date1).isSame(date2, 'day');
|
|
81
81
|
};
|
|
82
82
|
var test = function test() {
|
|
83
|
-
return
|
|
83
|
+
return undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
export { checkIsAllowedFileSize, checkIsAllowedTypes, getFormattedValues, getStringWidth, getYearOptions, isSameDay, noop, openFileInNewWindow, setTranslationValue, test, uniqueFiles };
|