@twreporter/react-components 9.4.4 → 9.5.0-rc.0

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.
Files changed (153) hide show
  1. package/lib/badge/badge.stories.d.ts +13 -0
  2. package/lib/badge/index.d.ts +14 -0
  3. package/lib/bookmark-list/bookmark.d.ts +9 -0
  4. package/lib/bookmark-list/bookmarks.d.ts +15 -0
  5. package/lib/bookmark-list/customized-link.d.ts +19 -0
  6. package/lib/bookmark-list/image-wrapper.d.ts +27 -0
  7. package/lib/bookmark-list/index.d.ts +26 -0
  8. package/lib/bookmark-list/redirect-to-sign-in.d.ts +9 -0
  9. package/lib/bookmark-list/stories/bookmark.stories.d.ts +9 -0
  10. package/lib/bookmark-widget/index.d.ts +13 -0
  11. package/lib/button/components/iconButton.d.ts +22 -0
  12. package/lib/button/components/iconWithTextButton.d.ts +21 -0
  13. package/lib/button/components/link.d.ts +45 -0
  14. package/lib/button/components/menuButton.d.ts +29 -0
  15. package/lib/button/components/pillButton.d.ts +34 -0
  16. package/lib/button/components/textButton.d.ts +32 -0
  17. package/lib/button/components/toggleButton.d.ts +18 -0
  18. package/lib/button/enums/index.d.ts +13 -0
  19. package/lib/button/index.d.ts +20 -0
  20. package/lib/button/stories/iconButton.stories.d.ts +42 -0
  21. package/lib/button/stories/iconWithTextButton.stories.d.ts +37 -0
  22. package/lib/button/stories/link.stories.d.ts +139 -0
  23. package/lib/button/stories/menuButton.stories.d.ts +26 -0
  24. package/lib/button/stories/pillButton.stories.d.ts +92 -0
  25. package/lib/button/stories/textButton.stories.d.ts +85 -0
  26. package/lib/button/stories/toggleButton.stories.d.ts +22 -0
  27. package/lib/button/utils/size.d.ts +8 -0
  28. package/lib/button/utils/theme.d.ts +218 -0
  29. package/lib/card/components/article-card.d.ts +34 -0
  30. package/lib/card/components/dialog.d.ts +14 -0
  31. package/lib/card/components/short-story.d.ts +26 -0
  32. package/lib/card/index.d.ts +10 -0
  33. package/lib/card/stories/articleCard.stories.d.ts +30 -0
  34. package/lib/card/stories/dialog.stories.d.ts +23 -0
  35. package/lib/card/stories/shortStory.stories.d.ts +37 -0
  36. package/lib/checkbox/checkbox.stories.d.ts +21 -0
  37. package/lib/checkbox/index.d.ts +16 -0
  38. package/lib/color.stories.d.ts +63 -0
  39. package/lib/confirmation/index.d.ts +25 -0
  40. package/lib/customized-link.d.ts +12 -0
  41. package/lib/divider.d.ts +15 -0
  42. package/lib/divider.stories.d.ts +33 -0
  43. package/lib/donation-link.d.ts +10 -0
  44. package/lib/empty-state/enums/index.d.ts +5 -0
  45. package/lib/empty-state/index.d.ts +30 -0
  46. package/lib/empty-state/stories/empty-guide.stories.d.ts +29 -0
  47. package/lib/error/index.d.ts +8 -0
  48. package/lib/error/message.d.ts +9 -0
  49. package/lib/footer/constants/links.d.ts +19 -0
  50. package/lib/footer/footer.stories.d.ts +15 -0
  51. package/lib/footer/index.d.ts +9 -0
  52. package/lib/footer/link.d.ts +18 -0
  53. package/lib/footer/logo.d.ts +9 -0
  54. package/lib/hook/index.d.ts +10 -0
  55. package/lib/hook/use-bookmark.d.ts +15 -0
  56. package/lib/hook/use-font-face-observer.d.ts +2 -0
  57. package/lib/hook/use-outside-click.d.ts +2 -0
  58. package/lib/icon/enum/index.d.ts +25 -0
  59. package/lib/icon/index.d.ts +227 -0
  60. package/lib/icon/index.js +4 -2
  61. package/lib/icon/stories/arrow.stories.d.ts +72 -0
  62. package/lib/icon/stories/article.stories.d.ts +11 -0
  63. package/lib/icon/stories/bookmark.stories.d.ts +57 -0
  64. package/lib/icon/stories/changeIconColor.stories.d.ts +23 -0
  65. package/lib/icon/stories/clock.stories.d.ts +11 -0
  66. package/lib/icon/stories/copy.stories.d.ts +11 -0
  67. package/lib/icon/stories/cross.stories.d.ts +11 -0
  68. package/lib/icon/stories/filter.stories.d.ts +11 -0
  69. package/lib/icon/stories/filter.stories.js +16 -0
  70. package/lib/icon/stories/hamburger.stories.d.ts +11 -0
  71. package/lib/icon/stories/home.stories.d.ts +11 -0
  72. package/lib/icon/stories/letter.stories.d.ts +11 -0
  73. package/lib/icon/stories/loading.stories.d.ts +11 -0
  74. package/lib/icon/stories/member.stories.d.ts +11 -0
  75. package/lib/icon/stories/printer.stories.d.ts +11 -0
  76. package/lib/icon/stories/search.stories.d.ts +11 -0
  77. package/lib/icon/stories/share.stories.d.ts +11 -0
  78. package/lib/icon/stories/socialMedia.stories.d.ts +25 -0
  79. package/lib/icon/stories/text.stories.d.ts +11 -0
  80. package/lib/icon/stories/topic.stories.d.ts +11 -0
  81. package/lib/image-with-fallback.d.ts +16 -0
  82. package/lib/input/components/search-bar.d.ts +29 -0
  83. package/lib/input/components/text-field.d.ts +26 -0
  84. package/lib/input/enums/index.d.ts +13 -0
  85. package/lib/input/index.d.ts +8 -0
  86. package/lib/input/stories/search-bar.stories.d.ts +33 -0
  87. package/lib/input/stories/text-field.stories.d.ts +37 -0
  88. package/lib/input/utils/theme.d.ts +17 -0
  89. package/lib/is-fetching-wrapper.d.ts +14 -0
  90. package/lib/junior-link.d.ts +7 -0
  91. package/lib/link-with-tracker.d.ts +29 -0
  92. package/lib/listing-page/components/card-list.d.ts +20 -0
  93. package/lib/listing-page/components/image.d.ts +29 -0
  94. package/lib/listing-page/components/list-item.d.ts +27 -0
  95. package/lib/listing-page/components/list.d.ts +31 -0
  96. package/lib/listing-page/components/page-content.d.ts +2 -0
  97. package/lib/listing-page/components/topics/index.d.ts +25 -0
  98. package/lib/listing-page/components/topics/post-item.d.ts +19 -0
  99. package/lib/listing-page/components/topics/posts.d.ts +2 -0
  100. package/lib/listing-page/components/topics/section.d.ts +20 -0
  101. package/lib/listing-page/components/topics/topic-item.d.ts +22 -0
  102. package/lib/listing-page/constants/mockup-spec.d.ts +46 -0
  103. package/lib/listing-page/constants/predefined-css.d.ts +2 -0
  104. package/lib/listing-page/constants/prop-types.d.ts +1 -0
  105. package/lib/listing-page/constants/topics.d.ts +6 -0
  106. package/lib/listing-page/index.d.ts +10 -0
  107. package/lib/listing-page/stories/cardList.stories.d.ts +72 -0
  108. package/lib/logo/components/logo-footer.d.ts +17 -0
  109. package/lib/logo/components/logo-header.d.ts +18 -0
  110. package/lib/logo/components/logo-loading-fallback.d.ts +10 -0
  111. package/lib/logo/components/logo-symbol.d.ts +19 -0
  112. package/lib/logo/index.d.ts +12 -0
  113. package/lib/logo/stories/logoFooter.stories.d.ts +11 -0
  114. package/lib/logo/stories/logoHeader.stories.d.ts +15 -0
  115. package/lib/logo/stories/logoLoadingFallback.stories.d.ts +11 -0
  116. package/lib/logo/stories/logoSymbol.stories.d.ts +15 -0
  117. package/lib/logo/utils/path.d.ts +5 -0
  118. package/lib/material-icon.d.ts +17 -0
  119. package/lib/mobile-member-role-card/index.d.ts +26 -0
  120. package/lib/mobile-member-role-card/stories/member-role-card.stories.d.ts +34 -0
  121. package/lib/mobile-pop-up-modal.d.ts +28 -0
  122. package/lib/more.d.ts +10 -0
  123. package/lib/pagination/index.d.ts +36 -0
  124. package/lib/podcast-link.d.ts +7 -0
  125. package/lib/rwd.d.ts +5 -0
  126. package/lib/shared-enum.d.ts +4 -0
  127. package/lib/side-bar/index.d.ts +81 -0
  128. package/lib/simple-header/index.d.ts +2 -0
  129. package/lib/simple-header/simpleHeader.stories.d.ts +9 -0
  130. package/lib/snack-bar/components/snack-bar.d.ts +13 -0
  131. package/lib/snack-bar/hooks/use-snack-bar.d.ts +9 -0
  132. package/lib/snack-bar/index.d.ts +8 -0
  133. package/lib/snack-bar/stories/snackBar.stories.d.ts +28 -0
  134. package/lib/snack-bar/utils/theme.d.ts +11 -0
  135. package/lib/storybook/constants/index.d.ts +21 -0
  136. package/lib/storybook/utils/get-enum-arg.d.ts +7 -0
  137. package/lib/table-of-contents/index.d.ts +200 -0
  138. package/lib/text/constants/headline-type.d.ts +4 -0
  139. package/lib/text/enums/index.d.ts +9 -0
  140. package/lib/text/headline.d.ts +60 -0
  141. package/lib/text/paragraph.d.ts +49 -0
  142. package/lib/text/stories/headline.stories.d.ts +112 -0
  143. package/lib/text/stories/paragraph.stories.d.ts +78 -0
  144. package/lib/text/utils/webfonts.d.ts +10 -0
  145. package/lib/title-bar/components/tab.d.ts +13 -0
  146. package/lib/title-bar/components/title1.d.ts +11 -0
  147. package/lib/title-bar/components/title2.d.ts +13 -0
  148. package/lib/title-bar/index.d.ts +10 -0
  149. package/lib/title-bar/stories/tab.stories.d.ts +43 -0
  150. package/lib/title-bar/stories/title1.stories.d.ts +29 -0
  151. package/lib/title-bar/stories/title2.stories.d.ts +29 -0
  152. package/lib/utils/link-with-params.d.ts +6 -0
  153. package/package.json +9 -7
