From b46f05a948490799df175b58e9ca2994c06db105 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 4 Nov 2020 16:39:29 +0200 Subject: Switch to Hugo This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing. --- site/data/breakpoints.yml | 29 +++ site/data/browser-bugs.yml | 411 +++++++++++++++++++++++++++++++++++++++++ site/data/browser-features.yml | 139 ++++++++++++++ site/data/colors.yml | 26 +++ site/data/core-team.yml | 32 ++++ site/data/docs-versions.yml | 46 +++++ site/data/examples.yml | 55 ++++++ site/data/grays.yml | 18 ++ site/data/sidebar.yml | 92 +++++++++ site/data/theme-colors.yml | 16 ++ site/data/translations.yml | 29 +++ 11 files changed, 893 insertions(+) create mode 100644 site/data/breakpoints.yml create mode 100644 site/data/browser-bugs.yml create mode 100644 site/data/browser-features.yml create mode 100644 site/data/colors.yml create mode 100644 site/data/core-team.yml create mode 100644 site/data/docs-versions.yml create mode 100644 site/data/examples.yml create mode 100644 site/data/grays.yml create mode 100644 site/data/sidebar.yml create mode 100644 site/data/theme-colors.yml create mode 100644 site/data/translations.yml (limited to 'site/data') diff --git a/site/data/breakpoints.yml b/site/data/breakpoints.yml new file mode 100644 index 000000000..3c8cfe293 --- /dev/null +++ b/site/data/breakpoints.yml @@ -0,0 +1,29 @@ +- breakpoint: xs + abbr: "" + name: Extra small + min-width: 0px + container: "" + +- breakpoint: sm + abbr: -sm + name: Small + min-width: 576px + container: 540px + +- breakpoint: md + abbr: -md + name: Medium + min-width: 768px + container: 720px + +- breakpoint: lg + abbr: -lg + name: Large + min-width: 992px + container: 960px + +- breakpoint: xl + abbr: -xl + name: Extra large + min-width: 1200px + container: 1140px diff --git a/site/data/browser-bugs.yml b/site/data/browser-bugs.yml new file mode 100644 index 000000000..c4fa93a1f --- /dev/null +++ b/site/data/browser-bugs.yml @@ -0,0 +1,411 @@ +- + browser: > + Edge + summary: > + Visual artifacts in scrollable modal dialogs + upstream_bug: > + Edge#9011176 + origin: > + Bootstrap#20755 + +- + browser: > + Edge + summary: > + Native browser tooltip for `title` shows on first keyboard focus (in addition to custom tooltip component) + upstream_bug: > + Edge#6793560 + origin: > + Bootstrap#18692 + +- + browser: > + Edge + summary: > + Hovered element still remains in `:hover` state after scrolling away. + upstream_bug: > + Edge#5381673 + origin: > + Bootstrap#14211 + +- + browser: > + Edge + summary: > + CSS `border-radius` sometimes causes lines of bleed-through of the `background-color` of the parent element. + upstream_bug: > + Edge#3342037 + origin: > + Bootstrap#16671 + +- + browser: > + Edge + summary: > + `background` of `` is only applied to first child cell instead of all cells in the row + upstream_bug: > + Edge#5865620 + origin: > + Bootstrap#18504 + +- + browser: > + Edge + summary: > + Background color from lower layer bleeds through transparent border in some cases + upstream_bug: > + Edge#6274505 + origin: > + Bootstrap#18228 + +- + browser: > + Edge + summary: > + Hovering over descendant SVG element fires `mouseleave` event at ancestor + upstream_bug: > + Edge#7787318 + origin: > + Bootstrap#19670 + +- + browser: > + Edge + summary: > + Active `position: fixed;` `