From 7cc2c89f92f618f85701367e7bb0fb6ea66bde92 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 26 Aug 2022 10:43:12 -0400 Subject: [PATCH] remove responsive media --- docs/_sidebar.md | 1 - docs/components/responsive-media.md | 91 ------------------- docs/resources/changelog.md | 3 + .../responsive-media.styles.ts | 36 -------- .../responsive-media/responsive-media.ts | 52 ----------- src/shoelace.ts | 1 - 6 files changed, 3 insertions(+), 181 deletions(-) delete mode 100644 docs/components/responsive-media.md delete mode 100644 src/components/responsive-media/responsive-media.styles.ts delete mode 100644 src/components/responsive-media/responsive-media.ts diff --git a/docs/_sidebar.md b/docs/_sidebar.md index ba738bc1..84e9158e 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -80,7 +80,6 @@ - [Popup](/components/popup) - [Relative Time](/components/relative-time) - [Resize Observer](/components/resize-observer) - - [Responsive Media](/components/responsive-media) - [Visually Hidden](/components/visually-hidden) - Design Tokens diff --git a/docs/components/responsive-media.md b/docs/components/responsive-media.md deleted file mode 100644 index bdb96bad..00000000 --- a/docs/components/responsive-media.md +++ /dev/null @@ -1,91 +0,0 @@ -# Responsive Media - -[component-header:sl-responsive-media] - -Displays media in the desired aspect ratio. - -You can slot in any [replaced element](https://developer.mozilla.org/en-US/docs/Web/CSS/Replaced_element), including ` - -``` - -```jsx react -import { SlResponsiveMedia } from '@shoelace-style/shoelace/dist/react'; - -const App = () => ( - -