@twreporter/react-components 9.5.0-rc.1 → 9.5.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 (151) hide show
  1. package/package.json +7 -8
  2. package/lib/badge/badge.stories.d.ts +0 -13
  3. package/lib/badge/index.d.ts +0 -14
  4. package/lib/bookmark-list/bookmark.d.ts +0 -9
  5. package/lib/bookmark-list/bookmarks.d.ts +0 -15
  6. package/lib/bookmark-list/customized-link.d.ts +0 -19
  7. package/lib/bookmark-list/image-wrapper.d.ts +0 -27
  8. package/lib/bookmark-list/index.d.ts +0 -26
  9. package/lib/bookmark-list/redirect-to-sign-in.d.ts +0 -9
  10. package/lib/bookmark-list/stories/bookmark.stories.d.ts +0 -9
  11. package/lib/bookmark-widget/index.d.ts +0 -13
  12. package/lib/button/components/iconButton.d.ts +0 -21
  13. package/lib/button/components/iconWithTextButton.d.ts +0 -20
  14. package/lib/button/components/link.d.ts +0 -45
  15. package/lib/button/components/menuButton.d.ts +0 -29
  16. package/lib/button/components/pillButton.d.ts +0 -33
  17. package/lib/button/components/textButton.d.ts +0 -31
  18. package/lib/button/components/toggleButton.d.ts +0 -18
  19. package/lib/button/enums/index.d.ts +0 -13
  20. package/lib/button/index.d.ts +0 -20
  21. package/lib/button/stories/iconButton.stories.d.ts +0 -42
  22. package/lib/button/stories/iconWithTextButton.stories.d.ts +0 -37
  23. package/lib/button/stories/link.stories.d.ts +0 -139
  24. package/lib/button/stories/menuButton.stories.d.ts +0 -26
  25. package/lib/button/stories/pillButton.stories.d.ts +0 -92
  26. package/lib/button/stories/textButton.stories.d.ts +0 -85
  27. package/lib/button/stories/toggleButton.stories.d.ts +0 -22
  28. package/lib/button/utils/size.d.ts +0 -8
  29. package/lib/button/utils/theme.d.ts +0 -47
  30. package/lib/card/components/article-card.d.ts +0 -33
  31. package/lib/card/components/dialog.d.ts +0 -14
  32. package/lib/card/components/short-story.d.ts +0 -25
  33. package/lib/card/index.d.ts +0 -10
  34. package/lib/card/stories/articleCard.stories.d.ts +0 -30
  35. package/lib/card/stories/dialog.stories.d.ts +0 -23
  36. package/lib/card/stories/shortStory.stories.d.ts +0 -37
  37. package/lib/checkbox/checkbox.stories.d.ts +0 -21
  38. package/lib/checkbox/index.d.ts +0 -16
  39. package/lib/color.stories.d.ts +0 -63
  40. package/lib/confirmation/index.d.ts +0 -25
  41. package/lib/customized-link.d.ts +0 -12
  42. package/lib/divider.d.ts +0 -15
  43. package/lib/divider.stories.d.ts +0 -33
  44. package/lib/donation-link.d.ts +0 -10
  45. package/lib/empty-state/enums/index.d.ts +0 -5
  46. package/lib/empty-state/index.d.ts +0 -29
  47. package/lib/empty-state/stories/empty-guide.stories.d.ts +0 -29
  48. package/lib/error/index.d.ts +0 -8
  49. package/lib/error/message.d.ts +0 -9
  50. package/lib/footer/constants/links.d.ts +0 -19
  51. package/lib/footer/footer.stories.d.ts +0 -15
  52. package/lib/footer/index.d.ts +0 -9
  53. package/lib/footer/link.d.ts +0 -18
  54. package/lib/footer/logo.d.ts +0 -9
  55. package/lib/hook/index.d.ts +0 -10
  56. package/lib/hook/use-bookmark.d.ts +0 -15
  57. package/lib/hook/use-font-face-observer.d.ts +0 -2
  58. package/lib/hook/use-outside-click.d.ts +0 -2
  59. package/lib/icon/enum/index.d.ts +0 -25
  60. package/lib/icon/index.d.ts +0 -225
  61. package/lib/icon/stories/arrow.stories.d.ts +0 -72
  62. package/lib/icon/stories/article.stories.d.ts +0 -11
  63. package/lib/icon/stories/bookmark.stories.d.ts +0 -57
  64. package/lib/icon/stories/changeIconColor.stories.d.ts +0 -23
  65. package/lib/icon/stories/clock.stories.d.ts +0 -11
  66. package/lib/icon/stories/copy.stories.d.ts +0 -11
  67. package/lib/icon/stories/cross.stories.d.ts +0 -11
  68. package/lib/icon/stories/filter.stories.d.ts +0 -11
  69. package/lib/icon/stories/hamburger.stories.d.ts +0 -11
  70. package/lib/icon/stories/home.stories.d.ts +0 -11
  71. package/lib/icon/stories/letter.stories.d.ts +0 -11
  72. package/lib/icon/stories/loading.stories.d.ts +0 -11
  73. package/lib/icon/stories/member.stories.d.ts +0 -11
  74. package/lib/icon/stories/printer.stories.d.ts +0 -11
  75. package/lib/icon/stories/search.stories.d.ts +0 -11
  76. package/lib/icon/stories/share.stories.d.ts +0 -11
  77. package/lib/icon/stories/socialMedia.stories.d.ts +0 -25
  78. package/lib/icon/stories/text.stories.d.ts +0 -11
  79. package/lib/icon/stories/topic.stories.d.ts +0 -11
  80. package/lib/image-with-fallback.d.ts +0 -15
  81. package/lib/input/components/search-bar.d.ts +0 -27
  82. package/lib/input/components/text-field.d.ts +0 -26
  83. package/lib/input/enums/index.d.ts +0 -13
  84. package/lib/input/index.d.ts +0 -8
  85. package/lib/input/stories/search-bar.stories.d.ts +0 -33
  86. package/lib/input/stories/text-field.stories.d.ts +0 -37
  87. package/lib/input/utils/theme.d.ts +0 -9
  88. package/lib/is-fetching-wrapper.d.ts +0 -14
  89. package/lib/junior-link.d.ts +0 -7
  90. package/lib/link-with-tracker.d.ts +0 -29
  91. package/lib/listing-page/components/card-list.d.ts +0 -19
  92. package/lib/listing-page/components/image.d.ts +0 -29
  93. package/lib/listing-page/components/list-item.d.ts +0 -27
  94. package/lib/listing-page/components/list.d.ts +0 -31
  95. package/lib/listing-page/components/page-content.d.ts +0 -2
  96. package/lib/listing-page/components/topics/index.d.ts +0 -25
  97. package/lib/listing-page/components/topics/post-item.d.ts +0 -19
  98. package/lib/listing-page/components/topics/posts.d.ts +0 -2
  99. package/lib/listing-page/components/topics/section.d.ts +0 -20
  100. package/lib/listing-page/components/topics/topic-item.d.ts +0 -22
  101. package/lib/listing-page/constants/mockup-spec.d.ts +0 -46
  102. package/lib/listing-page/constants/predefined-css.d.ts +0 -2
  103. package/lib/listing-page/constants/prop-types.d.ts +0 -1
  104. package/lib/listing-page/constants/topics.d.ts +0 -6
  105. package/lib/listing-page/index.d.ts +0 -10
  106. package/lib/listing-page/stories/cardList.stories.d.ts +0 -72
  107. package/lib/logo/components/logo-footer.d.ts +0 -16
  108. package/lib/logo/components/logo-header.d.ts +0 -17
  109. package/lib/logo/components/logo-loading-fallback.d.ts +0 -9
  110. package/lib/logo/components/logo-symbol.d.ts +0 -18
  111. package/lib/logo/index.d.ts +0 -12
  112. package/lib/logo/stories/logoFooter.stories.d.ts +0 -11
  113. package/lib/logo/stories/logoHeader.stories.d.ts +0 -15
  114. package/lib/logo/stories/logoLoadingFallback.stories.d.ts +0 -11
  115. package/lib/logo/stories/logoSymbol.stories.d.ts +0 -15
  116. package/lib/logo/utils/path.d.ts +0 -5
  117. package/lib/material-icon.d.ts +0 -17
  118. package/lib/mobile-member-role-card/index.d.ts +0 -25
  119. package/lib/mobile-member-role-card/stories/member-role-card.stories.d.ts +0 -34
  120. package/lib/mobile-pop-up-modal.d.ts +0 -28
  121. package/lib/more.d.ts +0 -10
  122. package/lib/pagination/index.d.ts +0 -36
  123. package/lib/podcast-link.d.ts +0 -7
  124. package/lib/rwd.d.ts +0 -5
  125. package/lib/shared-enum.d.ts +0 -4
  126. package/lib/side-bar/index.d.ts +0 -81
  127. package/lib/simple-header/index.d.ts +0 -2
  128. package/lib/simple-header/simpleHeader.stories.d.ts +0 -9
  129. package/lib/snack-bar/components/snack-bar.d.ts +0 -12
  130. package/lib/snack-bar/hooks/use-snack-bar.d.ts +0 -9
  131. package/lib/snack-bar/index.d.ts +0 -8
  132. package/lib/snack-bar/stories/snackBar.stories.d.ts +0 -28
  133. package/lib/snack-bar/utils/theme.d.ts +0 -8
  134. package/lib/storybook/constants/index.d.ts +0 -21
  135. package/lib/storybook/utils/get-enum-arg.d.ts +0 -7
  136. package/lib/table-of-contents/index.d.ts +0 -200
  137. package/lib/text/constants/headline-type.d.ts +0 -4
  138. package/lib/text/enums/index.d.ts +0 -9
  139. package/lib/text/headline.d.ts +0 -60
  140. package/lib/text/paragraph.d.ts +0 -49
  141. package/lib/text/stories/headline.stories.d.ts +0 -112
  142. package/lib/text/stories/paragraph.stories.d.ts +0 -78
  143. package/lib/text/utils/webfonts.d.ts +0 -9
  144. package/lib/title-bar/components/tab.d.ts +0 -13
  145. package/lib/title-bar/components/title1.d.ts +0 -11
  146. package/lib/title-bar/components/title2.d.ts +0 -13
  147. package/lib/title-bar/index.d.ts +0 -10
  148. package/lib/title-bar/stories/tab.stories.d.ts +0 -43
  149. package/lib/title-bar/stories/title1.stories.d.ts +0 -29
  150. package/lib/title-bar/stories/title2.stories.d.ts +0 -29
  151. package/lib/utils/link-with-params.d.ts +0 -6
