Skip to content

Commit

Permalink
Fix dts and aad dts maps
Browse files Browse the repository at this point in the history
  • Loading branch information
RoikkuTo committed Jun 28, 2022
1 parent 8ac0b80 commit be8a8ab
Show file tree
Hide file tree
Showing 53 changed files with 123 additions and 108 deletions.
1 change: 1 addition & 0 deletions dist/@types/components/Cursor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ interface CursorProps {
}
export default function Cursor({ blinkDeps, display }: CursorProps): JSX.Element;
export {};
//# sourceMappingURL=Cursor.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Cursor.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/components/Parent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ interface ParentProps {
}
export default function Parent({ isChild, theme, children }: ParentProps): JSX.Element;
export {};
//# sourceMappingURL=Parent.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Parent.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/@types/components/Tag/Attr/Attr.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/// <reference types="react" />
import { PencilEvents } from '@lib/hooks/usePencil';
import { PencilEvents } from '../../../hooks/usePencil';
interface AttrProps extends PencilEvents {
content: Record<'key' | 'symbol' | 'quote1' | 'value' | 'quote2', string>;
shouldWrite: boolean;
shouldClean: boolean | number;
}
export default function Attr({ content, shouldWrite, shouldClean, onStart, onEnd }: AttrProps): JSX.Element;
export {};
//# sourceMappingURL=Attr.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/Attr/Attr.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/@types/components/Tag/Attr/AttrList.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/// <reference types="react" />
import { ContainerEvents } from '@lib/hooks/usePencil';
import { ContainerEvents } from '../../../hooks/usePencil';
interface AttrListProps extends ContainerEvents {
attr: Tobj<string>;
shouldWrite: boolean;
shouldClean: boolean | number;
}
export default function AttrList({ attr, shouldWrite, shouldClean, onEnd }: AttrListProps): JSX.Element;
export {};
//# sourceMappingURL=AttrList.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/Attr/AttrList.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/@types/components/Tag/Closing.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="react" />
import { ContainerEvents } from '@lib/hooks/usePencil';
import { ContainerEvents } from '../../hooks/usePencil';
interface ClosingProps {
name: string;
shouldWrite: boolean;
Expand All @@ -8,3 +8,4 @@ interface ClosingProps {
}
export default function Opening({ name, shouldWrite, shouldClean, shouldDisplayCursor, onEnd }: ClosingProps & ContainerEvents): JSX.Element;
export {};
//# sourceMappingURL=Closing.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/Closing.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/@types/components/Tag/Opening.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="react" />
import { ContainerEvents } from '@lib/hooks/usePencil';
import { ContainerEvents } from '../../hooks/usePencil';
interface OpeningProps {
name: string;
attr: obj;
Expand All @@ -10,3 +10,4 @@ interface OpeningProps {
}
export default function Opening({ name, attr, shouldWrite, shouldClean, shouldDisplayCursor, isIndented, onEnd }: OpeningProps & ContainerEvents): JSX.Element;
export {};
//# sourceMappingURL=Opening.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/Opening.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/@types/components/Tag/Tag.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import { ContainerEvents } from '@lib/hooks/usePencil';
import { PrimaryComponent } from '../types';
import { HTMLWriterTheme } from '@lib/types';
import { ContainerEvents } from '../../hooks/usePencil';
import { PrimaryComponent, HTMLWriterTheme } from '../../components/types';
interface TagPropsCore {
name: string;
attr?: Tobj<string>;
Expand All @@ -12,3 +11,4 @@ interface TagPropsCore {
declare type TagProps = TagPropsCore & PrimaryComponent & ContainerEvents;
export default function Tag({ name, open, attr, loop, theme, shouldWrite, shouldClean, isChild, isIndented, children, onEnd }: TagProps): JSX.Element;
export {};
//# sourceMappingURL=Tag.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/Tag.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/components/Tag/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as Tag } from './Tag';
export * from './Tag';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Tag/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/@types/components/Text.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { ContainerEvents } from '@lib/hooks/usePencil';
import { ContainerEvents } from '../hooks/usePencil';
import { PrimaryComponent } from './types';
interface StringPropsCore {
text: string;
Expand All @@ -8,3 +8,4 @@ interface StringPropsCore {
declare type StringProps = StringPropsCore & PrimaryComponent & ContainerEvents;
export default function Text({ text, style, shouldWrite, shouldClean, isChild, isIndented, loop, onEnd }: StringProps): JSX.Element;
export {};
//# sourceMappingURL=Text.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/Text.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions dist/@types/components/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
import type { CSSProperties as ReactCSSProperties } from 'react';
export interface HTMLWriterTheme {
cursorColor?: ReactCSSProperties['color'];
textColor?: ReactCSSProperties['color'];
tagHookColor?: ReactCSSProperties['color'];
tagNameColor?: ReactCSSProperties['color'];
attrNameColor?: ReactCSSProperties['color'];
attrSymbolColor?: ReactCSSProperties['color'];
attrQuoteColor?: ReactCSSProperties['color'];
attrValueColor?: ReactCSSProperties['color'];
selectColor?: ReactCSSProperties['color'];
selectBackgroundColor?: ReactCSSProperties['backgroundColor'];
fontSize?: ReactCSSProperties['fontSize'];
tagTabsize?: ReactCSSProperties['marginLeft'];
fontFamily?: ReactCSSProperties['fontFamily'];
}
export interface PrimaryComponent {
shouldWrite?: boolean;
shouldClean?: boolean | number;
isChild?: boolean;
isIndented?: boolean;
loop?: boolean | number;
}
//# sourceMappingURL=types.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/components/types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/hooks/useHand.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export default function useHand(init: number, max: number, e?: Exclude<Container
derementHand: (condition: boolean | ((prev: number, init: number) => boolean)) => void;
reset: () => void;
};
//# sourceMappingURL=useHand.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/hooks/useHand.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/hooks/usePencil.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ export default function usePencil<T extends Tobj<string>>(content: T, e?: Pencil
isPaused: boolean;
};
export {};
//# sourceMappingURL=usePencil.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/hooks/usePencil.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/@types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as Tag } from './components/Tag/Tag';
export * from './components/Tag/Tag';
export * from './components/Tag';
export { default as Text } from './components/Text';
export * from './components/Text';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/style/index.style.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export declare const TextContainer: import("styled-components").StyledComponent<
export declare const CursorContainer: import("styled-components").StyledComponent<"span", any, {
blink: boolean;
}, never>;
//# sourceMappingURL=index.style.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/style/index.style.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/@types/style/theme.style.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ declare const defaultTheme: {
fontFamily: string;
};
export default defaultTheme;
//# sourceMappingURL=theme.style.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/style/theme.style.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions dist/@types/types.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions dist/@types/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export declare const rand: (start: number, end: number) => number;
//# sourceMappingURL=utils.d.ts.map
1 change: 1 addition & 0 deletions dist/@types/utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit be8a8ab

Please sign in to comment.