From 1a599a655c29883076eadabbab02ed94a1928662 Mon Sep 17 00:00:00 2001 From: Westbrook Johnson Date: Tue, 20 Oct 2020 16:29:09 -0400 Subject: [PATCH] feat(dialog): use latest @spectrum-css/dialog beta MIGRATION: `sp-dialog` no longer supports the `open` attribute and will be open by default MIGRATION: `sp-dialog`'s `title` slot renamed to `heading` MIGRATION: `dismissible` attribute renamed to `dismissable` --- packages/dialog/dialog-wrapper.md | 39 +- packages/dialog/package.json | 3 +- packages/dialog/src/dialog-wrapper.css | 13 - packages/dialog/src/dialog.css | 74 ++- packages/dialog/src/spectrum-config.js | 60 +- .../dialog/src/spectrum-dialog-wrapper.css | 112 ---- packages/dialog/src/spectrum-dialog.css | 560 ++++++++---------- packages/dialog/test/dialog-wrapper.test.ts | 12 +- packages/dialog/test/dialog.test.ts | 15 +- 9 files changed, 378 insertions(+), 510 deletions(-) delete mode 100644 packages/dialog/src/dialog-wrapper.css delete mode 100644 packages/dialog/src/spectrum-dialog-wrapper.css diff --git a/packages/dialog/dialog-wrapper.md b/packages/dialog/dialog-wrapper.md index 41e76c41d0..f4e61d3114 100644 --- a/packages/dialog/dialog-wrapper.md +++ b/packages/dialog/dialog-wrapper.md @@ -31,7 +31,7 @@ import { DialogWrapper } from '@spectrum-web-components/dialog';