@@ -0,0 +1,63 @@
1
+ declare namespace _default {
2
+ export let title: string;
3
+ export { ColorSet as component };
4
+ export namespace argTypes {
5
+ let type: {
6
+ defaultValue: any;
7
+ options: any[];
8
+ control: {
9
+ type: string;
10
+ };
11
+ };
12
+ namespace background {
13
+ namespace control {
14
+ let type_1: string;
15
+ export { type_1 as type };
16
+ export let presetColors: ("#808080" | "#f1f1f1" | "#052142")[];
17
+ }
18
+ }
19
+ }
20
+ }
21
+ export default _default;
22
+ export namespace colorSet {
23
+ namespace args {
24
+ export let height: string;
25
+ export let width: string;
26
+ import type_2 = ColorSetEnum.GRAYSCALE;
27
+ export { type_2 as type };
28
+ export let showColorText: boolean;
29
+ let background_1: "#f1f1f1";
30
+ export { background_1 as background };
31
+ }
32
+ }
33
+ declare function ColorSet({ height, width, type, showColorText, background }: {
34
+ height: any;
35
+ width: any;
36
+ type: any;
37
+ showColorText: any;
38
+ background: any;
39
+ }): JSX.Element;
40
+ declare namespace ColorSet {
41
+ namespace propTypes {
42
+ let background_2: any;
43
+ export { background_2 as background };
44
+ let height_1: any;
45
+ export { height_1 as height };
46
+ let width_1: any;
47
+ export { width_1 as width };
48
+ let type_3: any;
49
+ export { type_3 as type };
50
+ let showColorText_1: any;
51
+ export { showColorText_1 as showColorText };
52
+ }
53
+ }
54
+ declare namespace ColorSetEnum {
55
+ let BRAND: string;
56
+ let GRAYSCALE: string;
57
+ let OPACITY: string;
58
+ let PHOTO: string;
59
+ let PODCAST: string;
60
+ let SUPPORTIVE: string;
61
+ let SEMANTIC: string;
62
+ let PINK_ARTICLE: string;
63
+ }
@@ -0,0 +1,25 @@
1
+ export default Confirmation;
2
+ declare function Confirmation(props: any): JSX.Element;
3
+ declare namespace Confirmation {
4
+ namespace defaultProps {
5
+ let content: string;
6
+ let cancel: string;
7
+ let confirm: string;
8
+ let width: string;
9
+ let toShowWarningIcon: boolean;
10
+ }
11
+ namespace propTypes {
12
+ let width_1: any;
13
+ export { width_1 as width };
14
+ let content_1: any;
15
+ export { content_1 as content };
16
+ let cancel_1: any;
17
+ export { cancel_1 as cancel };
18
+ let confirm_1: any;
19
+ export { confirm_1 as confirm };
20
+ export let onConfirm: any;
21
+ export let onCancel: any;
22
+ let toShowWarningIcon_1: any;
23
+ export { toShowWarningIcon_1 as toShowWarningIcon };
24
+ }
25
+ }
@@ -0,0 +1,12 @@
1
+ export default CustomizedLink;
2
+ declare function CustomizedLink({ isExternal, to, ...rest }: {
3
+ [x: string]: any;
4
+ isExternal?: boolean;
5
+ to?: string;
6
+ }): JSX.Element;
7
+ declare namespace CustomizedLink {
8
+ namespace propTypes {
9
+ let isExternal: any;
10
+ let to: any;
11
+ }
12
+ }
@@ -0,0 +1,15 @@
1
+ export default Divider;
2
+ declare function Divider({ direction, ...props }: {
3
+ [x: string]: any;
4
+ direction?: string;
5
+ }): JSX.Element;
6
+ declare namespace Divider {
7
+ export namespace propTypes {
8
+ let direction: any;
9
+ }
10
+ export { Direction };
11
+ }
12
+ declare namespace Direction {
13
+ let HORIZONTAL: string;
14
+ let VERTICAL: string;
15
+ }
@@ -0,0 +1,33 @@
1
+ declare namespace _default {
2
+ export let title: string;
3
+ export { Divider as component };
4
+ }
5
+ export default _default;
6
+ export namespace divider {
7
+ function render(args: any): JSX.Element;
8
+ namespace args {
9
+ let direction: string;
10
+ }
11
+ }
12
+ export namespace horizontal {
13
+ export function render_1(): JSX.Element;
14
+ export { render_1 as render };
15
+ export namespace parameters {
16
+ namespace controls {
17
+ let exclude: string[];
18
+ }
19
+ }
20
+ }
21
+ export namespace vertical {
22
+ export function render_2(): JSX.Element;
23
+ export { render_2 as render };
24
+ export namespace parameters_1 {
25
+ export namespace controls_1 {
26
+ let exclude_1: string[];
27
+ export { exclude_1 as exclude };
28
+ }
29
+ export { controls_1 as controls };
30
+ }
31
+ export { parameters_1 as parameters };
32
+ }
33
+ import Divider from './divider';
@@ -0,0 +1,10 @@
1
+ export default DonationLink;
2
+ declare function DonationLink({ children, ...props }: {
3
+ [x: string]: any;
4
+ children: any;
5
+ }): JSX.Element;
6
+ declare namespace DonationLink {
7
+ namespace propTypes {
8
+ let children: any;
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ export const Style: Readonly<{
2
+ DEFAULT: "default";
3
+ PENCIL: "pencil";
4
+ UNDER_CONSTRUCTION: "under_construction";
5
+ }>;
@@ -0,0 +1,30 @@
1
+ export default EmptyState;
2
+ declare function EmptyState({ releaseBranch, style, title, showGuide, guide, showButton, buttonText, buttonUrl, buttonOnclick, maxWidth, }: {
3
+ releaseBranch?: string;
4
+ style?: "default";
5
+ title?: string;
6
+ showGuide?: boolean;
7
+ guide?: any;
8
+ showButton?: boolean;
9
+ buttonText?: string;
10
+ buttonUrl?: string;
11
+ buttonOnclick?: () => void;
12
+ maxWidth?: string;
13
+ }): JSX.Element;
14
+ declare namespace EmptyState {
15
+ export namespace propTypes {
16
+ export { BRANCH_PROP_TYPES as releaseBranch };
17
+ export let style: any;
18
+ export let title: any;
19
+ export let showGuide: any;
20
+ export let guide: any;
21
+ export let showButton: any;
22
+ export let buttonText: any;
23
+ export let buttonUrl: any;
24
+ export let buttonOnclick: any;
25
+ export let maxWidth: any;
26
+ }
27
+ export { Style };
28
+ }
29
+ import { BRANCH_PROP_TYPES } from '@twreporter/core/lib/constants/release-branch';
30
+ import { Style } from './enums';
@@ -0,0 +1,29 @@
1
+ declare namespace _default {
2
+ export let title: string;
3
+ export { EmptyState as component };
4
+ export namespace argTypes {
5
+ export { BRANCH_STORYBOOK_ARG_TYPE as releaseBranch };
6
+ export let style: {
7
+ defaultValue: any;
8
+ options: any[];
9
+ control: {
10
+ type: string;
11
+ };
12
+ };
13
+ }
14
+ }
15
+ export default _default;
16
+ export namespace emptyState {
17
+ namespace args {
18
+ let title_1: string;
19
+ export { title_1 as title };
20
+ export let showGuide: boolean;
21
+ export let guide: string;
22
+ export let showButton: boolean;
23
+ export let buttonText: string;
24
+ export let buttonUrl: string;
25
+ export let maxWidth: string;
26
+ }
27
+ }
28
+ import EmptyState from '../index';
29
+ import { BRANCH_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -0,0 +1,8 @@
1
+ export function ErrorMessage({ errorType }: {
2
+ errorType?: string;
3
+ }): JSX.Element;
4
+ export namespace ErrorMessage { }
5
+ declare namespace _default {
6
+ export { ErrorMessage };
7
+ }
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export default ErrorMessage;
2
+ declare function ErrorMessage({ errorType }: {
3
+ errorType?: string;
4
+ }): JSX.Element;
5
+ declare namespace ErrorMessage {
6
+ namespace propTypes {
7
+ let errorType: any;
8
+ }
9
+ }
@@ -0,0 +1,19 @@
1
+ export function getLinksGroups(mainOrigin: any): ({
2
+ slug: string;
3
+ text: string;
4
+ to: string;
5
+ target: string;
6
+ id: string;
7
+ } | {
8
+ slug: string;
9
+ text: string;
10
+ to: string;
11
+ target: string;
12
+ id?: undefined;
13
+ })[][];
14
+ export function getSocialMediaLinks(): {
15
+ slug: string;
16
+ icon: string;
17
+ to: string;
18
+ target: string;
19
+ }[];
@@ -0,0 +1,15 @@
1
+ declare namespace _default {
2
+ export let title: string;
3
+ export { Footer as component };
4
+ export namespace argTypes {
5
+ export { BRANCH_STORYBOOK_ARG_TYPE as releaseBranch };
6
+ }
7
+ }
8
+ export default _default;
9
+ export namespace footer {
10
+ namespace args {
11
+ let releaseBranch: string;
12
+ }
13
+ }
14
+ import Footer from './index';
15
+ import { BRANCH_STORYBOOK_ARG_TYPE } from '../storybook/constants';
@@ -0,0 +1,9 @@
1
+ export default Footer;
2
+ declare function Footer({ releaseBranch }: {
3
+ releaseBranch?: string;
4
+ }): JSX.Element;
5
+ declare namespace Footer {
6
+ namespace propTypes {
7
+ let releaseBranch: any;
8
+ }
9
+ }
@@ -0,0 +1,18 @@
1
+ export function FooterLinkButtonGroups({ releaseBranch, }: {
2
+ releaseBranch?: string;
3
+ }): any;
4
+ export namespace FooterLinkButtonGroups {
5
+ namespace propTypes {
6
+ let releaseBranch: any;
7
+ }
8
+ }
9
+ export function FooterSocialMediaIcons({ releaseBranch, }: {
10
+ releaseBranch?: string;
11
+ }): any;
12
+ export namespace FooterSocialMediaIcons {
13
+ export namespace propTypes_1 {
14
+ let releaseBranch_1: any;
15
+ export { releaseBranch_1 as releaseBranch };
16
+ }
17
+ export { propTypes_1 as propTypes };
18
+ }
@@ -0,0 +1,9 @@
1
+ export default Logo;
2
+ declare function Logo({ releaseBranch }: {
3
+ releaseBranch?: string;
4
+ }): JSX.Element;
5
+ declare namespace Logo {
6
+ namespace propTypes {
7
+ let releaseBranch: any;
8
+ }
9
+ }
@@ -0,0 +1,10 @@
1
+ declare namespace _default {
2
+ export { useOutsideClick };
3
+ export { useFontFaceObserver };
4
+ export { useBookmark };
5
+ }
6
+ export default _default;
7
+ import useOutsideClick from './use-outside-click';
8
+ import useFontFaceObserver from './use-font-face-observer';
9
+ import useBookmark from './use-bookmark';
10
+ export { useOutsideClick, useFontFaceObserver, useBookmark };
@@ -0,0 +1,15 @@
1
+ export default useBookmark;
2
+ /**
3
+ * hook for create or delete bookmark
4
+ * @param {object} bookmark
5
+ * @param {string} bookmark.slug
6
+ * @param {boolean} bookmark.is_external
7
+ * @param {string} bookmark.title
8
+ * @param {string} bookmark.desc
9
+ * @param {string} bookmark.thumbnail
10
+ * @param {string} bookmark.published_date
11
+ */
12
+ declare function useBookmark(): {
13
+ addAction: (bookmark: any) => any;
14
+ removeAction: (bookmarkID: any) => any;
15
+ };
@@ -0,0 +1,2 @@
1
+ export default useFontFaceObserver;
2
+ declare function useFontFaceObserver(fontFaces: any[], callback: any): boolean;
@@ -0,0 +1,2 @@
1
+ export default useOutsideClick;
2
+ declare function useOutsideClick(callback: any): import("react").MutableRefObject<undefined>;
@@ -0,0 +1,25 @@
1
+ export const IconType: Readonly<{
2
+ MASK: "mask";
3
+ RAW: "raw";
4
+ }>;
5
+ export const ArrowDirection: Readonly<{
6
+ RIGHT: "right";
7
+ LEFT: "left";
8
+ UP: "up";
9
+ DOWN: "down";
10
+ }>;
11
+ export const BookmarkType: Readonly<{
12
+ BASIC: "basic";
13
+ ADD: "add";
14
+ SAVED: "saved";
15
+ }>;
16
+ export const MediaType: Readonly<{
17
+ FACEBOOK: "facebook";
18
+ INSTAGRAM: "instagram";
19
+ MEDIUM: "medium";
20
+ TWITTER: "twitter";
21
+ YOUTUBE: "youtube";
22
+ LINE: "line";
23
+ GOOGLE: "google";
24
+ PLURK: "plurk";
25
+ }>;
@@ -0,0 +1,227 @@
1
+ export function Icon({ type, filename, releaseBranch, ...restProps }: {
2
+ [x: string]: any;
3
+ type?: "mask";
4
+ filename?: string;
5
+ releaseBranch?: string;
6
+ }): JSX.Element;
7
+ export namespace Icon {
8
+ export namespace propTypes {
9
+ export let type: any;
10
+ export let filename: any;
11
+ export { BRANCH_PROP_TYPES as releaseBranch };
12
+ }
13
+ export { IconType as type };
14
+ export { BRANCH as releaseBranch };
15
+ }
16
+ export function Hamburger({ releaseBranch, ...props }: {
17
+ [x: string]: any;
18
+ releaseBranch?: string;
19
+ }): JSX.Element;
20
+ export namespace Hamburger {
21
+ export namespace propTypes_1 {
22
+ let type_1: any;
23
+ export { type_1 as type };
24
+ export { BRANCH_PROP_TYPES as releaseBranch };
25
+ }
26
+ export { propTypes_1 as propTypes };
27
+ export let displayName: any;
28
+ export { IconType as Type };
29
+ }
30
+ export function Hamburger({ releaseBranch, ...props }: {
31
+ [x: string]: any;
32
+ releaseBranch?: string;
33
+ }): JSX.Element;
34
+ export namespace Hamburger { }
35
+ export function Hamburger({ releaseBranch, ...props }: {
36
+ [x: string]: any;
37
+ releaseBranch?: string;
38
+ }): JSX.Element;
39
+ export namespace Hamburger { }
40
+ export function Hamburger({ releaseBranch, ...props }: {
41
+ [x: string]: any;
42
+ releaseBranch?: string;
43
+ }): JSX.Element;
44
+ export namespace Hamburger { }
45
+ export function Hamburger({ releaseBranch, ...props }: {
46
+ [x: string]: any;
47
+ releaseBranch?: string;
48
+ }): JSX.Element;
49
+ export namespace Hamburger { }
50
+ export function Hamburger({ releaseBranch, ...props }: {
51
+ [x: string]: any;
52
+ releaseBranch?: string;
53
+ }): JSX.Element;
54
+ export namespace Hamburger { }
55
+ export function Hamburger({ releaseBranch, ...props }: {
56
+ [x: string]: any;
57
+ releaseBranch?: string;
58
+ }): JSX.Element;
59
+ export namespace Hamburger { }
60
+ export function Hamburger({ releaseBranch, ...props }: {
61
+ [x: string]: any;
62
+ releaseBranch?: string;
63
+ }): JSX.Element;
64
+ export namespace Hamburger { }
65
+ export function Hamburger({ releaseBranch, ...props }: {
66
+ [x: string]: any;
67
+ releaseBranch?: string;
68
+ }): JSX.Element;
69
+ export namespace Hamburger { }
70
+ export function Hamburger({ releaseBranch, ...props }: {
71
+ [x: string]: any;
72
+ releaseBranch?: string;
73
+ }): JSX.Element;
74
+ export namespace Hamburger { }
75
+ export function Hamburger({ releaseBranch, ...props }: {
76
+ [x: string]: any;
77
+ releaseBranch?: string;
78
+ }): JSX.Element;
79
+ export namespace Hamburger { }
80
+ export function Hamburger({ releaseBranch, ...props }: {
81
+ [x: string]: any;
82
+ releaseBranch?: string;
83
+ }): JSX.Element;
84
+ export namespace Hamburger { }
85
+ export function Hamburger({ releaseBranch, ...props }: {
86
+ [x: string]: any;
87
+ releaseBranch?: string;
88
+ }): JSX.Element;
89
+ export namespace Hamburger { }
90
+ export function Hamburger({ releaseBranch, ...props }: {
91
+ [x: string]: any;
92
+ releaseBranch?: string;
93
+ }): JSX.Element;
94
+ export namespace Hamburger { }
95
+ export function Hamburger({ releaseBranch, ...props }: {
96
+ [x: string]: any;
97
+ releaseBranch?: string;
98
+ }): JSX.Element;
99
+ export namespace Hamburger { }
100
+ export function Hamburger({ releaseBranch, ...props }: {
101
+ [x: string]: any;
102
+ releaseBranch?: string;
103
+ }): JSX.Element;
104
+ export namespace Hamburger { }
105
+ export function Hamburger({ releaseBranch, ...props }: {
106
+ [x: string]: any;
107
+ releaseBranch?: string;
108
+ }): JSX.Element;
109
+ export namespace Hamburger { }
110
+ export function Hamburger({ releaseBranch, ...props }: {
111
+ [x: string]: any;
112
+ releaseBranch?: string;
113
+ }): JSX.Element;
114
+ export namespace Hamburger { }
115
+ export function Hamburger({ releaseBranch, ...props }: {
116
+ [x: string]: any;
117
+ releaseBranch?: string;
118
+ }): JSX.Element;
119
+ export namespace Hamburger { }
120
+ export function Hamburger({ releaseBranch, ...props }: {
121
+ [x: string]: any;
122
+ releaseBranch?: string;
123
+ }): JSX.Element;
124
+ export namespace Hamburger { }
125
+ export function Hamburger({ releaseBranch, ...props }: {
126
+ [x: string]: any;
127
+ releaseBranch?: string;
128
+ }): JSX.Element;
129
+ export namespace Hamburger { }
130
+ export function Hamburger({ releaseBranch, ...props }: {
131
+ [x: string]: any;
132
+ releaseBranch?: string;
133
+ }): JSX.Element;
134
+ export namespace Hamburger { }
135
+ export function Hamburger({ releaseBranch, ...props }: {
136
+ [x: string]: any;
137
+ releaseBranch?: string;
138
+ }): JSX.Element;
139
+ export namespace Hamburger { }
140
+ export function Hamburger({ releaseBranch, ...props }: {
141
+ [x: string]: any;
142
+ releaseBranch?: string;
143
+ }): JSX.Element;
144
+ export namespace Hamburger { }
145
+ export function Hamburger({ releaseBranch, ...props }: {
146
+ [x: string]: any;
147
+ releaseBranch?: string;
148
+ }): JSX.Element;
149
+ export namespace Hamburger { }
150
+ export function Arrow({ direction, releaseBranch, ...props }: {
151
+ [x: string]: any;
152
+ direction?: "right";
153
+ releaseBranch: any;
154
+ }): JSX.Element;
155
+ export namespace Arrow {
156
+ export namespace propTypes_2 {
157
+ export let direction: any;
158
+ export { BRANCH_PROP_TYPES as releaseBranch };
159
+ }
160
+ export { propTypes_2 as propTypes };
161
+ export { ArrowDirection as Direction };
162
+ }
163
+ export function Bookmark({ type, releaseBranch }: {
164
+ type?: "basic";
165
+ releaseBranch: any;
166
+ }): JSX.Element;
167
+ export namespace Bookmark {
168
+ export namespace propTypes_3 {
169
+ let type_2: any;
170
+ export { type_2 as type };
171
+ export { BRANCH_PROP_TYPES as releaseBranch };
172
+ }
173
+ export { propTypes_3 as propTypes };
174
+ export { BookmarkType as Type };
175
+ }
176
+ export function SocialMedia({ mediaType, ...args }: {
177
+ [x: string]: any;
178
+ mediaType?: "google";
179
+ }): JSX.Element;
180
+ export namespace SocialMedia {
181
+ export namespace propTypes_4 {
182
+ import type_3 = type;
183
+ export { type_3 as type };
184
+ export let mediaType: any;
185
+ export { BRANCH_PROP_TYPES as releaseBranch };
186
+ }
187
+ export { propTypes_4 as propTypes };
188
+ export { IconType as Type };
189
+ export { MediaType };
190
+ }
191
+ declare namespace _default {
192
+ export { Arrow };
193
+ export { Article };
194
+ export { Bookmark };
195
+ export { Clock };
196
+ export { Copy };
197
+ export { Cross };
198
+ export { Facebook };
199
+ export { Hamburger };
200
+ export { Home };
201
+ export { Instagram };
202
+ export { Line };
203
+ export { Loading };
204
+ export { Printer };
205
+ export { Letter };
206
+ export { Medium };
207
+ export { Member };
208
+ export { Search };
209
+ export { Share };
210
+ export { Text };
211
+ export { Topic };
212
+ export { Twitter };
213
+ export { Youtube };
214
+ export { Google };
215
+ export { SocialMedia };
216
+ export { History };
217
+ export { KidStar };
218
+ export { Plurk };
219
+ export { Filter };
220
+ }
221
+ export default _default;
222
+ import { BRANCH_PROP_TYPES } from '@twreporter/core/lib/constants/release-branch';
223
+ import { IconType } from './enum';
224
+ import { BRANCH } from '@twreporter/core/lib/constants/release-branch';
225
+ import { ArrowDirection } from './enum';
226
+ import { BookmarkType } from './enum';
227
+ import { MediaType } from './enum';
package/lib/icon/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = exports.Youtube = exports.Twitter = exports.Topic = exports.Text = exports.SocialMedia = exports.Share = exports.Search = exports.Printer = exports.Plurk = exports.Member = exports.Medium = exports.Loading = exports.Line = exports.Letter = exports.KidStar = exports.Instagram = exports.Icon = exports.Home = exports.History = exports.Hamburger = exports.Google = exports.Facebook = exports.Cross = exports.Copy = exports.Clock = exports.Bookmark = exports.Article = exports.Arrow = void 0;
6
+ exports["default"] = exports.Youtube = exports.Twitter = exports.Topic = exports.Text = exports.SocialMedia = exports.Share = exports.Search = exports.Printer = exports.Plurk = exports.Member = exports.Medium = exports.Loading = exports.Line = exports.Letter = exports.KidStar = exports.Instagram = exports.Icon = exports.Home = exports.History = exports.Hamburger = exports.Google = exports.Filter = exports.Facebook = exports.Cross = exports.Copy = exports.Clock = exports.Bookmark = exports.Article = exports.Arrow = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
@@ -93,6 +93,7 @@ var Google = exports.Google = getIcon('google');
93
93
  var History = exports.History = getIcon('history');
94
94
  var KidStar = exports.KidStar = getIcon('kid_star');
95
95
  var Plurk = exports.Plurk = getIcon('plurk');
96
+ var Filter = exports.Filter = getIcon('filter');
96
97
  var Arrow = exports.Arrow = function Arrow(_ref3) {
97
98
  var _ref3$direction = _ref3.direction,
98
99
  direction = _ref3$direction === void 0 ? _enum.ArrowDirection.RIGHT : _ref3$direction,
@@ -166,5 +167,6 @@ var _default = exports["default"] = {
166
167
  SocialMedia: SocialMedia,
167
168
  History: History,
168
169
  KidStar: KidStar,
169
- Plurk: Plurk
170
+ Plurk: Plurk,
171
+ Filter: Filter
170
172
  };