-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plate): subAddons slot, on/off border&shadow&borderRadius, new v…
…iew 'custom' (#158) * feat: subAddons slot, on/of border&shadow&borderRadis, new view 'custom' * fix: element alignment, rework subAddons render * refactor: rework buttons render * chore: update screenshots * fix: fix alignment children withoout title and any addons * fix: component padding * docs(plate): update docs * fix(plate): fix jumping component on border turn off/on * docs: fix regexp for css-vars block (#161) * fix(plate): fix otline * refactor(plate): buttonList components for render Buttons, ds * fix(plate): update screenshots * fix(plate): fix defautlt buttons margins, rect plate in docs * fix(plate): fix test * fix(plate): use variable for left border Co-authored-by: Developer <developer@MacBook-Pro-som-tillhor-admin.local> Co-authored-by: EGNKupava <62112300+EGNKupava@users.noreply.github.com>
- Loading branch information
1 parent
be5c1a1
commit b2fc570
Showing
26 changed files
with
507 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/alert/src/__image_snapshots__/alert-screenshots-views-view-0-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
packages/alert/src/__image_snapshots__/alert-screenshots-views-view-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
packages/alert/src/__image_snapshots__/alert-screenshots-views-view-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
packages/alert/src/__image_snapshots__/alert-screenshots-views-view-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...c/__image_snapshots__/alert-screenshots-with-buttons-buttons-0-title-0-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...c/__image_snapshots__/alert-screenshots-with-buttons-buttons-0-title-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions
5
...apshots__/alert-screenshots-with-title-and-closer-title-0-has-closer-0-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...apshots__/alert-screenshots-with-title-and-closer-title-0-has-closer-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions
5
...apshots__/alert-screenshots-with-title-and-closer-title-1-has-closer-0-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...apshots__/alert-screenshots-with-title-and-closer-title-1-has-closer-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,9 @@ | ||
@import '../../themes/src/default.css'; | ||
|
||
.component { | ||
border-radius: var(--border-radius-xs) 0 0 var(--border-radius-xs); | ||
border-top: 0; | ||
border-right: 0; | ||
border-bottom: 0; | ||
border-left-width: 2px; | ||
padding-top: var(--gap-s); | ||
padding-bottom: var(--gap-s); | ||
padding-right: var(--gap-s); | ||
min-height: 48px; | ||
} | ||
|
||
.buttons { | ||
margin-top: var(--gap-m); | ||
} | ||
|
||
.title { | ||
@mixin accent_primary_medium; | ||
} | ||
|
||
.content { | ||
max-width: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.