From: Julien Déramond Date: Sun, 15 Feb 2026 08:48:39 +0000 (+0100) Subject: Bump copyright and example dates from 2025 to 2026 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4614a54b50f2b7ba51e7193bdae23c6fa3603fa;p=thirdparty%2Fbootstrap.git Bump copyright and example dates from 2025 to 2026 --- diff --git a/LICENSE b/LICENSE index fa7c00bc4e..d27a161934 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2011-2025 The Bootstrap Authors +Copyright (c) 2011-2026 The Bootstrap 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 diff --git a/README.md b/README.md index 5a5f8cfd49..6e2c6c695c 100644 --- a/README.md +++ b/README.md @@ -227,4 +227,4 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com ## Copyright and license -Code and documentation copyright 2011-2025 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-2026 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/). diff --git a/build/build-plugins.mjs b/build/build-plugins.mjs index f56cd213f5..b5a88d7c06 100644 --- a/build/build-plugins.mjs +++ b/build/build-plugins.mjs @@ -2,7 +2,7 @@ /*! * Script to build our plugins to use them separately. - * Copyright 2020-2025 The Bootstrap Authors + * Copyright 2020-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/build/change-version.mjs b/build/change-version.mjs index 1400274c44..c1433d5780 100644 --- a/build/change-version.mjs +++ b/build/change-version.mjs @@ -2,7 +2,7 @@ /*! * Script to update version number references in the project. - * Copyright 2017-2025 The Bootstrap Authors + * Copyright 2017-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/build/generate-sri.mjs b/build/generate-sri.mjs index ddd6dda567..c3d76667b7 100644 --- a/build/generate-sri.mjs +++ b/build/generate-sri.mjs @@ -5,7 +5,7 @@ * Remember to use the same vendor files as the CDN ones, * otherwise the hashes won't match! * - * Copyright 2017-2025 The Bootstrap Authors + * Copyright 2017-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/build/html-validate.mjs b/build/html-validate.mjs index 09b9ad66f8..1ad686efee 100644 --- a/build/html-validate.mjs +++ b/build/html-validate.mjs @@ -10,7 +10,7 @@ * - Easy to configure with rule-based system * - Better integration with Node.js build tools * - * Copyright 2017-2025 The Bootstrap Authors + * Copyright 2017-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/build/zip-examples.mjs b/build/zip-examples.mjs index 4740bb17e5..e66a939e30 100644 --- a/build/zip-examples.mjs +++ b/build/zip-examples.mjs @@ -3,7 +3,7 @@ /*! * Script to create the built examples zip archive; * requires the `zip` command to be present! - * Copyright 2020-2025 The Bootstrap Authors + * Copyright 2020-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/js/tests/unit/datepicker.spec.js b/js/tests/unit/datepicker.spec.js index ad2710abf0..c8e56831d1 100644 --- a/js/tests/unit/datepicker.spec.js +++ b/js/tests/unit/datepicker.spec.js @@ -408,7 +408,7 @@ describe('Datepicker', () => { const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) - const dates = ['2025-01-15'] + const dates = ['2026-01-15'] datepicker.setSelectedDates(dates) @@ -420,12 +420,12 @@ describe('Datepicker', () => { const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) - const dates = ['2025-01-15'] + const dates = ['2026-01-15'] datepicker.setSelectedDates(dates) const result = datepicker.getSelectedDates() - result.push('2025-01-20') + result.push('2026-01-20') expect(datepicker.getSelectedDates()).toEqual(dates) }) @@ -462,21 +462,21 @@ describe('Datepicker', () => { describe('options', () => { it('should respect dateMin option', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) - expect(datepicker._config.dateMin).toEqual('2025-01-01') + expect(datepicker._config.dateMin).toEqual('2026-01-01') }) it('should respect dateMax option', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) - expect(datepicker._config.dateMax).toEqual('2025-12-31') + expect(datepicker._config.dateMax).toEqual('2026-12-31') }) it('should respect selectionMode option', () => { @@ -684,7 +684,7 @@ describe('Datepicker', () => { const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) - const result = datepicker._formatDate('2025-01-15') + const result = datepicker._formatDate('2026-01-15') // Should be a string (format varies by system locale) expect(typeof result).toEqual('string') @@ -700,9 +700,9 @@ describe('Datepicker', () => { locale: 'en-US' }) - const result = datepicker._formatDate('2025-01-15') + const result = datepicker._formatDate('2026-01-15') - expect(result).toEqual('Jan 15, 2025') + expect(result).toEqual('Jan 15, 2026') }) it('should format date with custom function', () => { @@ -713,9 +713,9 @@ describe('Datepicker', () => { dateFormat: date => `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}` }) - const result = datepicker._formatDate('2025-01-15') + const result = datepicker._formatDate('2026-01-15') - expect(result).toEqual('2025-1-15') + expect(result).toEqual('2026-1-15') }) it('should use en-dash for date ranges', () => { @@ -726,7 +726,7 @@ describe('Datepicker', () => { locale: 'en-US' }) - const result = datepicker._formatDateForInput(['2025-01-15', '2025-01-20']) + const result = datepicker._formatDateForInput(['2026-01-15', '2026-01-20']) expect(result).toContain(' – ') }) @@ -739,7 +739,7 @@ describe('Datepicker', () => { locale: 'en-US' }) - const result = datepicker._formatDateForInput(['2025-01-15', '2025-01-20']) + const result = datepicker._formatDateForInput(['2026-01-15', '2026-01-20']) expect(result).toContain(', ') }) @@ -920,7 +920,7 @@ describe('Datepicker', () => { describe('input value parsing', () => { it('should parse initial input value', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const inputEl = fixtureEl.querySelector('input') const datepicker = new Datepicker(inputEl) @@ -981,7 +981,7 @@ describe('Datepicker', () => { // Simulate VCP date click callback datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) }) }) @@ -993,7 +993,7 @@ describe('Datepicker', () => { const datepicker = new Datepicker(inputEl) datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) expect(inputEl.value).not.toEqual('') @@ -1011,7 +1011,7 @@ describe('Datepicker', () => { const datepicker = new Datepicker(buttonEl) datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) expect(displayEl.textContent).not.toEqual('Select date') @@ -1029,10 +1029,10 @@ describe('Datepicker', () => { const datepicker = new Datepicker(divEl) datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) - expect(hiddenInput.value).toEqual('2025-01-15') + expect(hiddenInput.value).toEqual('2026-01-15') }) it('should auto-hide after single date selection', () => { @@ -1045,7 +1045,7 @@ describe('Datepicker', () => { const hideSpy = spyOn(datepicker, 'hide') datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) setTimeout(() => { @@ -1065,7 +1065,7 @@ describe('Datepicker', () => { const hideSpy = spyOn(datepicker, 'hide') datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15', '2025-01-20'] } + context: { selectedDates: ['2026-01-15', '2026-01-20'] } }, new Event('click')) setTimeout(() => { @@ -1085,7 +1085,7 @@ describe('Datepicker', () => { const hideSpy = spyOn(datepicker, 'hide') datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) setTimeout(() => { @@ -1105,7 +1105,7 @@ describe('Datepicker', () => { const hideSpy = spyOn(datepicker, 'hide') datepicker._handleDateClick({ - context: { selectedDates: ['2025-01-15'] } + context: { selectedDates: ['2026-01-15'] } }, new Event('click')) setTimeout(() => { @@ -1144,7 +1144,7 @@ describe('Datepicker', () => { const hideSpy = spyOn(datepicker, 'hide') - datepicker._maybeHideAfterSelection(['2025-01-15']) + datepicker._maybeHideAfterSelection(['2026-01-15']) setTimeout(() => { expect(hideSpy).not.toHaveBeenCalled() diff --git a/js/tests/visual/datepicker.html b/js/tests/visual/datepicker.html index 70db69c486..472f953f55 100644 --- a/js/tests/visual/datepicker.html +++ b/js/tests/visual/datepicker.html @@ -25,8 +25,8 @@

