nectiasw 0.0.26 → 0.0.28
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/Detail/index.d.ts +4 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +8252 -8131
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +222 -205
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { CommonTextProps } from '@nectiasw/components/Text';
|
|
3
3
|
|
|
4
|
-
export declare const Detail: React.FC<
|
|
4
|
+
export declare const Detail: React.FC<DetailProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
5
6
|
size?: CommonTextProps["size"];
|
|
6
7
|
color?: CommonTextProps["color"];
|
|
7
8
|
}>;
|
|
8
|
-
export declare const
|
|
9
|
+
export declare const Section: React.FC<SectionProps & {
|
|
9
10
|
labelSize?: CommonTextProps["size"];
|
|
10
11
|
valueSize?: CommonTextProps["size"];
|
|
11
12
|
labelFont?: CommonTextProps["font"];
|
|
@@ -32,6 +33,6 @@ export type SectionProps = {
|
|
|
32
33
|
label?: string;
|
|
33
34
|
color?: string;
|
|
34
35
|
formatAs?: "CLP" | "Hours" | "Default";
|
|
35
|
-
orientation?:
|
|
36
|
+
orientation?: "right" | "left" | "bottom" | "top";
|
|
36
37
|
value?: string | number;
|
|
37
38
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -105,3 +105,5 @@ export { download } from './utils/download';
|
|
|
105
105
|
export { capitalize } from './utils/capitalize';
|
|
106
106
|
export { formatHourTime, removeHourFormat } from './utils/time';
|
|
107
107
|
export { createTimeSlots, createHalfTimeSlots } from './utils/slots';
|
|
108
|
+
export * as Detail from './components/Detail';
|
|
109
|
+
export type { DetailProps, SectionProps } from './components/Detail';
|