-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.js
113 lines (110 loc) · 3.65 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* eslint import/order: ["error", {"alphabetize": {"order": "asc", "caseInsensitive": true}}] */
// inject imports after this comment and alphabetize them
import Attribution from "./src/components/attribution";
import Badge from "./src/components/badge";
import BotChallengeProtection from "./src/components/bot-challenge-protection";
import Button from "./src/components/button";
import Carousel from "./src/components/carousel";
import Conditional from "./src/components/conditional";
import Date from "./src/components/date";
import Details from "./src/components/details";
import Divider from "./src/components/divider";
import Grid from "./src/components/grid";
import Heading from "./src/components/headings/heading";
import HeadingSection from "./src/components/headings/section";
import Icon from "./src/components/icon";
import Image from "./src/components/image";
import Input from "./src/components/input";
import Join from "./src/components/join";
import LazyLoad from "./src/components/lazy-load";
import Link from "./src/components/link";
import MediaItem from "./src/components/media-item";
import MetaData from "./src/components/meta-data";
import Overline from "./src/components/overline";
import Paragraph from "./src/components/paragraph";
import Picture from "./src/components/picture";
import Pill from "./src/components/pill";
import Price from "./src/components/price";
import Separator from "./src/components/separator";
import Stack from "./src/components/stack";
import Video from "./src/components/video";
import EventEmitter from "./src/utils/event-emitter";
import formatAuthors from "./src/utils/format-authors";
import formatCredits from "./src/utils/format-credits";
import formatPowaVideoEmbed from "./src/utils/format-powa-video-embed";
import formatSocialURL from "./src/utils/format-social-url";
import formatURL from "./src/utils/format-url";
import getAspectRatio from "./src/utils/get-aspect-ratio";
// the following are ordered by dependency
import getFocalFromANS from "./src/utils/get-focal-from-ans";
import getImageFromANS from "./src/utils/get-image-from-ans";
import getManualImageID from "./src/utils/get-manual-image-id";
import getPromoType from "./src/utils/get-promo-type";
import getVideoFromANS from "./src/utils/get-video-from-ans";
import handleFetchError from "./src/utils/handle-fetch-error";
import handleRedirect from "./src/utils/handle-redirect";
import useIdentity from "./src/utils/hooks/use-identity";
import useInterval from "./src/utils/hooks/use-interval";
import usePhrases from "./src/utils/hooks/use-phrases";
import useRecaptcha from "./src/utils/hooks/use-reCaptcha";
import useSales from "./src/utils/hooks/use-sales";
import imageANSToImageSrc from "./src/utils/image-ans-to-image-src";
import isServerSide from "./src/utils/is-server-side";
import { localizeDate, localizeDateTime } from "./src/utils/localize-date";
import serialJoin from "./src/utils/serial-join";
import signImagesInANSObject from "./src/utils/sign-images-in-ans-object";
export {
Attribution,
Badge,
BotChallengeProtection,
Button,
Carousel,
Conditional,
Date,
Details,
Divider,
EventEmitter,
formatAuthors,
formatCredits,
formatPowaVideoEmbed,
formatSocialURL,
formatURL,
getAspectRatio,
getFocalFromANS,
getImageFromANS,
getManualImageID,
getPromoType,
getVideoFromANS,
Grid,
handleFetchError,
handleRedirect,
Heading,
HeadingSection,
Icon,
Image,
imageANSToImageSrc,
Input,
isServerSide,
Join,
LazyLoad,
Link,
localizeDate,
localizeDateTime,
MediaItem,
MetaData,
Overline,
Paragraph,
Picture,
Pill,
Price,
Separator,
serialJoin,
signImagesInANSObject,
Stack,
useIdentity,
useInterval,
usePhrases,
useRecaptcha,
useSales,
Video,
};