-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuild mobile navigator without Onsen, and add smooth swipe behaviour (
- Loading branch information
1 parent
465c493
commit 89c9a44
Showing
21 changed files
with
518 additions
and
398 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file belongs to Hoist, an application development toolkit | ||
* developed by Extremely Heavy Industries (www.xh.io | [email protected]) | ||
* | ||
* Copyright © 2025 Extremely Heavy Industries Inc. | ||
*/ | ||
import {elementFactory} from '@xh/hoist/core'; | ||
import {Swiper, SwiperSlide} from 'swiper/react'; | ||
import {EffectCreative} from 'swiper/modules'; | ||
import './styles.scss'; | ||
|
||
export {Swiper, SwiperSlide, EffectCreative}; | ||
export const swiper = elementFactory(Swiper), | ||
swiperSlide = elementFactory(SwiperSlide); |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import 'swiper/scss'; | ||
@import 'swiper/scss/effect-creative'; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* This file belongs to Hoist, an application development toolkit | ||
* developed by Extremely Heavy Industries (www.xh.io | [email protected]) | ||
* | ||
* Copyright © 2025 Extremely Heavy Industries Inc. | ||
*/ | ||
.xh-navigator { | ||
width: 100%; | ||
height: 100%; | ||
|
||
.swiper-slide { | ||
box-shadow: | ||
0 0 0 1px var(--xh-border-color), | ||
0 0 20px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.div.swiper-container { | ||
touch-action: pan-x; | ||
} | ||
} |
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.