@zydon/common 1.0.0 → 1.0.2
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/App.d.ts.map +1 -1
- package/dist/components/Common/index.d.ts +5 -0
- package/dist/components/Common/index.d.ts.map +1 -0
- package/dist/components/Common/props.d.ts +6 -0
- package/dist/components/Common/props.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +5 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DatePicker/props.d.ts +4 -0
- package/dist/components/DatePicker/props.d.ts.map +1 -0
- package/dist/components/DateRangePicker/index.d.ts +5 -0
- package/dist/components/DateRangePicker/index.d.ts.map +1 -0
- package/dist/components/DateRangePicker/props.d.ts +4 -0
- package/dist/components/DateRangePicker/props.d.ts.map +1 -0
- package/dist/components/DateTimePicker/index.d.ts +5 -0
- package/dist/components/DateTimePicker/index.d.ts.map +1 -0
- package/dist/components/DateTimePicker/props.d.ts +4 -0
- package/dist/components/DateTimePicker/props.d.ts.map +1 -0
- package/dist/components/ThemeProvider/index.d.ts.map +1 -1
- package/dist/components/TimePicker/index.d.ts +5 -0
- package/dist/components/TimePicker/index.d.ts.map +1 -0
- package/dist/components/TimePicker/props.d.ts +4 -0
- package/dist/components/TimePicker/props.d.ts.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/hooks/useResponsive.d.ts +1 -1
- package/dist/index.js +10623 -5974
- package/dist/index.umd.cjs +35 -34
- package/dist/utils/formatTime.d.ts +7 -0
- package/dist/utils/formatTime.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +5 -2
package/dist/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAwFhB,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Common/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,OAAO,sDAAsD,CAAC;AAC9D,OAAO,wCAAwC,CAAC;AAIhD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAYpD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/Common/props.ts"],"names":[],"mappings":"AAAA,KAAK,GAAG,GAAG,IAAI,MAAM,EAAE,CAAC;AAExB,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,GAAG,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoCzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqDnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsCjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAEpF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAa1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI7C,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CA+BlE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkCzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG,SAAS,CACrC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,CAC7C,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export type { CommonProps } from './Common/props';
|
|
1
2
|
export type { DataGridProps } from './DataGrid/props';
|
|
3
|
+
export type { DatePickerProps } from './DatePicker/props';
|
|
4
|
+
export type { DateRangePickerProps } from './DateRangePicker/props';
|
|
5
|
+
export type { DateTimePickerProps as DateTimePickerProps } from './DateTimePicker/props';
|
|
2
6
|
export type { FieldProps } from './Field/props';
|
|
3
7
|
export type { FormProps } from './Form/props';
|
|
4
8
|
export type { IconifyProps } from './Iconify/props';
|
|
@@ -6,7 +10,12 @@ export type { ImageProps } from './Image/props';
|
|
|
6
10
|
export type { PasswordFieldProps } from './PasswordField/props';
|
|
7
11
|
export type { ScrollbarProps } from './Scrollbar/props';
|
|
8
12
|
export type { ThemeProviderProps } from './ThemeProvider/props';
|
|
13
|
+
export type { TimePickerProps } from './TimePicker/props';
|
|
14
|
+
export { default as Common } from './Common';
|
|
9
15
|
export { default as DataGrid } from './DataGrid';
|
|
16
|
+
export { default as DatePicker } from './DatePicker';
|
|
17
|
+
export { default as DateRangePicker } from './DateRangePicker';
|
|
18
|
+
export { default as DateTimePicker } from './DateTimePicker';
|
|
10
19
|
export { default as Field } from './Field';
|
|
11
20
|
export { default as Form } from './Form';
|
|
12
21
|
export { default as Iconify } from './Iconify';
|
|
@@ -14,4 +23,5 @@ export { default as Image } from './Image';
|
|
|
14
23
|
export { default as PasswordField } from './PasswordField';
|
|
15
24
|
export { default as Scrollbar } from './Scrollbar';
|
|
16
25
|
export { default as ThemeProvider } from './ThemeProvider';
|
|
26
|
+
export { default as TimePicker } from './TimePicker';
|
|
17
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC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ACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -3,6 +3,6 @@ type ReturnType = boolean;
|
|
|
3
3
|
type Query = 'up' | 'down' | 'between' | 'only';
|
|
4
4
|
type Value = Breakpoint | number;
|
|
5
5
|
declare const useResponsive: (query: Query, start?: Value, end?: Value) => ReturnType;
|
|
6
|
-
export declare function useWidth(): "
|
|
6
|
+
export declare function useWidth(): "xs" | "sm" | "md" | "lg" | "xl";
|
|
7
7
|
export default useResponsive;
|
|
8
8
|
//# sourceMappingURL=useResponsive.d.ts.map
|