From ab46914922c08fa8957435074f901d4ffb3a1c6e Mon Sep 17 00:00:00 2001 From: Matheus Rosa Date: Fri, 17 Jan 2025 11:41:57 -0300 Subject: [PATCH] docs(modal): add css custom properties --- .../components/modal/stories/modal.args.ts | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/packages/core/src/components/modal/stories/modal.args.ts b/packages/core/src/components/modal/stories/modal.args.ts index 06465581e..0895f3982 100644 --- a/packages/core/src/components/modal/stories/modal.args.ts +++ b/packages/core/src/components/modal/stories/modal.args.ts @@ -168,6 +168,42 @@ export const ModalStoryArgs = { category: Category.CSS_CUSTOM_PROPERTIES, }, }, + '--height': { + description: 'Height of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, + '--max-height': { + description: 'Maximum height of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, + '--max-width': { + description: 'Maximum width of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, + '--min-height': { + description: 'Minimum height of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, + '--min-width': { + description: 'Minimum width of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, + '--width': { + description: 'Width of the modal.', + table: { + category: Category.CSS_CUSTOM_PROPERTIES, + }, + }, present: { description: 'Method to present the modal overlay after it has been created.',