1mpacto-react-ui 0.0.50 → 0.0.52

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.
@@ -1,7 +1,8 @@
1
1
  declare const useCountdown: (options: {
2
- hours: number;
2
+ date: string;
3
3
  intervalMs: number;
4
4
  running: boolean;
5
+ adjustTimesTime?: number;
5
6
  }) => {
6
7
  count: number;
7
8
  startCountdown: () => void;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
 
3
- export type TButtonVariants = 'filled-laba-blue-10' | 'ghost-laba-blue-10' | 'nude-laba-blue-10' | 'nude-gray-500' | 'primary-blue-700' | 'secondary-blue-700' | 'secondary-red-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-gray-500' | 'ghost-blue-gray-100-bg_white';
3
+ export type TButtonVariants = 'filled-laba-blue-10' | 'ghost-laba-blue-10' | 'nude-laba-blue-10' | 'nude-gray-500' | 'primary-blue-700' | 'secondary-blue-700' | 'secondary-red-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-blue-gray-100-bg_white';
4
4
  export type TButtonSize = 'large' | 'reguler' | 'small' | 'l' | 'm' | 's' | 'xs';
5
5
  export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6
6
  size?: TButtonSize;
@@ -29,3 +29,11 @@ export declare const transformLatLong: (value: string, options?: {
29
29
  export declare const sanitizeObjectKeyPrefix: (prefix: string, data: IMergeState) => IMergeState;
30
30
  export declare const isAccurateNumber: (value: unknown) => boolean;
31
31
  export declare function deepCompareEquals(a: unknown, b: unknown): boolean;
32
+ export declare function transformSecondTime(secs: number, option?: {
33
+ maxTime?: 'hour' | 'day';
34
+ }): {
35
+ day: string | number;
36
+ hour: string | number;
37
+ minute: string | number;
38
+ second: string | number;
39
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "0.0.50",
4
+ "version": "0.0.52",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",