From: Julien Déramond Date: Fri, 26 Jun 2026 03:52:00 +0000 (+0200) Subject: Docs: remove unused CalloutDeprecatedDarkVariants and DeprecatedIn shortcodes (#42563) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=140115affe411dbb31a48c1956a423dbb9ec2cca;p=thirdparty%2Fbootstrap.git Docs: remove unused CalloutDeprecatedDarkVariants and DeprecatedIn shortcodes (#42563) --- diff --git a/site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro b/site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro deleted file mode 100644 index 4033900d96..0000000000 --- a/site/src/components/shortcodes/CalloutDeprecatedDarkVariants.astro +++ /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 ---- - -
-

- Heads up! Dark variants for components were deprecated in v5.3.0 with the introduction of color modes. - Instead of adding .{component}-dark, set data-bs-theme="dark" on the root element, a parent - wrapper, or the component itself. -

-
diff --git a/site/src/components/shortcodes/DeprecatedIn.astro b/site/src/components/shortcodes/DeprecatedIn.astro deleted file mode 100644 index b7ee058621..0000000000 --- a/site/src/components/shortcodes/DeprecatedIn.astro +++ /dev/null @@ -1,17 +0,0 @@ ---- -/* - * Outputs badge to identify the version something was deprecated - */ - -interface Props { - version: string -} - -const { version } = Astro.props ---- - - - Deprecated in v{version} - diff --git a/site/src/types/auto-import.d.ts b/site/src/types/auto-import.d.ts index cfd4fe8c28..d8f958a806 100644 --- a/site/src/types/auto-import.d.ts +++ b/site/src/types/auto-import.d.ts @@ -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