Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amp-react-components

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amp-react-components - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

es/components/ComponentScript.js

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## 1.2.0 (2019-10-14)
* ci: update rollup condif ([e41bcae](https://github.com/danhuang1202/amp-react-components/commit/e41bcae))
* feat: saperate components directory ([4d2aba6](https://github.com/danhuang1202/amp-react-components/commit/4d2aba6))
* docs: update github action link ([5c9ce76](https://github.com/danhuang1202/amp-react-components/commit/5c9ce76))
* docs: update readme heading ([3f07e33](https://github.com/danhuang1202/amp-react-components/commit/3f07e33))
## 1.1.0 (2019-10-14)

@@ -2,0 +9,0 @@

23

config/rollup.config.js

@@ -34,6 +34,6 @@ import commonjs from 'rollup-plugin-commonjs'

const componentPath = path.join(__dirname, '../src/components/')
fs.readdirSync(componentPath).forEach(filename => {
const codegenPath = path.join(__dirname, '../src/components/codegen/')
fs.readdirSync(codegenPath).forEach(filename => {
entries.push({
input: `src/components/${filename}`,
input: `src/components/codegen/${filename}`,
output: [

@@ -52,2 +52,19 @@ {

const scriptPath = path.join(__dirname, '../src/components/script/')
fs.readdirSync(scriptPath).forEach(filename => {
entries.push({
input: `src/components/script/${filename}`,
output: [
{
dir: `lib/components`,
format: 'cjs'
},
{
dir: `es/components`,
format: 'es'
}
]
})
})
const options = entries.map(entry => {

@@ -54,0 +71,0 @@ const { input, output } = entry

4

es/components/AmpAnimation.js
import React from 'react';
function AmpScript(_ref) {
function ComponentScript(_ref) {
var tag = _ref.tag,

@@ -19,3 +19,3 @@ attribute = _ref.attribute,

animation = _ref.animation;
return React.createElement(AmpScript, {
return React.createElement(ComponentScript, {
tag: "amp-animation",

@@ -22,0 +22,0 @@ attribute: {

import React from 'react';
function AmpScript(_ref) {
function ComponentScript(_ref) {
var tag = _ref.tag,

@@ -19,3 +19,3 @@ attribute = _ref.attribute,

state = _ref.state;
return React.createElement(AmpScript, {
return React.createElement(ComponentScript, {
tag: "amp-state",

@@ -22,0 +22,0 @@ attribute: {

@@ -165,28 +165,2 @@ import React from 'react';

function AmpScript(_ref) {
var tag = _ref.tag,
attribute = _ref.attribute,
data = _ref.data;
var script = React.createElement('script', {
type: 'application/json',
dangerouslySetInnerHTML: {
__html: JSON.stringify(data)
}
});
return React.createElement(tag, attribute, script);
}
function AmpAnimation(_ref) {
var id = _ref.id,
animation = _ref.animation;
return React.createElement(AmpScript, {
tag: "amp-animation",
attribute: {
id: id,
layout: 'nodisplay'
},
data: animation
});
}
function AmpApesterMedia(_ref) {

@@ -867,3 +841,3 @@ var className = _ref.className,

function AmpScript$1(_ref) {
function AmpScript(_ref) {
var className = _ref.className,

@@ -949,14 +923,2 @@ props = _objectWithoutProperties(_ref, ["className"]);

function AmpState(_ref) {
var id = _ref.id,
state = _ref.state;
return React.createElement(AmpScript, {
tag: "amp-state",
attribute: {
id: id
},
data: state
});
}
function AmpStickyAd(_ref) {

@@ -1205,2 +1167,40 @@ var className = _ref.className,

export { Amp3dGltf, Amp3qPlayer, AmpAccess, AmpAccessLaterpay, AmpAccessPoool, AmpAccordion, AmpActionMacro, AmpAd, AmpAdExit, AmpAddthis, AmpAnalytics, AmpAnim, AmpAnimation, AmpApesterMedia, AmpAppBanner, AmpAudio, AmpAutoAds, AmpAutocomplete, AmpBaseCarousel, AmpBeopinion, AmpBodymovinAnimation, AmpBridPlayer, AmpBrightcove, AmpBysideContent, AmpCallTracking, AmpCarousel, AmpConnatixPlayer, AmpConsent, AmpDailymotion, AmpDateCountdown, AmpDateDisplay, AmpDatePicker, AmpDelightPlayer, AmpDynamicCssClasses, AmpEmbedlyCard, AmpExperiment, AmpFacebook, AmpFacebookComments, AmpFacebookLike, AmpFacebookPage, AmpFitText, AmpFont, AmpForm, AmpFxCollection, AmpFxFlyingCarpet, AmpGeo, AmpGfycat, AmpGist, AmpGoogleDocumentEmbed, AmpGoogleVrviewImage, AmpHulu, AmpIframe, AmpImaVideo, AmpImageLightbox, AmpImageSlider, AmpImg, AmpImgur, AmpInputmask, AmpInstagram, AmpInstallServiceworker, AmpIzlesene, AmpJwplayer, AmpKalturaPlayer, AmpLightbox, AmpLightboxGallery, AmpLinkRewriter, AmpList, AmpLiveList, AmpMathml, AmpMegaphone, AmpMinuteMediaPlayer, AmpMowplayer, AmpMustache, AmpNextPage, AmpNexxtvPlayer, AmpO2Player, AmpOoyalaPlayer, AmpOrientationObserver, AmpPanZoom, AmpPinterest, AmpPixel, AmpPlaybuzz, AmpPositionObserver, AmpPowrPlayer, AmpReachPlayer, AmpRecaptchaInput, AmpReddit, AmpRiddleQuiz, AmpScript$1 as AmpScript, AmpScript as AmpScriptTag, AmpSelector, AmpShareTracking, AmpSidebar, AmpSkimlinks, AmpSmartlinks, AmpSocialShare, AmpSoundcloud, AmpSpringboardPlayer, AmpState, AmpStickyAd, AmpStory, AmpStoryAutoAds, AmpStoryBookend, AmpStoryCtaLayer, AmpStoryGridLayer, AmpStoryPage, AmpStoryPageAttachment, AmpSubscriptions, AmpSubscriptionsGoogle, AmpTimeago, AmpTruncateText, AmpTwitter, AmpUserLocation, AmpUserNotification, AmpVideo, AmpVideoDocking, AmpVideoIframe, AmpVimeo, AmpVine, AmpViqeoPlayer, AmpVizVega, AmpVk, AmpWebPush, AmpWistiaPlayer, AmpYotpo, AmpYoutube };
function ComponentScript(_ref) {
var tag = _ref.tag,
attribute = _ref.attribute,
data = _ref.data;
var script = React.createElement('script', {
type: 'application/json',
dangerouslySetInnerHTML: {
__html: JSON.stringify(data)
}
});
return React.createElement(tag, attribute, script);
}
function AmpAnimation(_ref) {
var id = _ref.id,
animation = _ref.animation;
return React.createElement(ComponentScript, {
tag: "amp-animation",
attribute: {
id: id,
layout: 'nodisplay'
},
data: animation
});
}
function AmpState(_ref) {
var id = _ref.id,
state = _ref.state;
return React.createElement(ComponentScript, {
tag: "amp-state",
attribute: {
id: id
},
data: state
});
}
export { Amp3dGltf, Amp3qPlayer, AmpAccess, AmpAccessLaterpay, AmpAccessPoool, AmpAccordion, AmpActionMacro, AmpAd, AmpAdExit, AmpAddthis, AmpAnalytics, AmpAnim, AmpAnimation, AmpApesterMedia, AmpAppBanner, AmpAudio, AmpAutoAds, AmpAutocomplete, AmpBaseCarousel, AmpBeopinion, AmpBodymovinAnimation, AmpBridPlayer, AmpBrightcove, AmpBysideContent, AmpCallTracking, AmpCarousel, AmpConnatixPlayer, AmpConsent, AmpDailymotion, AmpDateCountdown, AmpDateDisplay, AmpDatePicker, AmpDelightPlayer, AmpDynamicCssClasses, AmpEmbedlyCard, AmpExperiment, AmpFacebook, AmpFacebookComments, AmpFacebookLike, AmpFacebookPage, AmpFitText, AmpFont, AmpForm, AmpFxCollection, AmpFxFlyingCarpet, AmpGeo, AmpGfycat, AmpGist, AmpGoogleDocumentEmbed, AmpGoogleVrviewImage, AmpHulu, AmpIframe, AmpImaVideo, AmpImageLightbox, AmpImageSlider, AmpImg, AmpImgur, AmpInputmask, AmpInstagram, AmpInstallServiceworker, AmpIzlesene, AmpJwplayer, AmpKalturaPlayer, AmpLightbox, AmpLightboxGallery, AmpLinkRewriter, AmpList, AmpLiveList, AmpMathml, AmpMegaphone, AmpMinuteMediaPlayer, AmpMowplayer, AmpMustache, AmpNextPage, AmpNexxtvPlayer, AmpO2Player, AmpOoyalaPlayer, AmpOrientationObserver, AmpPanZoom, AmpPinterest, AmpPixel, AmpPlaybuzz, AmpPositionObserver, AmpPowrPlayer, AmpReachPlayer, AmpRecaptchaInput, AmpReddit, AmpRiddleQuiz, AmpScript, AmpSelector, AmpShareTracking, AmpSidebar, AmpSkimlinks, AmpSmartlinks, AmpSocialShare, AmpSoundcloud, AmpSpringboardPlayer, AmpState, AmpStickyAd, AmpStory, AmpStoryAutoAds, AmpStoryBookend, AmpStoryCtaLayer, AmpStoryGridLayer, AmpStoryPage, AmpStoryPageAttachment, AmpSubscriptions, AmpSubscriptionsGoogle, AmpTimeago, AmpTruncateText, AmpTwitter, AmpUserLocation, AmpUserNotification, AmpVideo, AmpVideoDocking, AmpVideoIframe, AmpVimeo, AmpVine, AmpViqeoPlayer, AmpVizVega, AmpVk, AmpWebPush, AmpWistiaPlayer, AmpYotpo, AmpYoutube, ComponentScript };

@@ -7,3 +7,3 @@ 'use strict';

function AmpScript(_ref) {
function ComponentScript(_ref) {
var tag = _ref.tag,

@@ -24,3 +24,3 @@ attribute = _ref.attribute,

animation = _ref.animation;
return React.createElement(AmpScript, {
return React.createElement(ComponentScript, {
tag: "amp-animation",

@@ -27,0 +27,0 @@ attribute: {

@@ -7,3 +7,3 @@ 'use strict';

function AmpScript(_ref) {
function ComponentScript(_ref) {
var tag = _ref.tag,

@@ -24,3 +24,3 @@ attribute = _ref.attribute,

state = _ref.state;
return React.createElement(AmpScript, {
return React.createElement(ComponentScript, {
tag: "amp-state",

@@ -27,0 +27,0 @@ attribute: {

@@ -171,28 +171,2 @@ 'use strict';

function AmpScript(_ref) {
var tag = _ref.tag,
attribute = _ref.attribute,
data = _ref.data;
var script = React.createElement('script', {
type: 'application/json',
dangerouslySetInnerHTML: {
__html: JSON.stringify(data)
}
});
return React.createElement(tag, attribute, script);
}
function AmpAnimation(_ref) {
var id = _ref.id,
animation = _ref.animation;
return React.createElement(AmpScript, {
tag: "amp-animation",
attribute: {
id: id,
layout: 'nodisplay'
},
data: animation
});
}
function AmpApesterMedia(_ref) {

@@ -873,3 +847,3 @@ var className = _ref.className,

function AmpScript$1(_ref) {
function AmpScript(_ref) {
var className = _ref.className,

@@ -955,14 +929,2 @@ props = _objectWithoutProperties(_ref, ["className"]);

function AmpState(_ref) {
var id = _ref.id,
state = _ref.state;
return React.createElement(AmpScript, {
tag: "amp-state",
attribute: {
id: id
},
data: state
});
}
function AmpStickyAd(_ref) {

@@ -1211,2 +1173,40 @@ var className = _ref.className,

function ComponentScript(_ref) {
var tag = _ref.tag,
attribute = _ref.attribute,
data = _ref.data;
var script = React.createElement('script', {
type: 'application/json',
dangerouslySetInnerHTML: {
__html: JSON.stringify(data)
}
});
return React.createElement(tag, attribute, script);
}
function AmpAnimation(_ref) {
var id = _ref.id,
animation = _ref.animation;
return React.createElement(ComponentScript, {
tag: "amp-animation",
attribute: {
id: id,
layout: 'nodisplay'
},
data: animation
});
}
function AmpState(_ref) {
var id = _ref.id,
state = _ref.state;
return React.createElement(ComponentScript, {
tag: "amp-state",
attribute: {
id: id
},
data: state
});
}
exports.Amp3dGltf = Amp3dGltf;

@@ -1300,4 +1300,3 @@ exports.Amp3qPlayer = Amp3qPlayer;

exports.AmpRiddleQuiz = AmpRiddleQuiz;
exports.AmpScript = AmpScript$1;
exports.AmpScriptTag = AmpScript;
exports.AmpScript = AmpScript;
exports.AmpSelector = AmpSelector;

@@ -1339,1 +1338,2 @@ exports.AmpShareTracking = AmpShareTracking;

exports.AmpYoutube = AmpYoutube;
exports.ComponentScript = ComponentScript;
{
"name": "amp-react-components",
"version": "1.1.0",
"version": "1.2.0",
"description": "Render AMP components with React",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

# amp-react-components
[![Actions Status](https://github.com/danhuang1202/amp-react-components/workflows/Node/badge.svg)](https://github.com/danhuang1202/amp-react-components/actions)
[![Actions Status](https://github.com/danhuang1202/amp-react-components/workflows/Node/badge.svg)](https://github.com/danhuang1202/amp-react-components/actions?workflow=Node)
[![NPM version](https://img.shields.io/npm/v/amp-react-components.svg)](https://www.npmjs.com/package/amp-react-components)

@@ -45,5 +45,5 @@

```
### CSS Module
```js
## Example
- CSS Module
```css
// style.css

@@ -80,3 +80,3 @@ .img {

### Styled Components
- Styled Components
```js

@@ -108,3 +108,3 @@ import styled from 'styled-components'

### AMP Component (`AmpState`) with Script Tag
- AMP Component (`AmpState`) with Script Tag
```js

@@ -111,0 +111,0 @@ import { AmpImg, AmpState } from 'amp-react-components'

@@ -51,3 +51,3 @@ const fs = require('fs-extra')

const content = generateReactComponent(tag, component)
const filename = path.resolve(__dirname, `../src/components/${component}.tsx`)
const filename = path.resolve(__dirname, `../src/components/codegen/${component}.tsx`)
try {

@@ -61,9 +61,13 @@ fs.writeFileSync(filename, content)

function generateIndex() {
const componentPath = path.join(__dirname, '../src/components/')
const names = fs.readdirSync(componentPath).map(filename => filename.split('.')[0])
const codegenPath = path.join(__dirname, '../src/components/codegen')
const codegenFilenames = fs.readdirSync(codegenPath).map(filename => filename.split('.')[0])
const scriptPath = path.join(__dirname, '../src/components/script')
const scriptFilenames = fs.readdirSync(scriptPath).map(filename => filename.split('.')[0])
return `${names.map(name => `import ${name} from './components/${name}'
return `${codegenFilenames.map(name => `import ${name} from './components/codegen/${name}'
`).join('')}${scriptFilenames.map(name => `import ${name} from './components/script/${name}'
`).join('')}
export {${names.map(name => `
export {${codegenFilenames.map(name => `
${name},`).join('')}${scriptFilenames.map(name => `
${name}`).join(',')}

@@ -70,0 +74,0 @@ }

@@ -1,127 +0,127 @@

import Amp3dGltf from './components/Amp3dGltf';
import Amp3qPlayer from './components/Amp3qPlayer';
import AmpAccess from './components/AmpAccess';
import AmpAccessLaterpay from './components/AmpAccessLaterpay';
import AmpAccessPoool from './components/AmpAccessPoool';
import AmpAccordion from './components/AmpAccordion';
import AmpActionMacro from './components/AmpActionMacro';
import AmpAd from './components/AmpAd';
import AmpAdExit from './components/AmpAdExit';
import AmpAddthis from './components/AmpAddthis';
import AmpAnalytics from './components/AmpAnalytics';
import AmpAnim from './components/AmpAnim';
import AmpAnimation from './components/AmpAnimation';
import AmpApesterMedia from './components/AmpApesterMedia';
import AmpAppBanner from './components/AmpAppBanner';
import AmpAudio from './components/AmpAudio';
import AmpAutoAds from './components/AmpAutoAds';
import AmpAutocomplete from './components/AmpAutocomplete';
import AmpBaseCarousel from './components/AmpBaseCarousel';
import AmpBeopinion from './components/AmpBeopinion';
import AmpBodymovinAnimation from './components/AmpBodymovinAnimation';
import AmpBridPlayer from './components/AmpBridPlayer';
import AmpBrightcove from './components/AmpBrightcove';
import AmpBysideContent from './components/AmpBysideContent';
import AmpCallTracking from './components/AmpCallTracking';
import AmpCarousel from './components/AmpCarousel';
import AmpConnatixPlayer from './components/AmpConnatixPlayer';
import AmpConsent from './components/AmpConsent';
import AmpDailymotion from './components/AmpDailymotion';
import AmpDateCountdown from './components/AmpDateCountdown';
import AmpDateDisplay from './components/AmpDateDisplay';
import AmpDatePicker from './components/AmpDatePicker';
import AmpDelightPlayer from './components/AmpDelightPlayer';
import AmpDynamicCssClasses from './components/AmpDynamicCssClasses';
import AmpEmbedlyCard from './components/AmpEmbedlyCard';
import AmpExperiment from './components/AmpExperiment';
import AmpFacebook from './components/AmpFacebook';
import AmpFacebookComments from './components/AmpFacebookComments';
import AmpFacebookLike from './components/AmpFacebookLike';
import AmpFacebookPage from './components/AmpFacebookPage';
import AmpFitText from './components/AmpFitText';
import AmpFont from './components/AmpFont';
import AmpForm from './components/AmpForm';
import AmpFxCollection from './components/AmpFxCollection';
import AmpFxFlyingCarpet from './components/AmpFxFlyingCarpet';
import AmpGeo from './components/AmpGeo';
import AmpGfycat from './components/AmpGfycat';
import AmpGist from './components/AmpGist';
import AmpGoogleDocumentEmbed from './components/AmpGoogleDocumentEmbed';
import AmpGoogleVrviewImage from './components/AmpGoogleVrviewImage';
import AmpHulu from './components/AmpHulu';
import AmpIframe from './components/AmpIframe';
import AmpImaVideo from './components/AmpImaVideo';
import AmpImageLightbox from './components/AmpImageLightbox';
import AmpImageSlider from './components/AmpImageSlider';
import AmpImg from './components/AmpImg';
import AmpImgur from './components/AmpImgur';
import AmpInputmask from './components/AmpInputmask';
import AmpInstagram from './components/AmpInstagram';
import AmpInstallServiceworker from './components/AmpInstallServiceworker';
import AmpIzlesene from './components/AmpIzlesene';
import AmpJwplayer from './components/AmpJwplayer';
import AmpKalturaPlayer from './components/AmpKalturaPlayer';
import AmpLightbox from './components/AmpLightbox';
import AmpLightboxGallery from './components/AmpLightboxGallery';
import AmpLinkRewriter from './components/AmpLinkRewriter';
import AmpList from './components/AmpList';
import AmpLiveList from './components/AmpLiveList';
import AmpMathml from './components/AmpMathml';
import AmpMegaphone from './components/AmpMegaphone';
import AmpMinuteMediaPlayer from './components/AmpMinuteMediaPlayer';
import AmpMowplayer from './components/AmpMowplayer';
import AmpMustache from './components/AmpMustache';
import AmpNextPage from './components/AmpNextPage';
import AmpNexxtvPlayer from './components/AmpNexxtvPlayer';
import AmpO2Player from './components/AmpO2Player';
import AmpOoyalaPlayer from './components/AmpOoyalaPlayer';
import AmpOrientationObserver from './components/AmpOrientationObserver';
import AmpPanZoom from './components/AmpPanZoom';
import AmpPinterest from './components/AmpPinterest';
import AmpPixel from './components/AmpPixel';
import AmpPlaybuzz from './components/AmpPlaybuzz';
import AmpPositionObserver from './components/AmpPositionObserver';
import AmpPowrPlayer from './components/AmpPowrPlayer';
import AmpReachPlayer from './components/AmpReachPlayer';
import AmpRecaptchaInput from './components/AmpRecaptchaInput';
import AmpReddit from './components/AmpReddit';
import AmpRiddleQuiz from './components/AmpRiddleQuiz';
import AmpScript from './components/AmpScript';
import AmpScriptTag from './components/AmpScriptTag';
import AmpSelector from './components/AmpSelector';
import AmpShareTracking from './components/AmpShareTracking';
import AmpSidebar from './components/AmpSidebar';
import AmpSkimlinks from './components/AmpSkimlinks';
import AmpSmartlinks from './components/AmpSmartlinks';
import AmpSocialShare from './components/AmpSocialShare';
import AmpSoundcloud from './components/AmpSoundcloud';
import AmpSpringboardPlayer from './components/AmpSpringboardPlayer';
import AmpState from './components/AmpState';
import AmpStickyAd from './components/AmpStickyAd';
import AmpStory from './components/AmpStory';
import AmpStoryAutoAds from './components/AmpStoryAutoAds';
import AmpStoryBookend from './components/AmpStoryBookend';
import AmpStoryCtaLayer from './components/AmpStoryCtaLayer';
import AmpStoryGridLayer from './components/AmpStoryGridLayer';
import AmpStoryPage from './components/AmpStoryPage';
import AmpStoryPageAttachment from './components/AmpStoryPageAttachment';
import AmpSubscriptions from './components/AmpSubscriptions';
import AmpSubscriptionsGoogle from './components/AmpSubscriptionsGoogle';
import AmpTimeago from './components/AmpTimeago';
import AmpTruncateText from './components/AmpTruncateText';
import AmpTwitter from './components/AmpTwitter';
import AmpUserLocation from './components/AmpUserLocation';
import AmpUserNotification from './components/AmpUserNotification';
import AmpVideo from './components/AmpVideo';
import AmpVideoDocking from './components/AmpVideoDocking';
import AmpVideoIframe from './components/AmpVideoIframe';
import AmpVimeo from './components/AmpVimeo';
import AmpVine from './components/AmpVine';
import AmpViqeoPlayer from './components/AmpViqeoPlayer';
import AmpVizVega from './components/AmpVizVega';
import AmpVk from './components/AmpVk';
import AmpWebPush from './components/AmpWebPush';
import AmpWistiaPlayer from './components/AmpWistiaPlayer';
import AmpYotpo from './components/AmpYotpo';
import AmpYoutube from './components/AmpYoutube';
export { Amp3dGltf, Amp3qPlayer, AmpAccess, AmpAccessLaterpay, AmpAccessPoool, AmpAccordion, AmpActionMacro, AmpAd, AmpAdExit, AmpAddthis, AmpAnalytics, AmpAnim, AmpAnimation, AmpApesterMedia, AmpAppBanner, AmpAudio, AmpAutoAds, AmpAutocomplete, AmpBaseCarousel, AmpBeopinion, AmpBodymovinAnimation, AmpBridPlayer, AmpBrightcove, AmpBysideContent, AmpCallTracking, AmpCarousel, AmpConnatixPlayer, AmpConsent, AmpDailymotion, AmpDateCountdown, AmpDateDisplay, AmpDatePicker, AmpDelightPlayer, AmpDynamicCssClasses, AmpEmbedlyCard, AmpExperiment, AmpFacebook, AmpFacebookComments, AmpFacebookLike, AmpFacebookPage, AmpFitText, AmpFont, AmpForm, AmpFxCollection, AmpFxFlyingCarpet, AmpGeo, AmpGfycat, AmpGist, AmpGoogleDocumentEmbed, AmpGoogleVrviewImage, AmpHulu, AmpIframe, AmpImaVideo, AmpImageLightbox, AmpImageSlider, AmpImg, AmpImgur, AmpInputmask, AmpInstagram, AmpInstallServiceworker, AmpIzlesene, AmpJwplayer, AmpKalturaPlayer, AmpLightbox, AmpLightboxGallery, AmpLinkRewriter, AmpList, AmpLiveList, AmpMathml, AmpMegaphone, AmpMinuteMediaPlayer, AmpMowplayer, AmpMustache, AmpNextPage, AmpNexxtvPlayer, AmpO2Player, AmpOoyalaPlayer, AmpOrientationObserver, AmpPanZoom, AmpPinterest, AmpPixel, AmpPlaybuzz, AmpPositionObserver, AmpPowrPlayer, AmpReachPlayer, AmpRecaptchaInput, AmpReddit, AmpRiddleQuiz, AmpScript, AmpScriptTag, AmpSelector, AmpShareTracking, AmpSidebar, AmpSkimlinks, AmpSmartlinks, AmpSocialShare, AmpSoundcloud, AmpSpringboardPlayer, AmpState, AmpStickyAd, AmpStory, AmpStoryAutoAds, AmpStoryBookend, AmpStoryCtaLayer, AmpStoryGridLayer, AmpStoryPage, AmpStoryPageAttachment, AmpSubscriptions, AmpSubscriptionsGoogle, AmpTimeago, AmpTruncateText, AmpTwitter, AmpUserLocation, AmpUserNotification, AmpVideo, AmpVideoDocking, AmpVideoIframe, AmpVimeo, AmpVine, AmpViqeoPlayer, AmpVizVega, AmpVk, AmpWebPush, AmpWistiaPlayer, AmpYotpo, AmpYoutube };
import Amp3dGltf from './components/codegen/Amp3dGltf';
import Amp3qPlayer from './components/codegen/Amp3qPlayer';
import AmpAccess from './components/codegen/AmpAccess';
import AmpAccessLaterpay from './components/codegen/AmpAccessLaterpay';
import AmpAccessPoool from './components/codegen/AmpAccessPoool';
import AmpAccordion from './components/codegen/AmpAccordion';
import AmpActionMacro from './components/codegen/AmpActionMacro';
import AmpAd from './components/codegen/AmpAd';
import AmpAdExit from './components/codegen/AmpAdExit';
import AmpAddthis from './components/codegen/AmpAddthis';
import AmpAnalytics from './components/codegen/AmpAnalytics';
import AmpAnim from './components/codegen/AmpAnim';
import AmpApesterMedia from './components/codegen/AmpApesterMedia';
import AmpAppBanner from './components/codegen/AmpAppBanner';
import AmpAudio from './components/codegen/AmpAudio';
import AmpAutoAds from './components/codegen/AmpAutoAds';
import AmpAutocomplete from './components/codegen/AmpAutocomplete';
import AmpBaseCarousel from './components/codegen/AmpBaseCarousel';
import AmpBeopinion from './components/codegen/AmpBeopinion';
import AmpBodymovinAnimation from './components/codegen/AmpBodymovinAnimation';
import AmpBridPlayer from './components/codegen/AmpBridPlayer';
import AmpBrightcove from './components/codegen/AmpBrightcove';
import AmpBysideContent from './components/codegen/AmpBysideContent';
import AmpCallTracking from './components/codegen/AmpCallTracking';
import AmpCarousel from './components/codegen/AmpCarousel';
import AmpConnatixPlayer from './components/codegen/AmpConnatixPlayer';
import AmpConsent from './components/codegen/AmpConsent';
import AmpDailymotion from './components/codegen/AmpDailymotion';
import AmpDateCountdown from './components/codegen/AmpDateCountdown';
import AmpDateDisplay from './components/codegen/AmpDateDisplay';
import AmpDatePicker from './components/codegen/AmpDatePicker';
import AmpDelightPlayer from './components/codegen/AmpDelightPlayer';
import AmpDynamicCssClasses from './components/codegen/AmpDynamicCssClasses';
import AmpEmbedlyCard from './components/codegen/AmpEmbedlyCard';
import AmpExperiment from './components/codegen/AmpExperiment';
import AmpFacebook from './components/codegen/AmpFacebook';
import AmpFacebookComments from './components/codegen/AmpFacebookComments';
import AmpFacebookLike from './components/codegen/AmpFacebookLike';
import AmpFacebookPage from './components/codegen/AmpFacebookPage';
import AmpFitText from './components/codegen/AmpFitText';
import AmpFont from './components/codegen/AmpFont';
import AmpForm from './components/codegen/AmpForm';
import AmpFxCollection from './components/codegen/AmpFxCollection';
import AmpFxFlyingCarpet from './components/codegen/AmpFxFlyingCarpet';
import AmpGeo from './components/codegen/AmpGeo';
import AmpGfycat from './components/codegen/AmpGfycat';
import AmpGist from './components/codegen/AmpGist';
import AmpGoogleDocumentEmbed from './components/codegen/AmpGoogleDocumentEmbed';
import AmpGoogleVrviewImage from './components/codegen/AmpGoogleVrviewImage';
import AmpHulu from './components/codegen/AmpHulu';
import AmpIframe from './components/codegen/AmpIframe';
import AmpImaVideo from './components/codegen/AmpImaVideo';
import AmpImageLightbox from './components/codegen/AmpImageLightbox';
import AmpImageSlider from './components/codegen/AmpImageSlider';
import AmpImg from './components/codegen/AmpImg';
import AmpImgur from './components/codegen/AmpImgur';
import AmpInputmask from './components/codegen/AmpInputmask';
import AmpInstagram from './components/codegen/AmpInstagram';
import AmpInstallServiceworker from './components/codegen/AmpInstallServiceworker';
import AmpIzlesene from './components/codegen/AmpIzlesene';
import AmpJwplayer from './components/codegen/AmpJwplayer';
import AmpKalturaPlayer from './components/codegen/AmpKalturaPlayer';
import AmpLightbox from './components/codegen/AmpLightbox';
import AmpLightboxGallery from './components/codegen/AmpLightboxGallery';
import AmpLinkRewriter from './components/codegen/AmpLinkRewriter';
import AmpList from './components/codegen/AmpList';
import AmpLiveList from './components/codegen/AmpLiveList';
import AmpMathml from './components/codegen/AmpMathml';
import AmpMegaphone from './components/codegen/AmpMegaphone';
import AmpMinuteMediaPlayer from './components/codegen/AmpMinuteMediaPlayer';
import AmpMowplayer from './components/codegen/AmpMowplayer';
import AmpMustache from './components/codegen/AmpMustache';
import AmpNextPage from './components/codegen/AmpNextPage';
import AmpNexxtvPlayer from './components/codegen/AmpNexxtvPlayer';
import AmpO2Player from './components/codegen/AmpO2Player';
import AmpOoyalaPlayer from './components/codegen/AmpOoyalaPlayer';
import AmpOrientationObserver from './components/codegen/AmpOrientationObserver';
import AmpPanZoom from './components/codegen/AmpPanZoom';
import AmpPinterest from './components/codegen/AmpPinterest';
import AmpPixel from './components/codegen/AmpPixel';
import AmpPlaybuzz from './components/codegen/AmpPlaybuzz';
import AmpPositionObserver from './components/codegen/AmpPositionObserver';
import AmpPowrPlayer from './components/codegen/AmpPowrPlayer';
import AmpReachPlayer from './components/codegen/AmpReachPlayer';
import AmpRecaptchaInput from './components/codegen/AmpRecaptchaInput';
import AmpReddit from './components/codegen/AmpReddit';
import AmpRiddleQuiz from './components/codegen/AmpRiddleQuiz';
import AmpScript from './components/codegen/AmpScript';
import AmpSelector from './components/codegen/AmpSelector';
import AmpShareTracking from './components/codegen/AmpShareTracking';
import AmpSidebar from './components/codegen/AmpSidebar';
import AmpSkimlinks from './components/codegen/AmpSkimlinks';
import AmpSmartlinks from './components/codegen/AmpSmartlinks';
import AmpSocialShare from './components/codegen/AmpSocialShare';
import AmpSoundcloud from './components/codegen/AmpSoundcloud';
import AmpSpringboardPlayer from './components/codegen/AmpSpringboardPlayer';
import AmpStickyAd from './components/codegen/AmpStickyAd';
import AmpStory from './components/codegen/AmpStory';
import AmpStoryAutoAds from './components/codegen/AmpStoryAutoAds';
import AmpStoryBookend from './components/codegen/AmpStoryBookend';
import AmpStoryCtaLayer from './components/codegen/AmpStoryCtaLayer';
import AmpStoryGridLayer from './components/codegen/AmpStoryGridLayer';
import AmpStoryPage from './components/codegen/AmpStoryPage';
import AmpStoryPageAttachment from './components/codegen/AmpStoryPageAttachment';
import AmpSubscriptions from './components/codegen/AmpSubscriptions';
import AmpSubscriptionsGoogle from './components/codegen/AmpSubscriptionsGoogle';
import AmpTimeago from './components/codegen/AmpTimeago';
import AmpTruncateText from './components/codegen/AmpTruncateText';
import AmpTwitter from './components/codegen/AmpTwitter';
import AmpUserLocation from './components/codegen/AmpUserLocation';
import AmpUserNotification from './components/codegen/AmpUserNotification';
import AmpVideo from './components/codegen/AmpVideo';
import AmpVideoDocking from './components/codegen/AmpVideoDocking';
import AmpVideoIframe from './components/codegen/AmpVideoIframe';
import AmpVimeo from './components/codegen/AmpVimeo';
import AmpVine from './components/codegen/AmpVine';
import AmpViqeoPlayer from './components/codegen/AmpViqeoPlayer';
import AmpVizVega from './components/codegen/AmpVizVega';
import AmpVk from './components/codegen/AmpVk';
import AmpWebPush from './components/codegen/AmpWebPush';
import AmpWistiaPlayer from './components/codegen/AmpWistiaPlayer';
import AmpYotpo from './components/codegen/AmpYotpo';
import AmpYoutube from './components/codegen/AmpYoutube';
import AmpAnimation from './components/script/AmpAnimation';
import AmpState from './components/script/AmpState';
import ComponentScript from './components/script/ComponentScript';
export { Amp3dGltf, Amp3qPlayer, AmpAccess, AmpAccessLaterpay, AmpAccessPoool, AmpAccordion, AmpActionMacro, AmpAd, AmpAdExit, AmpAddthis, AmpAnalytics, AmpAnim, AmpApesterMedia, AmpAppBanner, AmpAudio, AmpAutoAds, AmpAutocomplete, AmpBaseCarousel, AmpBeopinion, AmpBodymovinAnimation, AmpBridPlayer, AmpBrightcove, AmpBysideContent, AmpCallTracking, AmpCarousel, AmpConnatixPlayer, AmpConsent, AmpDailymotion, AmpDateCountdown, AmpDateDisplay, AmpDatePicker, AmpDelightPlayer, AmpDynamicCssClasses, AmpEmbedlyCard, AmpExperiment, AmpFacebook, AmpFacebookComments, AmpFacebookLike, AmpFacebookPage, AmpFitText, AmpFont, AmpForm, AmpFxCollection, AmpFxFlyingCarpet, AmpGeo, AmpGfycat, AmpGist, AmpGoogleDocumentEmbed, AmpGoogleVrviewImage, AmpHulu, AmpIframe, AmpImaVideo, AmpImageLightbox, AmpImageSlider, AmpImg, AmpImgur, AmpInputmask, AmpInstagram, AmpInstallServiceworker, AmpIzlesene, AmpJwplayer, AmpKalturaPlayer, AmpLightbox, AmpLightboxGallery, AmpLinkRewriter, AmpList, AmpLiveList, AmpMathml, AmpMegaphone, AmpMinuteMediaPlayer, AmpMowplayer, AmpMustache, AmpNextPage, AmpNexxtvPlayer, AmpO2Player, AmpOoyalaPlayer, AmpOrientationObserver, AmpPanZoom, AmpPinterest, AmpPixel, AmpPlaybuzz, AmpPositionObserver, AmpPowrPlayer, AmpReachPlayer, AmpRecaptchaInput, AmpReddit, AmpRiddleQuiz, AmpScript, AmpSelector, AmpShareTracking, AmpSidebar, AmpSkimlinks, AmpSmartlinks, AmpSocialShare, AmpSoundcloud, AmpSpringboardPlayer, AmpStickyAd, AmpStory, AmpStoryAutoAds, AmpStoryBookend, AmpStoryCtaLayer, AmpStoryGridLayer, AmpStoryPage, AmpStoryPageAttachment, AmpSubscriptions, AmpSubscriptionsGoogle, AmpTimeago, AmpTruncateText, AmpTwitter, AmpUserLocation, AmpUserNotification, AmpVideo, AmpVideoDocking, AmpVideoIframe, AmpVimeo, AmpVine, AmpViqeoPlayer, AmpVizVega, AmpVk, AmpWebPush, AmpWistiaPlayer, AmpYotpo, AmpYoutube, AmpAnimation, AmpState, ComponentScript };
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc