refactor(design-system): merge n8n square button into n8n button (#4075)

* feat(design-system): button as square shape

* refactor(editor-ui): drop n8n-square-button in favor of n8n-button

* refactor(design-system): remove obsolete n8n-square-button

* fix(design-system): icon only square button icon position

* fix(design-system): icon only square button icon position

* chore(design-system): update button test snapshot

* fix(design-system): overriding default square button styles

* fix(editor-ui): using tertiary button variant in survey without local style overrides

* refactor(design-system): simplifying and partially merging icon-button and button

* fix(design-system): remove unused prop from icon-button

* fix(design-system): square button should have the old dimensions

* fix(design-system): square button update test snapshots
This commit is contained in:
Csaba Tuncsik
2022-09-15 11:41:12 +02:00
committed by GitHub
parent 98ed207607
commit ec2c55211c
11 changed files with 49 additions and 131 deletions

View File

@@ -165,3 +165,9 @@ WithIcon.args = {
icon: 'plus-circle',
};
export const Square = AllColorsAndSizesTemplate.bind({});
Square.args = {
label: '48',
square: true,
};