]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: remove unused CalloutDeprecatedDarkVariants and DeprecatedIn shortcodes (#42563)
authorJulien Déramond <juderamond@gmail.com>
Fri, 26 Jun 2026 03:52:00 +0000 (05:52 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 03:52:00 +0000 (05:52 +0200)
site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro [deleted file]
site/src/components/shortcodes/DeprecatedIn.astro [deleted file]
site/src/types/auto-import.d.ts

diff --git a/site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro b/site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro
deleted file mode 100644 (file)
index 4033900..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
----
-/*
- * Outputs message about dark mode component variants being deprecated in v5.3.
- */
-
-interface Props {
-  component: string
-}
-
-const { component } = Astro.props
----
-
-<div class="bd-callout bd-callout-warning">
-  <p>
-    <strong>Heads up!</strong> Dark variants for components were deprecated in v5.3.0 with the introduction of color modes.
-    Instead of adding <code>.{component}-dark</code>, set <code>data-bs-theme="dark"</code> on the root element, a parent
-    wrapper, or the component itself.
-  </p>
-</div>
diff --git a/site/src/components/shortcodes/DeprecatedIn.astro b/site/src/components/shortcodes/DeprecatedIn.astro
deleted file mode 100644 (file)
index b7ee058..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
----
-/*
- * Outputs badge to identify the version something was deprecated
- */
-
-interface Props {
-  version: string
-}
-
-const { version } = Astro.props
----
-
-<small
-  class="d-inline-flex mb-3 px-2 py-1 fw-semibold fg-emphasis-warning bg-warning-subtle border border-warning-subtle rounded-2"
->
-  Deprecated in v{version}
-</small>
index cfd4fe8c28f749f137daef4e09824a64133611f7..d8f958a8060ee64f71d486851ac573cd69f546f4 100644 (file)
@@ -10,11 +10,9 @@ export declare global {
   export const ButtonPlayground: typeof import('@shortcodes/ButtonPlayground.astro').default
   export const CSSVariables: typeof import('@shortcodes/CSSVariables.astro').default
   export const Callout: typeof import('@shortcodes/Callout.astro').default
-  export const CalloutDeprecatedDarkVariants: typeof import('@shortcodes/CalloutDeprecatedDarkVariants.astro').default
   export const CloseButton: typeof import('@shortcodes/CloseButton.astro').default
   export const Code: typeof import('@shortcodes/Code.astro').default
   export const CodeCopy: typeof import('@shortcodes/CodeCopy.astro').default
-  export const DeprecatedIn: typeof import('@shortcodes/DeprecatedIn.astro').default
   export const Details: typeof import('@shortcodes/Details.astro').default
   export const Example: typeof import('@shortcodes/Example.astro').default
   export const JsDismiss: typeof import('@shortcodes/JsDismiss.astro').default