@salla.sa/twilight-components 2.9.37 → 2.9.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -14
- package/dist/{components/salla-swiper2.js → cjs/core-c7a9fb22.js} +17 -84
- package/dist/cjs/index-1d2b3370.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{salla-button_32.cjs.entry.js → salla-button_33.cjs.entry.js} +2188 -5134
- package/dist/cjs/salla-swiper.cjs.entry.js +62 -0
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +2 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +9 -100
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +34 -24
- package/dist/collection/components/salla-slider/salla-slider.css +173 -0
- package/dist/collection/components/salla-slider/salla-slider.js +986 -0
- package/dist/collection/global/app-dev.js +1 -1
- package/dist/components/arrow-left.js +11 -0
- package/dist/components/core.js +4959 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/salla-cart-summary.js +2 -2
- package/dist/components/salla-gifting.js +6 -5
- package/dist/components/salla-loyalty.js +4 -4
- package/dist/components/salla-offer-modal.js +23 -104
- package/dist/components/salla-rating-stars2.js +1 -1
- package/dist/components/salla-scopes.js +25 -12
- package/dist/components/salla-slider.d.ts +11 -0
- package/dist/components/salla-slider.js +9 -0
- package/dist/components/salla-slider2.js +2036 -0
- package/dist/components/salla-swiper.js +84 -1
- package/dist/esm/core-572aabd0.js +4973 -0
- package/dist/esm/index-f1d446ac.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{salla-button_32.entry.js → salla-button_33.entry.js} +2028 -4975
- package/dist/esm/salla-swiper.entry.js +58 -0
- package/dist/esm/twilight.js +1 -1
- package/dist/esm-es5/core-572aabd0.js +4 -0
- package/dist/esm-es5/index-f1d446ac.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-button_33.entry.js +34 -0
- package/dist/esm-es5/salla-swiper.entry.js +4 -0
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/p-00e66d1a.system.js +4 -0
- package/dist/twilight/p-684a004a.system.entry.js +4 -0
- package/dist/twilight/p-6ed7d3a2.js +4 -0
- package/dist/twilight/p-6f94dcce.entry.js +22 -0
- package/dist/twilight/p-79eae6ae.system.entry.js +34 -0
- package/dist/twilight/p-b9c3815f.system.js +1 -1
- package/dist/twilight/p-e8c3c209.entry.js +4 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-offer-modal/salla-offer-modal.d.ts +0 -1
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -0
- package/dist/types/components/salla-slider/salla-slider.d.ts +149 -0
- package/dist/types/components.d.ts +146 -0
- package/package.json +4 -4
- package/dist/cjs/salla-scopes.cjs.entry.js +0 -167
- package/dist/cjs/search-b487cc49.js +0 -13
- package/dist/esm/salla-scopes.entry.js +0 -163
- package/dist/esm/search-19ea3313.js +0 -11
- package/dist/esm-es5/salla-button_32.entry.js +0 -34
- package/dist/esm-es5/salla-scopes.entry.js +0 -4
- package/dist/esm-es5/search-19ea3313.js +0 -4
- package/dist/twilight/p-475ef754.js +0 -4
- package/dist/twilight/p-6d34d337.entry.js +0 -4
- package/dist/twilight/p-9c0c939c.system.entry.js +0 -4
- package/dist/twilight/p-c2a91680.entry.js +0 -22
- package/dist/twilight/p-c4c7f97c.system.entry.js +0 -34
- package/dist/twilight/p-fd444b25.system.js +0 -4
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swiper 8.3.2
|
|
3
|
+
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
|
+
* https://swiperjs.com
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2014-2022 Vladimir Kharlampidi
|
|
7
|
+
*
|
|
8
|
+
* Released under the MIT License
|
|
9
|
+
*
|
|
10
|
+
* Released on: July 26, 2022
|
|
11
|
+
*/
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: "swiper-icons";
|
|
14
|
+
src: url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/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RgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
}
|
|
18
|
+
:root {
|
|
19
|
+
--swiper-theme-color: #007aff;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.swiper {
|
|
23
|
+
margin-left: auto;
|
|
24
|
+
margin-right: auto;
|
|
25
|
+
position: relative;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
list-style: none;
|
|
28
|
+
padding: 0;
|
|
29
|
+
/* Fix of Webkit flickering */
|
|
30
|
+
z-index: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.swiper-vertical > .swiper-wrapper {
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.swiper-wrapper {
|
|
38
|
+
position: relative;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
z-index: 1;
|
|
42
|
+
display: flex;
|
|
43
|
+
transition-property: transform;
|
|
44
|
+
box-sizing: content-box;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.swiper-android .swiper-slide,
|
|
48
|
+
.swiper-wrapper {
|
|
49
|
+
transform: translate3d(0px, 0, 0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.swiper-pointer-events {
|
|
53
|
+
touch-action: pan-y;
|
|
54
|
+
}
|
|
55
|
+
.swiper-pointer-events.swiper-vertical {
|
|
56
|
+
touch-action: pan-x;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.swiper-slide {
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
position: relative;
|
|
64
|
+
transition-property: transform;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.swiper-slide-invisible-blank {
|
|
68
|
+
visibility: hidden;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Auto Height */
|
|
72
|
+
.swiper-autoheight,
|
|
73
|
+
.swiper-autoheight .swiper-slide {
|
|
74
|
+
height: auto;
|
|
75
|
+
}
|
|
76
|
+
.swiper-autoheight .swiper-wrapper {
|
|
77
|
+
align-items: flex-start;
|
|
78
|
+
transition-property: transform, height;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.swiper-backface-hidden .swiper-slide {
|
|
82
|
+
transform: translateZ(0);
|
|
83
|
+
backface-visibility: hidden;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* 3D Effects */
|
|
87
|
+
.swiper-3d, .swiper-3d.swiper-css-mode .swiper-wrapper {
|
|
88
|
+
perspective: 1200px;
|
|
89
|
+
}
|
|
90
|
+
.swiper-3d .swiper-wrapper,
|
|
91
|
+
.swiper-3d .swiper-slide,
|
|
92
|
+
.swiper-3d .swiper-slide-shadow,
|
|
93
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
94
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
95
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
96
|
+
.swiper-3d .swiper-slide-shadow-bottom,
|
|
97
|
+
.swiper-3d .swiper-cube-shadow {
|
|
98
|
+
transform-style: preserve-3d;
|
|
99
|
+
}
|
|
100
|
+
.swiper-3d .swiper-slide-shadow,
|
|
101
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
102
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
103
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
104
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
105
|
+
position: absolute;
|
|
106
|
+
left: 0;
|
|
107
|
+
top: 0;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
z-index: 10;
|
|
112
|
+
}
|
|
113
|
+
.swiper-3d .swiper-slide-shadow {
|
|
114
|
+
background: rgba(0, 0, 0, 0.15);
|
|
115
|
+
}
|
|
116
|
+
.swiper-3d .swiper-slide-shadow-left {
|
|
117
|
+
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
118
|
+
}
|
|
119
|
+
.swiper-3d .swiper-slide-shadow-right {
|
|
120
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
121
|
+
}
|
|
122
|
+
.swiper-3d .swiper-slide-shadow-top {
|
|
123
|
+
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
124
|
+
}
|
|
125
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
126
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* CSS Mode */
|
|
130
|
+
.swiper-css-mode > .swiper-wrapper {
|
|
131
|
+
overflow: auto;
|
|
132
|
+
scrollbar-width: none;
|
|
133
|
+
/* For Firefox */
|
|
134
|
+
-ms-overflow-style: none;
|
|
135
|
+
/* For Internet Explorer and Edge */
|
|
136
|
+
}
|
|
137
|
+
.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
.swiper-css-mode > .swiper-wrapper > .swiper-slide {
|
|
141
|
+
scroll-snap-align: start start;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
|
|
145
|
+
scroll-snap-type: x mandatory;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.swiper-vertical.swiper-css-mode > .swiper-wrapper {
|
|
149
|
+
scroll-snap-type: y mandatory;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.swiper-centered > .swiper-wrapper::before {
|
|
153
|
+
content: "";
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
order: 9999;
|
|
156
|
+
}
|
|
157
|
+
.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
158
|
+
margin-inline-start: var(--swiper-centered-offset-before);
|
|
159
|
+
}
|
|
160
|
+
.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
|
|
161
|
+
height: 100%;
|
|
162
|
+
width: var(--swiper-centered-offset-after);
|
|
163
|
+
}
|
|
164
|
+
.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
|
|
165
|
+
margin-block-start: var(--swiper-centered-offset-before);
|
|
166
|
+
}
|
|
167
|
+
.swiper-centered.swiper-vertical > .swiper-wrapper::before {
|
|
168
|
+
width: 100%;
|
|
169
|
+
height: var(--swiper-centered-offset-after);
|
|
170
|
+
}
|
|
171
|
+
.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
172
|
+
scroll-snap-align: center center;
|
|
173
|
+
}
|