From 376d52427877dc34c5c10f15e297ffd3f8705cd0 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Mon, 25 Jul 2022 13:13:19 +0000 Subject: [PATCH] docs: build docs --- static/arguments.yml | 5 +++++ static/constants.json | 18 ++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/static/arguments.yml b/static/arguments.yml index 16897cf591..6c6ae92ef3 100644 --- a/static/arguments.yml +++ b/static/arguments.yml @@ -40,6 +40,11 @@ type: String default: N/A description: The title of the dialog. + - name: width + type: Symbol + default: "`:medium`" + description: The width of the dialog. One of `:large`, `:medium`, `:small`, `:xlarge`, + or `:xxlarge`. - name: system_arguments type: Hash default: N/A diff --git a/static/constants.json b/static/constants.json index aac2f9b513..9ea25f2e2f 100644 --- a/static/constants.json +++ b/static/constants.json @@ -45,6 +45,21 @@ ] }, "Primer::Alpha::Dialog": { + "DEFAULT_WIDTH": "medium", + "WIDTH_MAPPINGS": { + "small": "Overlay--width-small", + "medium": "Overlay--width-medium", + "large": "Overlay--width-large", + "xlarge": "Overlay--width-xlarge", + "xxlarge": "Overlay--width-xxlarge" + }, + "WIDTH_OPTIONS": [ + "small", + "medium", + "large", + "xlarge", + "xxlarge" + ] }, "Primer::Alpha::Layout": { "FIRST_IN_SOURCE_DEFAULT": "sidebar", @@ -375,8 +390,7 @@ } }, "Primer::Dropdown": { - "Menu": "Primer::Dropdown::Menu", - "MenuTest": "Primer::Dropdown::MenuTest" + "Menu": "Primer::Dropdown::Menu" }, "Primer::Dropdown::Menu": { "AS_DEFAULT": "default",