ampproject / bentojs.dev Goto Github PK
View Code? Open in Web Editor NEWBento Website
License: Apache License 2.0
Bento Website
License: Apache License 2.0
I'm not sure about the animation here. It looks like a normal bottom toolbar, but works differently with the slide out animation (which is way to slow either). I think simply showing the content as an overlay would work better here.
Styles also need to be update, @MarcoABCorrea I'm sure you already have this on your list.
In the English documentation, id attributes of headings that are cross-referenced in the document, must be set explicitly in Markdown, to make sure those ids are consistent across translated documents and anchor links are working correctly on non-English pages.
Example:
## Web Component {: #web-component }
Support for explicit id attributes of headings is added in this PR:
#162
via #32 (review). Combine the demos for Web Components and NPM mode.
The current approach is not consistent. Some pages had permalinks (e.g. home, get started, ...) other didn't (component docs). Hence, some pages were located in /en/* and others not.
By default, all english docs should be on the non localized paths, but ideally also on the localized path starting with en
(canonical should point to the non localized path).
http://localhost:8080/en/components/bento-social-share/#preact%2Freact-component
@MarcoABCorrea can you take a look what's going on here?
For component docs we can use the new page.data.description
field.
For example, this section in https://bentojs.dev/get-started:
Different options:
Hi, there
I am installing it from this page.
but, 404 will be displayed.
> npm install @bentoproject/bento-fit-text
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@bentoproject%2fbento-fit-text - Not found
npm ERR! 404
npm ERR! 404 '@bentoproject/bento-fit-text@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/komisan19/.npm/_logs/2021-12-30T02_24_56_798Z-debug-0.log
Presumably, this is the correct package name, right?
> npm install @bentoproject/fit-text
...we need one :-) Have we already got an asset for this? @matthiasrohmer @MarcoABCorrea
The background overlay uses position: absolute
combined with z-index: 1
which makes it impossible to select text at the top.
We currently use it here:
_includes/partials/components/list.njk
2: <nav toolbar="(min-width: 1024px)" toolbar-target="bd-components-target">
_includes/partials/components/toc.njk
5: toolbar-target="bd-toc-target">
bento-sidebar.njk
11: <nav toolbar="(min-width: 767px)" toolbar-target="target-element">
@alanorozco have you got recommendations for workarounds?
//cc @matthiasrohmer
Label: "Improve your page experience with Bento components"
CTA: "Get Started" with link to getting started guide
I forgot to remove the button when removing the TOC from the guides overview page. Now that we have three sections it might make sense to reactivate it though.
From the center image, clicking the right arrow instantly changes the images to the avocados, while clicking left (or any other shift between pairs of images) does a progressive slide from one to the next. Unclear if this is intentionally demonstrating variations in available transitions or if this is a bug
Not sure where the problem is for this: https://bentojs-dev--staging-dqq7e0dm.web.app/en/components/bento-timeago/
Have we already got designs for this?
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)
For example, see the link at the end of this line: https://github.com/ampproject/bentojs.dev/blob/main/site/en/guides/getting-started-with-Vue-and-Bento.md#summary
It isn't being hyperlinked in the rendered doc at https://bentojs.dev/documentation/guides/bento-vue.js-guide:
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
react
, react-dom
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
@bentoproject/accordion 1.2201141909.4
@bentoproject/sidebar 1.2201141909.4
@11ty/eleventy 1.0.0
@11ty/eleventy-img 1.0.0
@11ty/eleventy-plugin-rss 1.1.2
@11ty/eleventy-plugin-syntaxhighlight 4.0.0
@ampproject/toolbox-validator-rules 2.8.0
csso 5.0.2
eleventy-plugin-toc 1.1.5
esbuild 0.14.17
eslint 8.8.0
eslint-config-google 0.14.0
eslint-config-prettier 8.3.0
eslint-plugin-prettier 4.0.0
espree 9.3.0
execa 5.1.1
fast-glob 3.2.11
gray-matter 4.0.3
gulp 4.0.2
gulp-sass 5.1.0
gulp-svgstore 8.0.0
html-minifier 4.0.0
lodash.get 4.4.2
markdown-it-anchor 8.4.1
markdown-it-attrs 4.1.3
npm-run-all 4.1.5
prettier 2.5.1
purgecss 4.1.3
rimraf 3.0.2
sass 1.49.7
sentence-splitter 3.2.2
next 12.0.10
react 17.0.2
react-dom 17.0.2
See comment here: #116 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.