nectiasw 0.0.30 → 0.0.32

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,136 +1,4 @@
1
1
  import { default as React } from 'react';
2
+ import { TimelineProps } from './types';
2
3
 
3
- export type ParticipantDetailProps = Partial<{
4
- dateEndOld: string;
5
- dateEndNew: string;
6
- dateInitNew: string;
7
- dateInitOld: string;
8
- companyCost: boolean;
9
- financingTypeOld: string;
10
- financingTypeNew: string;
11
- checkBipartiteOld: true;
12
- checkBipartiteNew: false;
13
- participant: Participant;
14
- participantValueOld: number;
15
- participantValueNew: number;
16
- trainingPlaceOld: Place;
17
- trainingPlaceNew: Place;
18
- commentOld: string;
19
- commentNew: string;
20
- contractNew: string;
21
- contractOld: string;
22
- }>;
23
- export type Place = {
24
- region: string;
25
- commune: string;
26
- address: string;
27
- };
28
- type Participant = {
29
- rut: string;
30
- name: string;
31
- names?: {
32
- namesOld: string;
33
- namesNew: string;
34
- };
35
- paternalLastName?: {
36
- paternalLastNameOld: string;
37
- paternalLastNameNew: string;
38
- };
39
- maternalLastName?: {
40
- maternalLastNameOld: string;
41
- maternalLastNameNew: string;
42
- };
43
- dateBirth?: {
44
- dateBirthOld: string;
45
- dateBirthNew: string;
46
- };
47
- sex?: {
48
- sexOld: string;
49
- sexNew: string;
50
- };
51
- phone?: {
52
- phoneOld: string;
53
- phoneNew: string;
54
- };
55
- email?: {
56
- emailOld: string;
57
- emailNew: string;
58
- };
59
- country?: {
60
- countryOld: string;
61
- countryNew: string;
62
- };
63
- address?: {
64
- addressOld: string;
65
- addressNew: string;
66
- };
67
- schoolingCodeName?: {
68
- schoolingCodeNameOld: string;
69
- schoolingCodeNameNew: string;
70
- };
71
- levelCodeName?: {
72
- levelCodeNameOld: string;
73
- levelCodeNameNew: string;
74
- };
75
- commune?: {
76
- communeOld: string;
77
- communeNew: string;
78
- };
79
- franchise?: {
80
- franchiseOld: number;
81
- franchiseNew: number;
82
- };
83
- viaticMovilization?: {
84
- authorizedViaticOld: number;
85
- authorizedViaticNew: number;
86
- authorizedMobilizationOld: number;
87
- authorizedMobilizationNew: number;
88
- };
89
- };
90
- export type DetailTimelineProps = {
91
- state?: number;
92
- user?: string;
93
- date?: string;
94
- hour?: string;
95
- action?: string;
96
- active?: boolean;
97
- onClick?: () => void;
98
- onActive?: () => void;
99
- onInactive?: () => void;
100
- children?: React.ReactNode;
101
- details: ParticipantDetailProps;
102
- };
103
- export declare const DetailTimeline: React.FC<DetailTimelineProps>;
104
- export declare enum State {
105
- "Analyst Assignament" = 1,
106
- "Activity Cancellation" = 2,
107
- "Participant Rectification" = 3,
108
- "Participant Cancellation" = 4,
109
- "Participant Removal" = 5,
110
- "Change of Bipartite Committee" = 6,
111
- "Agreed Value per Participant" = 7,
112
- "Activity Removal" = 8,
113
- "Activity Reactivation" = 9,
114
- "Participant Reactivation" = 10,
115
- "Change of Financing Account" = 11,
116
- "Change of Start and End Dates" = 12,
117
- "Change in Place" = 13,
118
- "Change in Inscription Comment" = 14,
119
- "Change In Contract Type" = 15
120
- }
121
- export type TimelineItemProps = {
122
- width?: number;
123
- active?: boolean;
124
- maxWidth?: number;
125
- };
126
- export declare const TimelineItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineItemProps>> & string;
127
- export declare const TimelineDetail: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
128
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
129
- }>, TimelineItemProps>, TimelineItemProps>> & string;
130
- export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
131
- export declare const TimelineUnion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
132
- export declare const TimelineDot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
133
- export declare const TimelineContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
134
- export declare const BigCircle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
135
- export declare const SmallCircle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
136
- export {};
4
+ export declare const Timeline: React.FC<TimelineProps>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @description
3
+ * Styled Disclosure Component API.
4
+ */
5
+ export declare const StyledDisclosure: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string;
6
+ export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string;
7
+ /**
8
+ * @description
9
+ * TimeLineUnion Normal Stage API.
10
+ */
11
+ export declare const TimelineUnion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,5 +1,26 @@
1
1
  export declare const classes: {
2
- grid: string;
3
- wrapper: string;
4
- flexItem: string;
2
+ chevronIcon: (open: boolean) => "h-5 w-5" | "rotate-180 transform h-5 w-5";
3
+ timeline: {
4
+ title: string;
5
+ disclosure: string;
6
+ container: string;
7
+ grid: string;
8
+ button: {
9
+ container: string;
10
+ stack: string;
11
+ style: string;
12
+ category: string;
13
+ };
14
+ list: {
15
+ container: string;
16
+ item: string;
17
+ styles: string;
18
+ name: string;
19
+ date: string;
20
+ author: string;
21
+ lastItem: string;
22
+ };
23
+ buttonLine: string;
24
+ buttonLineUp: string;
25
+ };
5
26
  };
File without changes
package/dist/index.d.ts CHANGED
@@ -108,3 +108,5 @@ export { formatHourTime, removeHourFormat } from './utils/time';
108
108
  export { createTimeSlots, createHalfTimeSlots } from './utils/slots';
109
109
  export * as Detail from './components/Detail';
110
110
  export type { DetailProps, SectionProps } from './components/Detail';
111
+ export { Timeline } from './components/Timeline';
112
+ export type { TimelineProps, TimelineDashedProps } from './components/Timeline/types';