@@ -1,26 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { MenuButton as component };
4
- export namespace argTypes {
5
- let fontWeight: {
6
- defaultValue: any;
7
- options: any[];
8
- control: {
9
- type: string;
10
- };
11
- };
12
- }
13
- }
14
- export default _default;
15
- export namespace menuButton {
16
- namespace args {
17
- let text: string;
18
- let link: {};
19
- let color: any;
20
- let hoverBgColor: any;
21
- let activeBgColor: any;
22
- let paddingLeft: number;
23
- let paddingRight: number;
24
- }
25
- }
26
- import MenuButton from '../components/menuButton';
@@ -1,92 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { PillButton as component };
4
- export namespace argTypes {
5
- export { THEME_STORYBOOK_ARG_TYPE as theme };
6
- export let type: {
7
- defaultValue: any;
8
- options: any[];
9
- control: {
10
- type: string;
11
- };
12
- };
13
- export { SIZE_STORYBOOK_ARG_TYPE as size };
14
- export let style: {
15
- defaultValue: any;
16
- options: any[];
17
- control: {
18
- type: string;
19
- };
20
- };
21
- export namespace showLeft {
22
- let defaultValue: boolean;
23
- namespace control {
24
- let type_1: string;
25
- export { type_1 as type };
26
- }
27
- }
28
- export namespace showRight {
29
- let defaultValue_1: boolean;
30
- export { defaultValue_1 as defaultValue };
31
- export namespace control_1 {
32
- let type_2: string;
33
- export { type_2 as type };
34
- }
35
- export { control_1 as control };
36
- }
37
- }
38
- }
39
- export default _default;
40
- export namespace pillButton {
41
- namespace args {
42
- export let text: string;
43
- export let size: "S";
44
- export let theme: any;
45
- let style_1: "brand";
46
- export { style_1 as style };
47
- let type_3: "primary";
48
- export { type_3 as type };
49
- export let disabled: boolean;
50
- export let loading: boolean;
51
- }
52
- namespace parameters {
53
- namespace controls {
54
- let exclude: string[];
55
- }
56
- }
57
- }
58
- export namespace toggleIconDisplay {
59
- export function render(args: any): JSX.Element;
60
- export namespace args_1 {
61
- let showLeft_1: boolean;
62
- export { showLeft_1 as showLeft };
63
- let showRight_1: boolean;
64
- export { showRight_1 as showRight };
65
- let text_1: string;
66
- export { text_1 as text };
67
- let size_1: "S";
68
- export { size_1 as size };
69
- let theme_1: any;
70
- export { theme_1 as theme };
71
- let style_2: "brand";
72
- export { style_2 as style };
73
- let type_4: "primary";
74
- export { type_4 as type };
75
- let disabled_1: boolean;
76
- export { disabled_1 as disabled };
77
- let loading_1: boolean;
78
- export { loading_1 as loading };
79
- }
80
- export { args_1 as args };
81
- export namespace parameters_1 {
82
- export namespace controls_1 {
83
- let exclude_1: string[];
84
- export { exclude_1 as exclude };
85
- }
86
- export { controls_1 as controls };
87
- }
88
- export { parameters_1 as parameters };
89
- }
90
- import PillButton from '../components/pillButton';
91
- import { THEME_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
92
- import { SIZE_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -1,85 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { TextButton as component };
4
- export namespace argTypes {
5
- export { THEME_STORYBOOK_ARG_TYPE as theme };
6
- export let style: {
7
- defaultValue: any;
8
- options: any[];
9
- control: {
10
- type: string;
11
- };
12
- };
13
- export { SIZE_STORYBOOK_ARG_TYPE as size };
14
- export namespace showLeft {
15
- let defaultValue: boolean;
16
- namespace control {
17
- let type: string;
18
- }
19
- }
20
- export namespace showRight {
21
- let defaultValue_1: boolean;
22
- export { defaultValue_1 as defaultValue };
23
- export namespace control_1 {
24
- let type_1: string;
25
- export { type_1 as type };
26
- }
27
- export { control_1 as control };
28
- }
29
- }
30
- }
31
- export default _default;
32
- export namespace textButton {
33
- namespace args {
34
- export let text: string;
35
- export let size: "S";
36
- export let theme: any;
37
- let style_1: "dark";
38
- export { style_1 as style };
39
- export let active: boolean;
40
- export let disabled: boolean;
41
- export let loading: boolean;
42
- export let leftIconComponent: JSX.Element;
43
- export let rightIconComponent: JSX.Element;
44
- }
45
- namespace parameters {
46
- namespace controls {
47
- let exclude: string[];
48
- }
49
- }
50
- }
51
- export namespace toggleIconDisplay {
52
- export function render(args: any): JSX.Element;
53
- export namespace args_1 {
54
- let showLeft_1: boolean;
55
- export { showLeft_1 as showLeft };
56
- let showRight_1: boolean;
57
- export { showRight_1 as showRight };
58
- let text_1: string;
59
- export { text_1 as text };
60
- let size_1: "S";
61
- export { size_1 as size };
62
- let theme_1: any;
63
- export { theme_1 as theme };
64
- let style_2: "dark";
65
- export { style_2 as style };
66
- let active_1: boolean;
67
- export { active_1 as active };
68
- let disabled_1: boolean;
69
- export { disabled_1 as disabled };
70
- let loading_1: boolean;
71
- export { loading_1 as loading };
72
- }
73
- export { args_1 as args };
74
- export namespace parameters_1 {
75
- export namespace controls_1 {
76
- let exclude_1: string[];
77
- export { exclude_1 as exclude };
78
- }
79
- export { controls_1 as controls };
80
- }
81
- export { parameters_1 as parameters };
82
- }
83
- import TextButton from '../components/textButton';
84
- import { THEME_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
85
- import { SIZE_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -1,22 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { ToggleButton as component };
4
- export namespace argTypes {
5
- namespace value {
6
- let defaultValue: boolean;
7
- let options: boolean[];
8
- }
9
- }
10
- }
11
- export default _default;
12
- export namespace toggleButton {
13
- namespace args {
14
- let value_1: boolean;
15
- export { value_1 as value };
16
- export let labelOn: string;
17
- export let labelOff: string;
18
- export let disabled: boolean;
19
- export function onChange(): void;
20
- }
21
- }
22
- import ToggleButton from '../components/toggleButton';
@@ -1,8 +0,0 @@
1
- export function getSizeStyle(size: any): {
2
- iconSize: string;
3
- padding: string;
4
- };
5
- declare namespace _default {
6
- export { getSizeStyle };
7
- }
8
- export default _default;
@@ -1,47 +0,0 @@
1
- export function getFilledPillButtonTheme(theme: any, disabled: any, style: any): {
2
- color: any;
3
- bgColor: any;
4
- hoverColor: any;
5
- hoverBgColor: any;
6
- };
7
- export function getOutlinePillButtonTheme(theme: any, disabled: any, style: any): {
8
- color: any;
9
- bgColor: any;
10
- hoverColor: any;
11
- hoverBgColor: any;
12
- };
13
- export function getPrimaryIconButtonTheme(theme: any, isActive: any, isDisabled: any): {
14
- color: any;
15
- hoverColor: any;
16
- };
17
- export function getSecondaryIconButtonTheme(theme: any, isActive: any, isDisabled: any): {
18
- color: any;
19
- hoverColor: any;
20
- };
21
- export function getIconWithTextButtonTheme(theme: any, isActive: any, isDisabled: any): {
22
- color: any;
23
- hoverColor: any;
24
- };
25
- export function getTextButtonTheme(theme: any, style: any): {
26
- color: any;
27
- hoverColor: any;
28
- };
29
- export function getDisabledTextButtonTheme(theme: any): {
30
- color: any;
31
- hoverColor: any;
32
- };
33
- export function getActiveTextButtonTheme(theme: any, style: any): {
34
- color: any;
35
- hoverColor: any;
36
- };
37
- declare namespace _default {
38
- export { getFilledPillButtonTheme };
39
- export { getOutlinePillButtonTheme };
40
- export { getPrimaryIconButtonTheme };
41
- export { getSecondaryIconButtonTheme };
42
- export { getIconWithTextButtonTheme };
43
- export { getTextButtonTheme };
44
- export { getDisabledTextButtonTheme };
45
- export { getActiveTextButtonTheme };
46
- }
47
- export default _default;
@@ -1,33 +0,0 @@
1
- export default ArticleCard;
2
- declare function ArticleCard({ title, description, date, image, category, size, isBookmarked, toggleBookmark, releaseBranch, showIsBookmarked, style, slug, }: {
3
- title?: string;
4
- description?: string;
5
- date?: string;
6
- image?: {};
7
- category?: string;
8
- size?: "S";
9
- isBookmarked?: boolean;
10
- toggleBookmark: any;
11
- releaseBranch?: any;
12
- showIsBookmarked?: boolean;
13
- style?: any;
14
- slug?: string;
15
- }): JSX.Element;
16
- declare namespace ArticleCard {
17
- export namespace propTypes {
18
- export let title: any;
19
- export let description: any;
20
- export let date: any;
21
- export let image: any;
22
- export let category: any;
23
- export let size: any;
24
- export let isBookmarked: any;
25
- export let toggleBookmark: any;
26
- export { BRANCH_PROP_TYPES as releaseBranch };
27
- export let showIsBookmarked: any;
28
- export let style: any;
29
- export let slug: any;
30
- }
31
- export { Size };
32
- }
33
- import { Size } from '../../shared-enum';
@@ -1,14 +0,0 @@
1
- export default Dialog;
2
- declare function Dialog({ text, size, ...props }: {
3
- [x: string]: any;
4
- text?: string;
5
- size?: "S";
6
- }): JSX.Element;
7
- declare namespace Dialog {
8
- export namespace propTypes {
9
- let text: any;
10
- let size: any;
11
- }
12
- export { Size };
13
- }
14
- import { Size } from '../../shared-enum';
@@ -1,25 +0,0 @@
1
- export default ShortStory;
2
- declare function ShortStory({ title, date, image, category, size, releaseBranch, style, slug, }: {
3
- title?: string;
4
- date?: string;
5
- image?: {};
6
- category?: string;
7
- size?: "S";
8
- releaseBranch?: any;
9
- style?: any;
10
- slug?: string;
11
- }): JSX.Element;
12
- declare namespace ShortStory {
13
- export namespace propTypes {
14
- export let title: any;
15
- export let date: any;
16
- export let image: any;
17
- export let category: any;
18
- export let size: any;
19
- export { BRANCH_PROP_TYPES as releaseBranch };
20
- export let style: any;
21
- export let slug: any;
22
- }
23
- export { Size };
24
- }
25
- import { Size } from '../../shared-enum';
@@ -1,10 +0,0 @@
1
- declare namespace _default {
2
- export { Dialog };
3
- export { ArticleCard };
4
- export { ShortStory };
5
- }
6
- export default _default;
7
- import Dialog from './components/dialog';
8
- import ArticleCard from './components/article-card';
9
- import ShortStory from './components/short-story';
10
- export { Dialog, ArticleCard, ShortStory };
@@ -1,30 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { ArticleCard as component };
4
- export namespace argTypes {
5
- export { BRANCH_STORYBOOK_ARG_TYPE as releaseBranch };
6
- export { SIZE_STORYBOOK_ARG_TYPE as size };
7
- }
8
- }
9
- export default _default;
10
- export namespace article {
11
- function render(args: any): JSX.Element;
12
- namespace args {
13
- export let size: "L";
14
- let title_1: string;
15
- export { title_1 as title };
16
- export let description: string;
17
- export let category: string;
18
- export let date: string;
19
- export namespace image {
20
- let src: string;
21
- let alt: string;
22
- }
23
- export let releaseBranch: any;
24
- export let isBookmarked: boolean;
25
- export let showIsBookmarked: boolean;
26
- }
27
- }
28
- import ArticleCard from '../components/article-card';
29
- import { BRANCH_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
30
- import { SIZE_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -1,23 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Dialog as component };
4
- export namespace argTypes {
5
- export { SIZE_STORYBOOK_ARG_TYPE as size };
6
- }
7
- }
8
- export default _default;
9
- export namespace dialog {
10
- function render(args: any): JSX.Element;
11
- namespace args {
12
- let text: string;
13
- let size: "S";
14
- }
15
- namespace parameters {
16
- namespace backgrounds {
17
- let _default: string;
18
- export { _default as default };
19
- }
20
- }
21
- }
22
- import Dialog from '../components/dialog';
23
- import { SIZE_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -1,37 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { ShortStory as component };
4
- export namespace argTypes {
5
- export { BRANCH_STORYBOOK_ARG_TYPE as releaseBranch };
6
- export { SIZE_STORYBOOK_ARG_TYPE as size };
7
- export let style: {
8
- defaultValue: any;
9
- options: any[];
10
- control: {
11
- type: string;
12
- };
13
- };
14
- }
15
- }
16
- export default _default;
17
- export namespace shortStory {
18
- function render(args: any): JSX.Element;
19
- namespace args {
20
- export let size: "L";
21
- let title_1: string;
22
- export { title_1 as title };
23
- export let category: string;
24
- export let date: string;
25
- export namespace image {
26
- let src: string;
27
- let alt: string;
28
- }
29
- export let releaseBranch: any;
30
- let style_1: any;
31
- export { style_1 as style };
32
- export let slug: string;
33
- }
34
- }
35
- import ShortStory from '../components/short-story';
36
- import { BRANCH_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
37
- import { SIZE_STORYBOOK_ARG_TYPE } from '../../storybook/constants';
@@ -1,21 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Checkbox as component };
4
- export namespace argTypes {
5
- namespace value {
6
- let defaultValue: boolean;
7
- let options: boolean[];
8
- }
9
- }
10
- }
11
- export default _default;
12
- export namespace checkbox {
13
- namespace args {
14
- export let label: string;
15
- let value_1: boolean;
16
- export { value_1 as value };
17
- export let disabled: boolean;
18
- export function onChange(e: any): void;
19
- }
20
- }
21
- import Checkbox from '.';
@@ -1,16 +0,0 @@
1
- export function Checkbox({ value, label, disabled, onChange, ...props }: {
2
- [x: string]: any;
3
- value?: boolean;
4
- label?: string;
5
- disabled?: boolean;
6
- onChange?: () => void;
7
- }): JSX.Element;
8
- export namespace Checkbox {
9
- namespace propTypes {
10
- let value: any;
11
- let label: any;
12
- let disabled: any;
13
- let onChange: any;
14
- }
15
- }
16
- export default Checkbox;
@@ -1,63 +0,0 @@
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: any[];
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: any;
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
- }
@@ -1,25 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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
- }
package/lib/divider.d.ts DELETED
@@ -1,15 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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';
@@ -1,10 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- export const Style: Readonly<{
2
- DEFAULT: "default";
3
- PENCIL: "pencil";
4
- UNDER_CONSTRUCTION: "under_construction";
5
- }>;