Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bento: Ensure all Bento components have a CSS file #34861

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

caroqliu
Copy link
Contributor

@caroqliu caroqliu commented Jun 15, 2021

  • For components whose 0.1 do not need a CSS file, the 1.0 serves the purpose of providing pre-upgrade styles for layout stability, to be included as <link> tag on non-AMP pages.
  • Excludes amp-render which to my knowledge will not be usable on non-AMP documents.
  • Does not update hasCss for these new components which only have "pre-upgrade" styles -- bundling them with AMP components for use on AMP pages would be redundant to the pre-upgrade document stability styles provided by AMP's boilerplate. (In fact, a separate PR should remove hasCss: true from applicable Bento components that currently have it enabled.)
  • Fixes Bento docs for amp-date-display links to missing stylesheet amp.dev#5901

@caroqliu caroqliu requested a review from alanorozco June 15, 2021 15:22
@caroqliu caroqliu merged commit 7ee3e06 into ampproject:main Jun 15, 2021
westonruter added a commit to westonruter/amphtml that referenced this pull request Jun 16, 2021
…ebook-like-bento-version

* 'main' of github.com:ampproject/amphtml: (23 commits)
  `amp-story-desktop-one-panel` Update demo with usecases (ampproject#34867)
  🚮 Remove src/purifier.js rollup config (ampproject#34876)
  Validator Rollup (ampproject#34769)
  ✨ `amp-story-desktop-one-panel` Check UI type to get page dimension on tap (ampproject#34875)
  Refactor: move getRealChildNodes and getRealChildren to core (ampproject#34813)
  🏗📖 Fix some example files that do not validate (ampproject#34835)
  🏗Add `#test` and `#testing` to alias list (ampproject#34853)
  Add css files for missing components (ampproject#34861)
  Apply bulk transform to html tags (ampproject#34836)
  🐛 amp-ima-video: Fix duration label on livestreams (ampproject#34865)
  ♻️  Extract `applyFillContent` into a standalone function (ampproject#34858)
  Give script tag closing tag (ampproject#34832)
  🏗 Refinements to renovate config (ampproject#34862)
  Bento: Enable `SocialShare` for npm publishing (ampproject#34817)
  🏗 Use aliased paths in generated extensions (ampproject#34860)
  ✨ `amp-story-desktop-one-panel` Position distance="2" page below viewport (ampproject#34834)
  🏗 Set `wrapper` on generated Bento extensions (ampproject#34843)
  🧪[story-ads] Allow viewer to set progress bar segment experiment. (ampproject#34827)
  🏗 Allow extension bundles to specify their own wrapper (ampproject#34845)
  🏗🚀 Speed up validated example grouping ~45x (ampproject#34837)
  ...
@caroqliu caroqliu added this to Done in Bento Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Bento
  
Done
Development

Successfully merging this pull request may close these issues.

Bento docs for amp-date-display links to missing stylesheet
2 participants