Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"fs-extra": "^9.0.1",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"outsystems-design-tokens": "^2.5.0",
"outsystems-design-tokens": "^2.6.0",
"playwright-core": "^1.64.0",
"prettier": "^2.8.8",
"rollup": "^2.26.4",
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/action-sheet/action-sheet.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// --------------------------------------------------

:host {
--background: #{globals.$ion-bg-surface-default};
--background: #{globals.$ion-bg-surface-elevation-3};
--backdrop-opacity: 0.7;
--button-background: transparent;
--button-background-selected: #{globals.$ion-bg-primary-subtle-default};
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/alert/alert.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// --------------------------------------------------

:host {
--background: #{globals.$ion-bg-surface-default};
--background: #{globals.$ion-bg-surface-elevation-3};
Comment thread
BenOsodrac marked this conversation as resolved.
Resolved
--max-width: #{globals.$ion-scale-7400};
--backdrop-opacity: 0.7;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 core/src/components/modal/modal.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// --------------------------------------------------

:host {
--background: #{globals.$ion-bg-surface-default};
--box-shadow: #{globals.$ion-elevation-3};
--background: #{globals.$ion-bg-surface-elevation-3};
Comment thread
BenOsodrac marked this conversation as resolved.
Resolved
Comment thread
BenOsodrac marked this conversation as resolved.
Resolved
--box-shadow: #{globals.$ion-elevation-4};
// Backdrop opacity is 1 because the backdrop's background color has an alpha value
--backdrop-opacity: 0.7;

Expand Down
3 changes: 2 additions & 1 deletion core/src/components/popover/popover.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
:host {
--width: 250px;
--max-height: 90%;
--box-shadow: #{globals.$ion-elevation-4};
--background: #{globals.$ion-bg-surface-elevation-3};
--box-shadow: #{globals.$ion-elevation-3};
--backdrop-opacity: 0.3;
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion core/src/components/toast/toast.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// --------------------------------------------------

:host {
--box-shadow: #{globals.$ion-elevation-4};
--box-shadow: #{globals.$ion-elevation-2};
--max-width: 343px;
--start: #{globals.$ion-space-200};
--end: #{globals.$ion-space-200};
Expand Down
14 changes: 14 additions & 0 deletions core/src/css/ionic/core.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ body.backdrop-no-scroll {
overflow: hidden;
}

// Overlay Surfaces
// --------------------------------------------------

/**
* Modals and popovers use the elevated panel surface. The components
* slotted inside them paint their own opaque surface background, which
* would cover the overlay's fill, so they default to the same panel
* surface. `:where()` keeps the specificity at zero so any consumer
* `--background` override on these components still applies.
*/
:where(html.ionic ion-modal, html.ionic ion-popover) :where(ion-content, ion-toolbar, ion-item:not(ion-card ion-item)) {
--background: #{globals.$ion-bg-surface-elevation-3};
}

// Modal - Card Style
// --------------------------------------------------

Expand Down
12 changes: 8 additions & 4 deletions core/src/foundations/ionic.vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ $ion-primitives-neutral-1100: var(--token-primitives-neutral-1100, #2c3238);
$ion-primitives-neutral-1100-rgb: var(--token-primitives-neutral-1100-rgb, 44, 50, 56);
$ion-primitives-neutral-1200: var(--token-primitives-neutral-1200, #242528);
$ion-primitives-neutral-1200-rgb: var(--token-primitives-neutral-1200-rgb, 36, 37, 40);
$ion-primitives-base-white: var(--token-primitives-base-white, #ffffff);
$ion-primitives-base-white-rgb: var(--token-primitives-base-white-rgb, 255, 255, 255);
$ion-primitives-base-black: var(--token-primitives-base-black, #131518);
$ion-primitives-base-black-rgb: var(--token-primitives-base-black-rgb, 19, 21, 24);
$ion-primitives-red-100: var(--token-primitives-red-100, #ffeff1);
$ion-primitives-red-100-rgb: var(--token-primitives-red-100-rgb, 255, 239, 241);
$ion-primitives-red-200: var(--token-primitives-red-200, #fcd8dc);
Expand Down Expand Up @@ -363,6 +359,10 @@ $ion-primitives-pink-1100: var(--token-primitives-pink-1100, #860853);
$ion-primitives-pink-1100-rgb: var(--token-primitives-pink-1100-rgb, 134, 8, 83);
$ion-primitives-pink-1200: var(--token-primitives-pink-1200, #69083d);
$ion-primitives-pink-1200-rgb: var(--token-primitives-pink-1200-rgb, 105, 8, 61);
$ion-primitives-base-white: var(--token-primitives-base-white, #ffffff);
$ion-primitives-base-white-rgb: var(--token-primitives-base-white-rgb, 255, 255, 255);
$ion-primitives-base-black: var(--token-primitives-base-black, #131518);
$ion-primitives-base-black-rgb: var(--token-primitives-base-black-rgb, 19, 21, 24);

// Scale
$ion-scale-0: var(--token-scale-0, 0px);
Expand Down Expand Up @@ -597,6 +597,10 @@ $ion-bg-surface-default-rgb: var(--token-bg-surface-default-rgb, 255, 255, 255);
$ion-bg-surface-inverse: var(--token-bg-surface-inverse, $ion-primitives-base-white);
$ion-bg-surface-inverse-rgb: var(--token-bg-surface-inverse-rgb, 255, 255, 255);
$ion-bg-surface-blur: var(--token-bg-surface-blur, rgba(255, 255, 255, 0.8));
$ion-bg-surface-elevation-2: var(--token-bg-surface-elevation-2, $ion-primitives-base-white);
$ion-bg-surface-elevation-2-rgb: var(--token-bg-surface-elevation-2-rgb, 255, 255, 255);
$ion-bg-surface-elevation-3: var(--token-bg-surface-elevation-3, $ion-primitives-base-white);
$ion-bg-surface-elevation-3-rgb: var(--token-bg-surface-elevation-3-rgb, 255, 255, 255);
$ion-bg-primary-base-default: var(--token-bg-primary-base-default, $ion-semantics-primary-base);
$ion-bg-primary-base-default-rgb: var(--token-bg-primary-base-default-rgb, 16, 92, 239);
$ion-bg-primary-base-hover: var(--token-bg-primary-base-hover, $ion-semantics-primary-800);
Expand Down
Loading