With Min/Max Dates

- - + +
@@ -119,7 +119,7 @@ const jsDatepickerEl = document.getElementById('jsDatepicker') const jsDatepicker = new bootstrap.Datepicker(jsDatepickerEl, { firstWeekday: 1, - selectedDates: ['2025-01-15'] + selectedDates: ['2026-01-15'] }) document.getElementById('showBtn').addEventListener('click', () => { diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec index a2f0de96cf..259cb56e5f 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -15,7 +15,7 @@ bootstrap.png MIT - Copyright 2011-2025 + Copyright 2011-2026 false css mobile-first responsive front-end framework web diff --git a/nuget/bootstrap.sass.nuspec b/nuget/bootstrap.sass.nuspec index cd08cd495b..8393ae9e95 100644 --- a/nuget/bootstrap.sass.nuspec +++ b/nuget/bootstrap.sass.nuspec @@ -15,7 +15,7 @@ bootstrap.png MIT - Copyright 2011-2025 + Copyright 2011-2026 false css sass mobile-first responsive front-end framework web diff --git a/scss/_banner.scss b/scss/_banner.scss index 858d062e4f..c96aa3ca4f 100644 --- a/scss/_banner.scss +++ b/scss/_banner.scss @@ -2,6 +2,6 @@ $file: "" !default; /*! * Bootstrap #{$file} v6.0.0-dev (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ diff --git a/scss/mixins/_banner.scss b/scss/mixins/_banner.scss index 69747d553f..1fd399c161 100644 --- a/scss/mixins/_banner.scss +++ b/scss/mixins/_banner.scss @@ -1,7 +1,7 @@ @mixin bsBanner($file) { /*! * Bootstrap #{$file} v6.0.0-alpha1 (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ } diff --git a/site/src/assets/application.js b/site/src/assets/application.js index c9fce7fad6..0d8321f42d 100644 --- a/site/src/assets/application.js +++ b/site/src/assets/application.js @@ -4,7 +4,7 @@ /*! * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/partials/sidebar.js b/site/src/assets/partials/sidebar.js index bf42e7b5ef..7121e7c7b6 100644 --- a/site/src/assets/partials/sidebar.js +++ b/site/src/assets/partials/sidebar.js @@ -4,7 +4,7 @@ /* * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/partials/snippets.js b/site/src/assets/partials/snippets.js index 33488ebda6..0056131b7b 100644 --- a/site/src/assets/partials/snippets.js +++ b/site/src/assets/partials/snippets.js @@ -6,7 +6,7 @@ /* * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/partials/sticky.js b/site/src/assets/partials/sticky.js index 8d803fb806..8e673895e8 100644 --- a/site/src/assets/partials/sticky.js +++ b/site/src/assets/partials/sticky.js @@ -4,7 +4,7 @@ /* * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/search.js b/site/src/assets/search.js index 1077babdb3..634cd6ba6f 100644 --- a/site/src/assets/search.js +++ b/site/src/assets/search.js @@ -4,7 +4,7 @@ /*! * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2024-2025 The Bootstrap Authors + * Copyright 2024-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/snippets.js b/site/src/assets/snippets.js index d18ab41c4f..4fb2384321 100644 --- a/site/src/assets/snippets.js +++ b/site/src/assets/snippets.js @@ -1,6 +1,6 @@ /* * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/assets/stackblitz.js b/site/src/assets/stackblitz.js index 0b450a7d4d..ab9fee0e8a 100644 --- a/site/src/assets/stackblitz.js +++ b/site/src/assets/stackblitz.js @@ -6,7 +6,7 @@ /*! * JavaScript for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2024-2025 The Bootstrap Authors + * Copyright 2024-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/content/docs/components/breadcrumb.mdx b/site/src/content/docs/components/breadcrumb.mdx index 894c610d85..c30bcf82f1 100644 --- a/site/src/content/docs/components/breadcrumb.mdx +++ b/site/src/content/docs/components/breadcrumb.mdx @@ -51,7 +51,7 @@ Use an ordered list with `.breadcrumb-item` for each page and `.breadcrumb-divid `} /> diff --git a/site/src/content/docs/forms/datepicker.mdx b/site/src/content/docs/forms/datepicker.mdx index 0795c7cff8..00e6b77b8a 100644 --- a/site/src/content/docs/forms/datepicker.mdx +++ b/site/src/content/docs/forms/datepicker.mdx @@ -40,8 +40,8 @@ Use the [form adorn component](/docs/forms/form-adorn) to add a calendar icon al Restrict the selectable date range using `data-bs-date-min` and `data-bs-date-max`. -Event date (2025 only) - `} /> +Event date (2026 only) + `} /> ### Multiple dates @@ -62,14 +62,14 @@ Display multiple months side-by-side with the `displayMonthsCount` option. This Select a range of dates with `data-bs-selection-mode="multiple-ranged"`. Use `data-bs-selected-dates` to preselect a date range. Select date range - `} /> + `} /> ### Multi-month date range For selecting date ranges that span multiple months, combine `data-bs-selection-mode="multiple-ranged"` with `data-bs-display-months-count="2"` to show two months side-by-side, making it easier for users to select across month boundaries. Select date range - `} /> + `} /> ## Options @@ -155,7 +155,7 @@ Control how dates are displayed using the `dateFormat` option. Pass an [`Intl.Da // Using Intl.DateTimeFormat options const datepicker = new bootstrap.Datepicker(element, { dateFormat: { month: 'short', day: 'numeric', year: 'numeric' } - // Output: "Dec 23, 2025 – Dec 28, 2025" + // Output: "Dec 23, 2026 – Dec 28, 2026" }) // Using a custom function @@ -239,8 +239,8 @@ const datepicker = new bootstrap.Datepicker(element, { vcpOptions: { disableDatesPast: true, // Disable past dates disableWeekdays: [0, 6], // Disable weekends - disableDates: ['2025-12-25', '2025-12-26'], // Disable specific dates - selectedHolidays: ['2025-01-01'], // Highlight holidays + disableDates: ['2026-12-25', '2026-12-26'], // Disable specific dates + selectedHolidays: ['2026-01-01'], // Highlight holidays selectionTimeMode: 24 // Enable 24-hour time selection } }) diff --git a/site/src/scss/docs.scss b/site/src/scss/docs.scss index 11f10280bc..62ad42dee4 100644 --- a/site/src/scss/docs.scss +++ b/site/src/scss/docs.scss @@ -1,5 +1,5 @@ /* Bootstrap Docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/src/scss/docs_search.scss b/site/src/scss/docs_search.scss index f1e7151d6c..2a4593d114 100644 --- a/site/src/scss/docs_search.scss +++ b/site/src/scss/docs_search.scss @@ -1,6 +1,6 @@ /*! * Bootstrap Docs (https://getbootstrap.com/) - * Copyright 2024-2025 The Bootstrap Authors + * Copyright 2024-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. * For details, see https://creativecommons.org/licenses/by/3.0/. */ diff --git a/site/static/docs/[version]/assets/js/color-modes.js b/site/static/docs/[version]/assets/js/color-modes.js index 18bc849443..bceb702de1 100644 --- a/site/static/docs/[version]/assets/js/color-modes.js +++ b/site/static/docs/[version]/assets/js/color-modes.js @@ -1,6 +1,6 @@ /*! * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors + * Copyright 2011-2026 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. */