@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,200 +0,0 @@
1
- declare namespace _default {
2
- export { TOCManager as Manager };
3
- export namespace React {
4
- export { Anchor };
5
- export { TableOfContents };
6
- }
7
- }
8
- export default _default;
9
- /**
10
- * TOCManager is a bridge between `Anchor` and `TableOfContents`.
11
- * It provides APIs to make them communicate with each others.
12
- * For instances, `TOCManager` provides `Anchor`s for `TableOfContents`,
13
- * hence, `TableOfContents` could know how to render correspoding labels and
14
- * know how to handle those labels clicked(scroll to that `Anchor`).
15
- */
16
- declare class TOCManager {
17
- static position: {
18
- above: string;
19
- below: string;
20
- inside: string;
21
- invisible: string;
22
- };
23
- /**
24
- * @constructs
25
- * @param {Object} props
26
- * @param {Anchor[]} [props.anchors=[]] - anchors of table of contents
27
- * @param {Anchor} [props.highlightAnchor=null] - it indicates which anchor is entering the viewport and should be highlighted
28
- * @param {TableOfContents} [props.toc=null] - table of contents
29
- * @param {boolean} [props.toStopAutoUpdateHighlightAnchor=false] - it stops automatically updating highlight anchor
30
- */
31
- constructor({ anchors, highlightAnchor, toc, toStopAutoUpdateHighlightAnchor, }?: {
32
- anchors?: Anchor[];
33
- highlightAnchor?: Anchor;
34
- toc?: TableOfContents;
35
- toStopAutoUpdateHighlightAnchor?: boolean;
36
- });
37
- _anchors: Anchor[];
38
- _highlightAnchor: Anchor;
39
- _toc: TableOfContents;
40
- _toStopAutoUpdateHighlightAnchor: boolean;
41
- /**
42
- * use `Array.concat` to add `Anchor` into array
43
- *
44
- * @method
45
- * @param {Anchor} anchor - an instance of `Anchor`
46
- * @returns
47
- */
48
- addAnchor(anchor: Anchor): void;
49
- /**
50
- * Re-render `TableOfContents` if needed.
51
- * Use debounce for optimizing rendering performance.
52
- * @returns
53
- */
54
- renderTOC: any;
55
- /**
56
- * Update highlight anchor.
57
- * Use debounce for optimizing rendering performance.
58
- * @returns
59
- */
60
- updateHighlightAnchor: any;
61
- /**
62
- * This is a setter function.
63
- * It indicates which anchor is entering the viewport
64
- * and should be highlighted in the table of contents.
65
- * @method
66
- * @param {Anchor} anchor - an instance of `Anchor`
67
- * @returns
68
- */
69
- set highlightAnchor(anchor: Anchor);
70
- /**
71
- * This a getter function.
72
- * @method
73
- * @return {Anchor} - the anchor is highlighted
74
- */
75
- get highlightAnchor(): Anchor;
76
- /**
77
- * Sort anchors by the distance to viewport top in ascending order.
78
- * @param {Anchor[]} anchors
79
- * @returns {Anchor[]}
80
- */
81
- sortAnchorsByViewportTop(anchors: Anchor[]): Anchor[];
82
- /**
83
- * Use memoize to improve performance
84
- */
85
- memoizeSortAnchorsByViewportTop: any;
86
- /**
87
- * This is a setter function.
88
- * @method
89
- * @return {undefined}
90
- */
91
- set anchors(anchors: Anchor[]);
92
- /**
93
- * This is a getter function.
94
- * @method
95
- * @returns {Anchor[]}
96
- */
97
- get anchors(): Anchor[];
98
- /**
99
- * This is a setter function.
100
- * @method
101
- * @returns
102
- */
103
- set toc(toc: TableOfContents);
104
- /**
105
- * This is a getter function.
106
- * @method
107
- * @returns {TableOfContents}
108
- */
109
- get toc(): TableOfContents;
110
- /**
111
- * This is a setter function.
112
- * @method
113
- * @returns
114
- */
115
- set toStopAutoUpdateHighlightAnchor(toStopAutoUpdateHighlightAnchor: boolean);
116
- /**
117
- * This is a getter function.
118
- * @method
119
- * @returns {boolean}
120
- */
121
- get toStopAutoUpdateHighlightAnchor(): boolean;
122
- }
123
- declare class Anchor {
124
- static propTypes: {
125
- className: any;
126
- children: any;
127
- manager: any;
128
- id: any;
129
- label: any;
130
- bottomOffset: any;
131
- topOffset: any;
132
- };
133
- static defaultProps: {
134
- className: string;
135
- bottomOffset: string;
136
- topOffset: string;
137
- };
138
- constructor(props: any);
139
- _ref: any;
140
- getViewportTop: any;
141
- handleOnPositionChange: any;
142
- currentPosition: string;
143
- /**
144
- * @returns {number} - the distance between the top edge of anchor and the top of window
145
- */
146
- _getViewportTop(): number;
147
- /**
148
- * @param {Object} [posObj={}]
149
- * @param {string} [posObj.currentPosition=''] - it could be one of
150
- * Waypoint.below, Waypoint.above, Waypoint.inside and Waypoint.invisible
151
- *
152
- * @returns
153
- */
154
- _handleOnPositionChange(posObj?: {
155
- currentPosition?: string;
156
- }): void;
157
- /**
158
- * This is a getter function.
159
- * @method
160
- * @returns {string} - id of anchor
161
- */
162
- get anchorID(): string;
163
- /**
164
- * This is a getter function.
165
- * @method
166
- * @returns {string} - label of anchor
167
- */
168
- get anchorLable(): string;
169
- render(): JSX.Element;
170
- }
171
- declare class TableOfContents {
172
- static propTypes: {
173
- manager: any;
174
- /**
175
- * @callback
176
- * @param {Anchor[]} anchors
177
- * @param {?Anchor} highlightAnchor
178
- * @param {Function} handleAnchorClick - callback function for handling clicking anchor
179
- */
180
- render: any;
181
- scrollDuration: any;
182
- };
183
- constructor(props: any);
184
- state: {
185
- highlightAnchor: any;
186
- };
187
- setHighlightAnchor: any;
188
- handleAnchorClick: any;
189
- /**
190
- * @param {Anchor} anchor - anchor to highlight
191
- * @returns
192
- */
193
- _setHighlightAnchor(anchor: Anchor): void;
194
- /**
195
- * @param {string} anchorID - id of clicked anchor
196
- * @returns
197
- */
198
- _handleAnchorClick(anchorID: string, callback: any): void;
199
- render(): any;
200
- }
@@ -1,4 +0,0 @@
1
- export const TYPE_FONT_FAMILY: Readonly<{
2
- default: any;
3
- article: any;
4
- }>;
@@ -1,9 +0,0 @@
1
- export const Type: Readonly<{
2
- DEFAULT: "default";
3
- ARTICLE: "article";
4
- }>;
5
- export const Weight: Readonly<{
6
- EXTRA_LIGHT: "extraLight";
7
- NORMAL: "normal";
8
- BOLD: "bold";
9
- }>;
@@ -1,60 +0,0 @@
1
- export function H1({ text, type, className, ...props }: {
2
- [x: string]: any;
3
- text?: string;
4
- type?: "default";
5
- className?: string;
6
- }): JSX.Element;
7
- export namespace H1 {
8
- export let displayName: string;
9
- export namespace propTypes {
10
- let text: any;
11
- let type: any;
12
- let className: any;
13
- }
14
- export { Type };
15
- }
16
- export function H1({ text, type, className, ...props }: {
17
- [x: string]: any;
18
- text?: string;
19
- type?: "default";
20
- className?: string;
21
- }): JSX.Element;
22
- export namespace H1 { }
23
- export function H1({ text, type, className, ...props }: {
24
- [x: string]: any;
25
- text?: string;
26
- type?: "default";
27
- className?: string;
28
- }): JSX.Element;
29
- export namespace H1 { }
30
- export function H1({ text, type, className, ...props }: {
31
- [x: string]: any;
32
- text?: string;
33
- type?: "default";
34
- className?: string;
35
- }): JSX.Element;
36
- export namespace H1 { }
37
- export function H1({ text, type, className, ...props }: {
38
- [x: string]: any;
39
- text?: string;
40
- type?: "default";
41
- className?: string;
42
- }): JSX.Element;
43
- export namespace H1 { }
44
- export function H1({ text, type, className, ...props }: {
45
- [x: string]: any;
46
- text?: string;
47
- type?: "default";
48
- className?: string;
49
- }): JSX.Element;
50
- export namespace H1 { }
51
- declare namespace _default {
52
- export { H1 };
53
- export { H2 };
54
- export { H3 };
55
- export { H4 };
56
- export { H5 };
57
- export { H6 };
58
- }
59
- export default _default;
60
- import { Type } from './enums';
@@ -1,49 +0,0 @@
1
- export function P1({ text, weight, className, children, ...props }: {
2
- [x: string]: any;
3
- text?: string;
4
- weight?: "normal";
5
- className?: string;
6
- children: any;
7
- }): JSX.Element;
8
- export namespace P1 {
9
- export let displayName: string;
10
- export namespace propTypes {
11
- let text: any;
12
- let weight: any;
13
- let className: any;
14
- let children: any;
15
- }
16
- export { Weight };
17
- }
18
- export function P1({ text, weight, className, children, ...props }: {
19
- [x: string]: any;
20
- text?: string;
21
- weight?: "normal";
22
- className?: string;
23
- children: any;
24
- }): JSX.Element;
25
- export namespace P1 { }
26
- export function P1({ text, weight, className, children, ...props }: {
27
- [x: string]: any;
28
- text?: string;
29
- weight?: "normal";
30
- className?: string;
31
- children: any;
32
- }): JSX.Element;
33
- export namespace P1 { }
34
- export function P1({ text, weight, className, children, ...props }: {
35
- [x: string]: any;
36
- text?: string;
37
- weight?: "normal";
38
- className?: string;
39
- children: any;
40
- }): JSX.Element;
41
- export namespace P1 { }
42
- declare namespace _default {
43
- export { P1 };
44
- export { P2 };
45
- export { P3 };
46
- export { P4 };
47
- }
48
- export default _default;
49
- import { Weight } from './enums';
@@ -1,112 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { H1 as component };
4
- export namespace argTypes {
5
- let type: {
6
- defaultValue: any;
7
- options: any[];
8
- control: {
9
- type: string;
10
- };
11
- };
12
- }
13
- }
14
- export default _default;
15
- export namespace h1 {
16
- namespace args {
17
- export { defaultText as text };
18
- export { defaultType as type };
19
- }
20
- namespace parameters {
21
- namespace controls {
22
- let exclude: string[];
23
- }
24
- }
25
- }
26
- export namespace h2 {
27
- export function render(args: any): JSX.Element;
28
- export namespace args_1 {
29
- export { defaultText as text };
30
- export { defaultType as type };
31
- }
32
- export { args_1 as args };
33
- export namespace parameters_1 {
34
- export namespace controls_1 {
35
- let exclude_1: string[];
36
- export { exclude_1 as exclude };
37
- }
38
- export { controls_1 as controls };
39
- }
40
- export { parameters_1 as parameters };
41
- }
42
- export namespace h3 {
43
- export function render_1(args: any): JSX.Element;
44
- export { render_1 as render };
45
- export namespace args_2 {
46
- export { defaultText as text };
47
- export { defaultType as type };
48
- }
49
- export { args_2 as args };
50
- export namespace parameters_2 {
51
- export namespace controls_2 {
52
- let exclude_2: string[];
53
- export { exclude_2 as exclude };
54
- }
55
- export { controls_2 as controls };
56
- }
57
- export { parameters_2 as parameters };
58
- }
59
- export namespace h4 {
60
- export function render_2(args: any): JSX.Element;
61
- export { render_2 as render };
62
- export namespace args_3 {
63
- export { defaultText as text };
64
- export { defaultType as type };
65
- }
66
- export { args_3 as args };
67
- export namespace parameters_3 {
68
- export namespace controls_3 {
69
- let exclude_3: string[];
70
- export { exclude_3 as exclude };
71
- }
72
- export { controls_3 as controls };
73
- }
74
- export { parameters_3 as parameters };
75
- }
76
- export namespace h5 {
77
- export function render_3(args: any): JSX.Element;
78
- export { render_3 as render };
79
- export namespace args_4 {
80
- export { defaultText as text };
81
- export { defaultType as type };
82
- }
83
- export { args_4 as args };
84
- export namespace parameters_4 {
85
- export namespace controls_4 {
86
- let exclude_4: string[];
87
- export { exclude_4 as exclude };
88
- }
89
- export { controls_4 as controls };
90
- }
91
- export { parameters_4 as parameters };
92
- }
93
- export namespace h6 {
94
- export function render_4(args: any): JSX.Element;
95
- export { render_4 as render };
96
- export namespace args_5 {
97
- export { defaultText as text };
98
- export { defaultType as type };
99
- }
100
- export { args_5 as args };
101
- export namespace parameters_5 {
102
- export namespace controls_5 {
103
- let exclude_5: string[];
104
- export { exclude_5 as exclude };
105
- }
106
- export { controls_5 as controls };
107
- }
108
- export { parameters_5 as parameters };
109
- }
110
- import { H1 } from '../headline';
111
- declare const defaultText: "\u6A19\u984C\u300C\u6A19\u984C\u300D\uFF1A\u6A19\u984C\uFF0C\u300A\u6A19\u984C\u300B\u6A19\u984CEnglish\u6A19\u984C123\u6A19\u984C\uFF1F";
112
- declare const defaultType: "default";
@@ -1,78 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { P1 as component };
4
- export namespace argTypes {
5
- let weight: {
6
- defaultValue: any;
7
- options: any[];
8
- control: {
9
- type: string;
10
- };
11
- };
12
- }
13
- }
14
- export default _default;
15
- export namespace p1 {
16
- namespace args {
17
- export { defaultText as text };
18
- export { defaultWeight as weight };
19
- }
20
- namespace parameters {
21
- namespace controls {
22
- let exclude: string[];
23
- }
24
- }
25
- }
26
- export namespace p2 {
27
- export function render(args: any): JSX.Element;
28
- export namespace args_1 {
29
- export { defaultText as text };
30
- export { defaultWeight as weight };
31
- }
32
- export { args_1 as args };
33
- export namespace parameters_1 {
34
- export namespace controls_1 {
35
- let exclude_1: string[];
36
- export { exclude_1 as exclude };
37
- }
38
- export { controls_1 as controls };
39
- }
40
- export { parameters_1 as parameters };
41
- }
42
- export namespace p3 {
43
- export function render_1(args: any): JSX.Element;
44
- export { render_1 as render };
45
- export namespace args_2 {
46
- export { defaultText as text };
47
- export { defaultWeight as weight };
48
- }
49
- export { args_2 as args };
50
- export namespace parameters_2 {
51
- export namespace controls_2 {
52
- let exclude_2: string[];
53
- export { exclude_2 as exclude };
54
- }
55
- export { controls_2 as controls };
56
- }
57
- export { parameters_2 as parameters };
58
- }
59
- export namespace p4 {
60
- export function render_2(args: any): JSX.Element;
61
- export { render_2 as render };
62
- export namespace args_3 {
63
- export { defaultText as text };
64
- export { defaultWeight as weight };
65
- }
66
- export { args_3 as args };
67
- export namespace parameters_3 {
68
- export namespace controls_3 {
69
- let exclude_3: string[];
70
- export { exclude_3 as exclude };
71
- }
72
- export { controls_3 as controls };
73
- }
74
- export { parameters_3 as parameters };
75
- }
76
- import { P1 } from '../paragraph';
77
- declare const defaultText: "\u5167\u6587\u300C\u5167\u6587\u300D\uFF1A\u5167\u6587\uFF0C\u300A\u5167\u6587\u300B\u5167\u6587English\u5167\u6587123\u5167\u6587\uFF1F";
78
- declare const defaultWeight: "normal";
@@ -1,9 +0,0 @@
1
- declare namespace _default {
2
- export { fontFaces };
3
- export { fontGCSFiles };
4
- }
5
- export default _default;
6
- declare const fontFaces: {
7
- [x: number]: any;
8
- };
9
- declare let fontGCSFiles: any[];
@@ -1,13 +0,0 @@
1
- export default TitleTab;
2
- declare function TitleTab({ title, tabs, activeTabIndex }: {
3
- title?: string;
4
- tabs?: any[];
5
- activeTabIndex?: number;
6
- }): JSX.Element;
7
- declare namespace TitleTab {
8
- namespace propTypes {
9
- let title: any;
10
- let tabs: any;
11
- let activeTabIndex: any;
12
- }
13
- }
@@ -1,11 +0,0 @@
1
- export default Title1;
2
- declare function Title1({ title, subtitle }: {
3
- title?: string;
4
- subtitle?: string;
5
- }): JSX.Element;
6
- declare namespace Title1 {
7
- namespace propTypes {
8
- let title: any;
9
- let subtitle: any;
10
- }
11
- }
@@ -1,13 +0,0 @@
1
- export default Title2;
2
- declare function Title2({ title, subtitle, renderButton }: {
3
- title?: string;
4
- subtitle?: string;
5
- renderButton: any;
6
- }): JSX.Element;
7
- declare namespace Title2 {
8
- namespace propTypes {
9
- let title: any;
10
- let subtitle: any;
11
- let renderButton: any;
12
- }
13
- }
@@ -1,10 +0,0 @@
1
- declare namespace _default {
2
- export { Title1 };
3
- export { Title2 };
4
- export { TitleTab };
5
- }
6
- export default _default;
7
- import Title1 from './components/title1';
8
- import Title2 from './components/title2';
9
- import TitleTab from './components/tab';
10
- export { Title1, Title2, TitleTab };
@@ -1,43 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Tab as component };
4
- }
5
- export default _default;
6
- export namespace tab {
7
- namespace args {
8
- let title_1: string;
9
- export { title_1 as title };
10
- export let tabs: {
11
- text: string;
12
- isExternal: boolean;
13
- link: string;
14
- }[];
15
- }
16
- }
17
- export namespace humanRightsTab {
18
- export namespace args_1 {
19
- let title_2: string;
20
- export { title_2 as title };
21
- let tabs_1: {
22
- text: string;
23
- isExternal: boolean;
24
- link: string;
25
- }[];
26
- export { tabs_1 as tabs };
27
- }
28
- export { args_1 as args };
29
- }
30
- export namespace animalTab {
31
- export namespace args_2 {
32
- let title_3: string;
33
- export { title_3 as title };
34
- let tabs_2: {
35
- text: string;
36
- isExternal: boolean;
37
- link: string;
38
- }[];
39
- export { tabs_2 as tabs };
40
- }
41
- export { args_2 as args };
42
- }
43
- import Tab from '../components/tab';
@@ -1,29 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Title1 as component };
4
- }
5
- export default _default;
6
- export namespace bar {
7
- namespace args {
8
- let title_1: string;
9
- export { title_1 as title };
10
- export let subtitle: string;
11
- }
12
- }
13
- export namespace tagBar {
14
- export namespace args_1 {
15
- let title_2: string;
16
- export { title_2 as title };
17
- }
18
- export { args_1 as args };
19
- }
20
- export namespace bookmarkBar {
21
- export namespace args_2 {
22
- let title_3: string;
23
- export { title_3 as title };
24
- let subtitle_1: string;
25
- export { subtitle_1 as subtitle };
26
- }
27
- export { args_2 as args };
28
- }
29
- import Title1 from '../components/title1';
@@ -1,29 +0,0 @@
1
- declare namespace _default {
2
- export let title: string;
3
- export { Title2 as component };
4
- export namespace argTypes {
5
- namespace showButton {
6
- let defaultValue: boolean;
7
- namespace control {
8
- let type: string;
9
- }
10
- }
11
- }
12
- }
13
- export default _default;
14
- export namespace title2 {
15
- function render(args: any): JSX.Element;
16
- namespace args {
17
- let title_1: string;
18
- export { title_1 as title };
19
- export let subtitle: string;
20
- let showButton_1: boolean;
21
- export { showButton_1 as showButton };
22
- }
23
- namespace parameters {
24
- namespace controls {
25
- let exclude: string[];
26
- }
27
- }
28
- }
29
- import Title2 from '../components/title2';
@@ -1,6 +0,0 @@
1
- /**
2
- * @param { string } originalUrl - The original url
3
- * @param { Object } params - search params to be set
4
- * @return { string } originalUrl with search params
5
- */
6
- export default function linkWithParams(originalUrl: string, params: any): string;