nectiasw 0.0.32 → 0.0.34

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,9 +1,11 @@
1
+ import { IDisclosureProps, TimelineDashedProps } from './types';
2
+
1
3
  /**
2
4
  * @description
3
5
  * Styled Disclosure Component API.
4
6
  */
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
+ export declare const StyledDisclosure: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IDisclosureProps>> & string;
8
+ export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineDashedProps>> & string;
7
9
  /**
8
10
  * @description
9
11
  * TimeLineUnion Normal Stage API.
@@ -0,0 +1,26 @@
1
+ export type Stage = {
2
+ name: string;
3
+ date: string;
4
+ author: string;
5
+ uuid?: string;
6
+ };
7
+ export type Event = {
8
+ category: string;
9
+ data: Stage[];
10
+ isOpen: boolean;
11
+ };
12
+ export type EventUI = Event & {
13
+ uuid: string;
14
+ };
15
+ export type TimelineProps = {
16
+ events: Event[] | null;
17
+ title?: string;
18
+ };
19
+ export type TimelineDashedProps = {
20
+ lineHeight: string;
21
+ };
22
+ export type IDisclosureProps = {
23
+ isOpen: boolean;
24
+ lineHeight: string;
25
+ ref?: React.RefObject<HTMLDivElement>;
26
+ };
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ export { Datepicker } from './components/Datepicker';
20
20
  export type { DatepickerProps } from './components/Datepicker';
21
21
  export { RadioButton } from './components/RadioButton';
22
22
  export type { RadioButtonProps } from './components/RadioButton';
23
- export { Text, Error, Title, Success, Subtitle, Description, } from './components/Text';
23
+ export { Text, Error, Title, Success, Subtitle, Description, Item as Little, } from './components/Text';
24
24
  export type { CommonTextProps } from './components/Text';
25
25
  export { Input } from './components/Input';
26
26
  export { InputTable } from './components/Input/variants/InputTable';