From 1ad8f6e6d14391cdabf4bd991080ee185cfe16cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Teixeira?= Date: Thu, 9 May 2024 17:00:28 +0100 Subject: [PATCH] chore(modal): update examples and default size (#72) --- .changeset/violet-kids-explode.md | 5 +++++ .../ui/docs/pages/component/modal/composed.vue | 1 + packages/ui/docs/pages/component/modal/usage.vue | 15 +++++++++------ packages/ui/src/components/modal/Modal.vue | 5 ++++- .../components/modal/theme/Modal.base.theme.ts | 3 ++- .../components/modal/theme/Modal.carbon.theme.ts | 1 + 6 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 .changeset/violet-kids-explode.md diff --git a/.changeset/violet-kids-explode.md b/.changeset/violet-kids-explode.md new file mode 100644 index 00000000..a51f9d0f --- /dev/null +++ b/.changeset/violet-kids-explode.md @@ -0,0 +1,5 @@ +--- +"@indielayer/ui": patch +--- + +chore(modal): update examples and default size diff --git a/packages/ui/docs/pages/component/modal/composed.vue b/packages/ui/docs/pages/component/modal/composed.vue index a9094f92..ea64d8f0 100644 --- a/packages/ui/docs/pages/component/modal/composed.vue +++ b/packages/ui/docs/pages/component/modal/composed.vue @@ -33,6 +33,7 @@ function onSubmit(isValid: boolean) { show-close backdrop is-form + size="full" title="Modal title" label="Modal label" description="Lorem ipsum dolor, sit amet consectetur adipisicing elit. Sapiente, fugit." diff --git a/packages/ui/docs/pages/component/modal/usage.vue b/packages/ui/docs/pages/component/modal/usage.vue index 6e78179e..ef1e9045 100644 --- a/packages/ui/docs/pages/component/modal/usage.vue +++ b/packages/ui/docs/pages/component/modal/usage.vue @@ -7,13 +7,16 @@ const show3 = ref(false)