Skip to content
Open
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
48 changes: 22 additions & 26 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 @@ -68,7 +68,7 @@
"fs-extra": "^9.0.1",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"outsystems-design-tokens": "^1.3.8",
"outsystems-design-tokens": "^1.3.9",
"playwright-core": "^1.58.2",
"prettier": "^2.8.8",
"rollup": "^2.26.4",
Expand Down
7 changes: 2 additions & 5 deletions core/src/components/item-option/item-option.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@
color: globals.current-color(contrast);
}

// Item Expandable Animation
// --------------------------------------------------

:host(.item-option-expandable) {
transition-timing-function: globals.$ion-transition-curve-expressive;
:host(.item-option-expand-threshold) {
filter: brightness(0.92);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ ion-item-sliding .item {
user-select: none;
}

.item-sliding-active-slide .item {
position: relative;

transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);

opacity: 1;
z-index: $z-index-item-options + 1;
pointer-events: none;
will-change: transform;
// During drag on native (ios/md), disable transition — matches former inline `transition: none`
.item-sliding-active-slide.item-sliding-dragging .item {
transition: none;
}

.item-sliding-closing ion-item-options {
Expand Down
37 changes: 37 additions & 0 deletions core/src/components/item-sliding/item-sliding.ionic.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@use "./item-sliding.common";
@use "../../themes/ionic/ionic.globals.scss" as globals;

// Transition utility classes
.item-sliding-transition-open .item {
transition: transform globals.$ion-transition-time-250 globals.$ion-transition-curve-smooth;
}

.item-sliding-transition-snapback .item {
transition: transform globals.$ion-transition-time-300 globals.$ion-transition-curve-bounce;
}

// Ionic full-swipe confirm sequence (replaces inline `transition` on item / expandable width)
.item-sliding-ionic-confirm-item-in .item {
transition: transform globals.$ion-transition-time-150 globals.$ion-transition-curve-base;
}

.item-sliding-ionic-confirm-item-back .item {
transition: transform globals.$ion-transition-time-500 globals.$ion-transition-curve-bounce;
}

ion-item-option.item-sliding-expandable-width-in {
transition: width globals.$ion-transition-time-150 globals.$ion-transition-curve-base;
}

ion-item-option.item-sliding-expandable-width-back {
transition: width globals.$ion-transition-time-500 globals.$ion-transition-curve-bounce;
}

.item-sliding-active-slide .item {
position: relative;

opacity: 1;
z-index: globals.$ion-z-index-100;
pointer-events: none;
will-change: transform;
}
18 changes: 18 additions & 0 deletions core/src/components/item-sliding/item-sliding.ios.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@use "./item-sliding.common";
@import "../../themes/native/native.globals";

.item-sliding-active-slide .item {
position: relative;

transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);

opacity: 1;
z-index: $z-index-item-options + 1;
pointer-events: none;
will-change: transform;
}

// Native full-swipe animation (250ms ease-out; replaces inline styles on `ion-item`)
.item-sliding-active-slide.item-sliding-full-swipe-transition .item {
transition: transform 250ms ease-out;
}
18 changes: 18 additions & 0 deletions core/src/components/item-sliding/item-sliding.md.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@use "./item-sliding.common";
@import "../../themes/native/native.globals";

.item-sliding-active-slide .item {
position: relative;

transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);

opacity: 1;
z-index: $z-index-item-options + 1;
pointer-events: none;
will-change: transform;
}

// Native full-swipe animation (250ms ease-out; replaces inline styles on `ion-item`)
.item-sliding-active-slide.item-sliding-full-swipe-transition .item {
transition: transform 250ms ease-out;
}
Loading
Loading