kelt-ui-kit-react 1.6.8 → 1.7.1

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.
@@ -0,0 +1,31 @@
1
+ name: Build & Publish npm Package
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - develop
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "20"
20
+ registry-url: "https://registry.npmjs.org"
21
+
22
+ - name: Install dependencies
23
+ run: npm ci
24
+
25
+ - name: Build package
26
+ run: npm run build
27
+
28
+ - name: Publish to npm
29
+ run: npm publish --access public
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,4 +1 @@
1
1
  export declare function FormatDate(date: Date, format: string): string;
2
- export declare function LocalDateStringToUTC(dateStr: string): string;
3
- export declare function localDateStartToUTC(dateStr: string): Date;
4
- export declare function localDateEndToUTC(dateStr: string): Date;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { ImageExist } from './_core/hooks/imageExist';
5
5
  export { isValidEAN13 } from './_core/hooks/isEAN13';
6
6
  export { objectToQueryParams } from './_core/hooks/objectToQueryParams';
7
7
  export { useCurrency } from './_core/hooks/useCurrency';
8
- export { FormatDate, localDateEndToUTC, localDateStartToUTC, LocalDateStringToUTC, } from './_core/hooks/useDateutils';
8
+ export { FormatDate } from './_core/hooks/useDateutils';
9
9
  export { useIsMobile } from './_core/hooks/useIsMobile';
10
10
  export { useToken } from './_core/hooks/useToken';
11
11
  export { useValidate } from './_core/hooks/useValidate';