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

Chore merge from 4b12084 #1842

Merged
merged 18 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Copyright (c) 2015-2022 Orange SA
Copyright (c) 2015-2022 The Boosted Authors
Copyright (c) 2015-2023 Orange SA
Copyright (c) 2015-2023 The Boosted Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ End of the parts list under Monotype Imaging Inc Copyright


Parts list under Orange SA Copyright
Copyright (C) 2016 - 2022 Orange SA All rights reserved
Copyright (C) 2016 - 2023 Orange SA All rights reserved

The following parts are proprietary information of Orange.
You shall not use or display any trade names, trademarks, service marks, products names, illustrations or designs used within the software
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Thanks to [Netlify](https://www.netlify.com/) for providing us with Deploy Previ

## Copyright and license

Code and documentation copyright 2011-2022 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors). Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
Code and documentation copyright 2011-2023 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors). Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).

Boosted code and documentation copyright 2015-2022 the [Boosted Authors](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/graphs/contributors) and [Orange SA.](https://orange.com) Code released under the [MIT License](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
Boosted code and documentation copyright 2015-2023 the [Boosted Authors](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/graphs/contributors) and [Orange SA.](https://orange.com) Code released under the [MIT License](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).

2 changes: 1 addition & 1 deletion build/build-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*!
* Script to build our plugins to use them separately.
* Copyright 2020-2022 The Bootstrap Authors
* Copyright 2020-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
2 changes: 1 addition & 1 deletion build/change-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*!
* Script to update version number references in the project.
* Copyright 2017-2022 The Bootstrap Authors
* Copyright 2017-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
2 changes: 1 addition & 1 deletion build/generate-sri.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Remember to use the same vendor files as the CDN ones,
* otherwise the hashes won't match!
*
* Copyright 2017-2022 The Bootstrap Authors
* Copyright 2017-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
2 changes: 1 addition & 1 deletion build/vnu-jar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*!
* Script to run vnu-jar if Java is available.
* Copyright 2017-2022 The Bootstrap Authors
* Copyright 2017-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
2 changes: 1 addition & 1 deletion build/zip-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*!
* Script to create the built examples zip archive;
* requires the `zip` command to be present!
* Copyright 2020-2022 The Bootstrap Authors
* Copyright 2020-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/boosted/blob/main/LICENSE)
*/

Expand Down
2 changes: 1 addition & 1 deletion nuget/boosted.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<repository type="git" url="https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git" branch="main" />
<icon>boosted.png</icon>
<license type="expression">MIT</license>
<copyright>Copyright 2015-2022</copyright>
<copyright>Copyright 2015-2023</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>css mobile-first responsive front-end framework web bootstrap</tags>
<contentFiles>
Expand Down
2 changes: 1 addition & 1 deletion nuget/boosted.sass.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<repository type="git" url="https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git" branch="main" />
<icon>boosted.png</icon>
<license type="expression">MIT</license>
<copyright>Copyright 2015-2022</copyright>
<copyright>Copyright 2015-2023</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>css sass mobile-first responsive front-end framework web bootstrap Orange</tags>
<contentFiles>
Expand Down
1 change: 1 addition & 0 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
flex-direction: column;
min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
height: var(--#{$prefix}card-height);
color: var(--#{$prefix}body-color);
word-wrap: break-word;
background-color: var(--#{$prefix}card-bg);
background-clip: border-box;
Expand Down
4 changes: 2 additions & 2 deletions scss/_close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile

.btn-close {
// scss-docs-start btn-close-css-vars
// scss-docs-start close-css-vars
--#{$prefix}btn-close-color: #{$btn-close-color};
--#{$prefix}btn-close-bg: #{$btn-close-bg}; // Boosted mod: don't use escape-svg()
// Boosted mod: no --#{$prefix}btn-close-opacity
Expand All @@ -20,7 +20,7 @@
--#{$prefix}btn-close-active-color: #{$btn-close-active-color}; // Boosted mod
--#{$prefix}btn-close-active-border-color: #{$btn-close-active-border-color}; // Boosted mod
--#{$prefix}btn-close-disabled-color: #{$btn-close-disabled-color}; // Boosted mod
// scss-docs-end btn-close-css-vars
// scss-docs-end close-css-vars

// Boosted mod: no box-sizing, width nor height
padding: var(--#{$prefix}btn-close-padding); // Boosted mod
Expand Down
2 changes: 1 addition & 1 deletion scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
text-decoration: if($link-hover-decoration == underline, none, null);
}

// Boosted mod: no `&:focus`
// Boosted mod: no `&:focus-visible`

// Disabled state lightens text
&.disabled {
Expand Down
6 changes: 3 additions & 3 deletions scss/mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@mixin bsBanner($file) {
/*!
* Boosted #{$file} v5.3.0-alpha1 (https://boosted.orange.com/)
* Copyright 2014-2022 The Boosted Authors
* Copyright 2014-2022 Orange SA
* Copyright 2014-2023 The Boosted Authors
* Copyright 2014-2023 Orange SA
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/main/LICENSE)
* This a fork of Bootstrap: Initial license below
* Bootstrap #{$file} v5.3.0-alpha1 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
}
3 changes: 1 addition & 2 deletions site/assets/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

/*!
* JavaScript for Bootstrap's docs (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses/by/3.0/.
*/
Expand Down
3 changes: 1 addition & 2 deletions site/assets/js/code-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

/*!
* JavaScript for Bootstrap's docs (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses/by/3.0/.
*/
Expand Down
19 changes: 9 additions & 10 deletions site/assets/js/snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

/*!
* JavaScript for Bootstrap's docs (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses/by/3.0/.
*/
Expand All @@ -20,7 +19,7 @@
// --------
// Tooltips
// --------
// Instantiate all tooltips in a docs or StackBlitz page
// Instantiate all tooltips in a docs or StackBlitz
document.querySelectorAll('[data-bs-toggle="tooltip"]')
.forEach(tooltip => {
new boosted.Tooltip(tooltip)
Expand All @@ -29,7 +28,7 @@
// --------
// Popovers
// --------
// Instantiate all popovers in a docs or StackBlitz page
// Instantiate all popovers in docs or StackBlitz
document.querySelectorAll('[data-bs-toggle="popover"]')
.forEach(popover => {
new boosted.Popover(popover)
Expand All @@ -50,7 +49,7 @@
})
}

// Instantiate all toasts in a docs page only
// Instantiate all toasts in docs pages only
document.querySelectorAll('.bd-example .toast')
.forEach(toastNode => {
const toast = new boosted.Toast(toastNode, {
Expand All @@ -60,14 +59,14 @@
toast.show()
})

// Instantiate all toasts in a docs page only
// Instantiate all toasts in docs pages only
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')

if (toastTrigger) {
louismaximepiton marked this conversation as resolved.
Show resolved Hide resolved
const toastBoosted = boosted.Toast.getOrCreateInstance(toastLiveExample)
toastTrigger.addEventListener('click', () => {
const toast = new boosted.Toast(toastLiveExample)

toast.show()
toastBoosted.show()
})
}

Expand Down Expand Up @@ -96,7 +95,7 @@
// --------
// Carousels
// --------
// Instantiate all non-autoplaying carousels in a docs or StackBlitz page
// Instantiate all non-autoplaying carousels in docs or StackBlitz
document.querySelectorAll('.carousel:not([data-bs-ride="carousel"])')
.forEach(carousel => {
boosted.Carousel.getOrCreateInstance(carousel)
Expand Down
1 change: 1 addition & 0 deletions site/assets/scss/_callouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.bd-callout {
// Boosted mod: no `--#{$prefix}link-color-rgb` to keep our links black
// Boosted mod: no `--#{$prefix}code-color` to keep our text black

padding: $spacer; // Boosted mod
margin-top: $spacer; // Boosted mod
Expand Down
2 changes: 1 addition & 1 deletion site/assets/scss/_clipboard-js.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
padding: .5em;
line-height: 1;
color: var(--bs-body-color);
background-color: transparent; // Boosted mod: so that the focus-visible outline in the source code area is rendered behind this surface
background-color: transparent; // Boosted mod: instead of `var(--bd-pre-bg)` so that the focus-visible outline in the source code area is rendered behind this surface
border: 0;
@include border-radius(.25rem);

Expand Down
4 changes: 2 additions & 2 deletions site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
position: relative;
padding: .75rem ($bd-gutter-x * .5);
margin-bottom: 1rem;
background-color: var(--bs-tertiary-bg);
background-color: var(--bd-pre-bg);

@include media-breakpoint-up(md) {
padding: .75rem 1.25rem;
Expand Down Expand Up @@ -388,7 +388,7 @@
}

.highlight-toolbar {
background-color: $gray-100; // Boosted mod: instead of `var(--bs-tertiary-bg)`
background-color: $gray-100; // Boosted mod: instead of `var(--bd-pre-bg)`
border: solid $gray-400; // Boosted mod: instead of `solid var(--bs-border-color)`
border-width: 1px 0;

Expand Down
24 changes: 12 additions & 12 deletions site/assets/scss/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
// TODO: these values will need to be modified in order to work with Boosted dark mode
// Right now, values are from Bootstrap from `--base00` to `--baseOF` and the 4 remaining one are copied from Boosted's light mode
@include color-mode(dark, true) {
--base00: #282c34;
--base01: #353b45;
// --base00: #282c34;
// --base01: #353b45;
--base02: #3e4451;
--base03: #868e96;
--base04: #565c64;
--base04: #868e96;
--base05: #abb2bf;
--base06: #b6bdca;
--base07: #d19a66;
--base08: #{$red-300};
--base09: #d19a66;
--base0A: #e5c07b;
--base0B: #98c379;
--base0C: #56b6c2;
--base0D: #61afef;
--base0E: #c678dd;
--base0F: #be5046;
--base07: #{$orange-300}; // #d19a66
--base08: #{$cyan-300};
--base09: #{$orange-300}; // #d19a66
--base0A: #{$yellow-200}; // #e5c07b
--base0B: #{$teal-300}; // #98c379
--base0C: #{$teal-300}; // #56b6c2
--base0D: #{$blue-300}; // #61afef
--base0E: #{$indigo-200}; // #c678dd
--base0F: #{$red-300}; // #be5046
--base10: #{$gray-400};
--base11: #{$yellow-800};
--base12: #{$cyan-900};
Expand Down
4 changes: 4 additions & 0 deletions site/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ $bd-callout-variants: info, warning, danger !default;
--bd-toc-color: var(--bs-emphasis-color); // Boosted mod: instead of `var(--bd-violet)`
// Boosted mod: no --bd-sidebar-link-bg
// Boosted mod: no --bd-callout-link
// Boosted mod: no --bd-callout-code-color
--bd-pre-bg: var(--bs-tertiary-bg);
--bd-toc-active-border-left-color: var(--bd-purple); // Boosted mod
}

Expand All @@ -31,6 +33,8 @@ $bd-callout-variants: info, warning, danger !default;
// Boosted mod: no --bd-toc-color
// Boosted mod: no --bd-sidebar-link-bg
// Boosted mod: no --bd-callout-link
// Boosted mod: no --bd-callout-code-color
--bd-pre-bg: #{adjust-color($gray-900, $lightness: -2.5%)}; // stylelint-disable-line scss/at-function-named-arguments
}

// Boosted mod
Expand Down
2 changes: 1 addition & 1 deletion site/assets/scss/docs.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Bootstrap Docs (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses/by/3.0/.
*/
Expand Down
Loading