@okam/stack-ui 1.35.0 → 1.35.2
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/components/fields/SearchField/interface.d.ts +1 -0
- package/components/fields/Select/Select.d.ts +1 -1
- package/index125.js +1 -1
- package/index125.mjs +9 -9
- package/index141.js +1 -1
- package/index141.mjs +23 -23
- package/index142.js +1 -1
- package/index142.mjs +3 -3
- package/index147.js +1 -1
- package/index147.mjs +1 -1
- package/index152.js +1 -1
- package/index152.mjs +1 -1
- package/index16.js +1 -1
- package/index16.mjs +133 -131
- package/index178.js +1 -1
- package/index178.mjs +122 -201
- package/index179.js +1 -1
- package/index179.mjs +130 -60
- package/index18.js +1 -1
- package/index18.mjs +22 -22
- package/index180.js +1 -1
- package/index180.mjs +44 -143
- package/index181.js +1 -1
- package/index181.mjs +14 -124
- package/index182.js +1 -1
- package/index182.mjs +87 -216
- package/index183.js +1 -1
- package/index183.mjs +102 -186
- package/index184.js +1 -1
- package/index184.mjs +4 -69
- package/index185.js +1 -1
- package/index185.mjs +3 -279
- package/index186.js +1 -1
- package/index186.mjs +119 -92
- package/index187.js +1 -1
- package/index187.mjs +23 -182
- package/index188.js +1 -1
- package/index188.mjs +51 -84
- package/index189.js +1 -1
- package/index189.mjs +44 -58
- package/index190.js +1 -1
- package/index190.mjs +35 -124
- package/index191.js +1 -1
- package/index191.mjs +110 -113
- package/index192.js +1 -1
- package/index192.mjs +74 -119
- package/index193.js +1 -1
- package/index193.mjs +101 -72
- package/index194.js +1 -1
- package/index194.mjs +98 -111
- package/index195.js +1 -1
- package/index195.mjs +197 -46
- package/index196.js +1 -1
- package/index196.mjs +57 -86
- package/index197.js +1 -1
- package/index197.mjs +138 -65
- package/index198.js +1 -1
- package/index198.mjs +121 -53
- package/index199.js +1 -1
- package/index199.mjs +218 -93
- package/index200.js +1 -5
- package/index200.mjs +187 -77
- package/index201.js +1 -1
- package/index201.mjs +60 -2016
- package/index202.js +1 -1
- package/index202.mjs +277 -57
- package/index203.js +1 -1
- package/index203.mjs +95 -185
- package/index204.js +1 -1
- package/index204.mjs +179 -115
- package/index205.js +1 -1
- package/index205.mjs +81 -131
- package/index206.js +1 -1
- package/index206.mjs +58 -44
- package/index207.js +1 -1
- package/index207.mjs +126 -14
- package/index208.js +1 -1
- package/index208.mjs +113 -92
- package/index209.js +1 -1
- package/index209.mjs +119 -103
- package/index210.js +1 -1
- package/index210.mjs +72 -4
- package/index211.js +1 -1
- package/index211.mjs +110 -3
- package/index212.js +1 -1
- package/index212.mjs +51 -124
- package/index213.js +1 -1
- package/index213.mjs +93 -29
- package/index214.js +1 -1
- package/index214.mjs +70 -51
- package/index215.js +1 -1
- package/index215.mjs +56 -44
- package/index216.js +1 -1
- package/index216.mjs +98 -36
- package/index217.js +5 -1
- package/index217.mjs +78 -111
- package/index218.js +1 -1
- package/index218.mjs +2021 -73
- package/index219.js +1 -1
- package/index219.mjs +57 -99
- package/index220.js +1 -1
- package/index220.mjs +189 -98
- package/index232.js +1 -1
- package/index232.mjs +4 -130
- package/index233.js +1 -1
- package/index233.mjs +123 -183
- package/index234.js +1 -1
- package/index234.mjs +189 -8
- package/index235.js +1 -1
- package/index235.mjs +9 -3
- package/index236.js +1 -1
- package/index236.mjs +3 -36
- package/index237.js +1 -1
- package/index237.mjs +36 -5
- package/index238.js +1 -1
- package/index238.mjs +5 -29
- package/index239.js +1 -1
- package/index239.mjs +29 -6
- package/index240.js +1 -1
- package/index240.mjs +6 -4
- package/package.json +2 -29
package/index237.mjs
CHANGED
|
@@ -1,8 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function m(d) {
|
|
2
|
+
const {
|
|
3
|
+
effect: s,
|
|
4
|
+
swiper: e,
|
|
5
|
+
on: r,
|
|
6
|
+
setTranslate: f,
|
|
7
|
+
setTransition: p,
|
|
8
|
+
overwriteParams: n,
|
|
9
|
+
perspective: o,
|
|
10
|
+
recreateShadows: l,
|
|
11
|
+
getEffectParams: c
|
|
12
|
+
} = d;
|
|
13
|
+
r("beforeInit", () => {
|
|
14
|
+
if (e.params.effect !== s) return;
|
|
15
|
+
e.classNames.push(`${e.params.containerModifierClass}${s}`), o && o() && e.classNames.push(`${e.params.containerModifierClass}3d`);
|
|
16
|
+
const a = n ? n() : {};
|
|
17
|
+
Object.assign(e.params, a), Object.assign(e.originalParams, a);
|
|
18
|
+
}), r("setTranslate", () => {
|
|
19
|
+
e.params.effect === s && f();
|
|
20
|
+
}), r("setTransition", (a, i) => {
|
|
21
|
+
e.params.effect === s && p(i);
|
|
22
|
+
}), r("transitionEnd", () => {
|
|
23
|
+
if (e.params.effect === s && l) {
|
|
24
|
+
if (!c || !c().slideShadows) return;
|
|
25
|
+
e.slides.forEach((a) => {
|
|
26
|
+
a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((i) => i.remove());
|
|
27
|
+
}), l();
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
let t;
|
|
31
|
+
r("virtualUpdate", () => {
|
|
32
|
+
e.params.effect === s && (e.slides.length || (t = !0), requestAnimationFrame(() => {
|
|
33
|
+
t && e.slides && e.slides.length && (f(), t = !1);
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
5
36
|
}
|
|
6
37
|
export {
|
|
7
|
-
|
|
38
|
+
m as e
|
|
8
39
|
};
|
package/index238.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index234.js");function r(c,t){const e=i.g(t);return e!==t&&(e.style.backfaceVisibility="hidden",e.style["-webkit-backface-visibility"]="hidden"),e}exports.e=r;
|
package/index238.mjs
CHANGED
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
duration: o,
|
|
6
|
-
transformElements: s,
|
|
7
|
-
allSlides: l
|
|
8
|
-
} = a;
|
|
9
|
-
const {
|
|
10
|
-
activeIndex: d
|
|
11
|
-
} = e, c = (n) => n.parentElement ? n.parentElement : e.slides.filter((t) => t.shadowRoot && t.shadowRoot === n.parentNode)[0];
|
|
12
|
-
if (e.params.virtualTranslate && o !== 0) {
|
|
13
|
-
let n = !1, r;
|
|
14
|
-
l ? r = s : r = s.filter((t) => {
|
|
15
|
-
const i = t.classList.contains("swiper-slide-transform") ? c(t) : t;
|
|
16
|
-
return e.getSlideIndex(i) === d;
|
|
17
|
-
}), r.forEach((t) => {
|
|
18
|
-
f(t, () => {
|
|
19
|
-
if (n || !e || e.destroyed) return;
|
|
20
|
-
n = !0, e.animating = !1;
|
|
21
|
-
const i = new window.CustomEvent("transitionend", {
|
|
22
|
-
bubbles: !0,
|
|
23
|
-
cancelable: !0
|
|
24
|
-
});
|
|
25
|
-
e.wrapperEl.dispatchEvent(i);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
1
|
+
import { g as i } from "./index234.mjs";
|
|
2
|
+
function r(a, t) {
|
|
3
|
+
const e = i(t);
|
|
4
|
+
return e !== t && (e.style.backfaceVisibility = "hidden", e.style["-webkit-backface-visibility"] = "hidden"), e;
|
|
29
5
|
}
|
|
30
6
|
export {
|
|
31
|
-
|
|
7
|
+
r as e
|
|
32
8
|
};
|
package/index239.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index234.js");function f(a){let{swiper:e,duration:l,transformElements:s,allSlides:o}=a;const{activeIndex:d}=e,u=n=>n.parentElement?n.parentElement:e.slides.filter(t=>t.shadowRoot&&t.shadowRoot===n.parentNode)[0];if(e.params.virtualTranslate&&l!==0){let n=!1,r;o?r=s:r=s.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?u(t):t;return e.getSlideIndex(i)===d}),r.forEach(t=>{c.k(t,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const i=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(i)})})}}exports.e=f;
|
package/index239.mjs
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { k as f } from "./index234.mjs";
|
|
2
|
+
function p(a) {
|
|
3
|
+
let {
|
|
4
|
+
swiper: e,
|
|
5
|
+
duration: o,
|
|
6
|
+
transformElements: s,
|
|
7
|
+
allSlides: l
|
|
8
|
+
} = a;
|
|
9
|
+
const {
|
|
10
|
+
activeIndex: d
|
|
11
|
+
} = e, c = (n) => n.parentElement ? n.parentElement : e.slides.filter((t) => t.shadowRoot && t.shadowRoot === n.parentNode)[0];
|
|
12
|
+
if (e.params.virtualTranslate && o !== 0) {
|
|
13
|
+
let n = !1, r;
|
|
14
|
+
l ? r = s : r = s.filter((t) => {
|
|
15
|
+
const i = t.classList.contains("swiper-slide-transform") ? c(t) : t;
|
|
16
|
+
return e.getSlideIndex(i) === d;
|
|
17
|
+
}), r.forEach((t) => {
|
|
18
|
+
f(t, () => {
|
|
19
|
+
if (n || !e || e.destroyed) return;
|
|
20
|
+
n = !0, e.animating = !1;
|
|
21
|
+
const i = new window.CustomEvent("transitionend", {
|
|
22
|
+
bubbles: !0,
|
|
23
|
+
cancelable: !0
|
|
24
|
+
});
|
|
25
|
+
e.wrapperEl.dispatchEvent(i);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
6
29
|
}
|
|
7
30
|
export {
|
|
8
|
-
|
|
31
|
+
p as e
|
|
9
32
|
};
|
package/index240.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index234.js");function l(t,a,o){const s=`swiper-slide-shadow${o?`-${o}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=r.g(a);let e=i.querySelector(`.${s.split(" ").join(".")}`);return e||(e=r.c("div",s.split(" ")),i.append(e)),e}exports.c=l;
|
package/index240.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { g as i, c as l } from "./index234.mjs";
|
|
2
|
+
function d(s, r, o) {
|
|
3
|
+
const a = `swiper-slide-shadow${o ? `-${o}` : ""}${s ? ` swiper-slide-shadow-${s}` : ""}`, t = i(r);
|
|
4
|
+
let e = t.querySelector(`.${a.split(" ").join(".")}`);
|
|
5
|
+
return e || (e = l("div", a.split(" ")), t.append(e)), e;
|
|
4
6
|
}
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
d as c
|
|
7
9
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/stack-ui",
|
|
3
3
|
"main": "./index.js",
|
|
4
|
-
"version": "1.35.
|
|
4
|
+
"version": "1.35.2",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -22,37 +22,10 @@
|
|
|
22
22
|
"url": "https://github.com/OKAMca/stack.git"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@internationalized/date": "3.8.0",
|
|
26
25
|
"@okam/core-lib": "1.16.0",
|
|
27
26
|
"@okam/logger": "1.1.0",
|
|
28
|
-
"@react-aria/accordion": "^3.0.0-alpha.36",
|
|
29
|
-
"@react-aria/checkbox": "3.15.4",
|
|
30
|
-
"@react-aria/focus": "^3.19.0",
|
|
31
|
-
"@react-aria/i18n": "^3.12.4",
|
|
32
|
-
"@react-aria/overlays": "3.27.0",
|
|
33
|
-
"@react-aria/tabs": "3.10.2",
|
|
34
|
-
"@react-aria/utils": "3.28.2",
|
|
35
|
-
"@react-aria/visually-hidden": "3.8.22",
|
|
36
|
-
"@react-spring/web": "^9.7.5",
|
|
37
|
-
"@react-stately/checkbox": "3.6.13",
|
|
38
|
-
"@react-stately/collections": "3.12.3",
|
|
39
|
-
"@react-stately/overlays": "3.6.15",
|
|
40
|
-
"@react-stately/radio": "3.10.12",
|
|
41
|
-
"@react-stately/tabs": "3.8.1",
|
|
42
|
-
"@react-stately/toggle": "3.8.3",
|
|
43
|
-
"@react-types/radio": "3.8.8",
|
|
44
|
-
"@react-types/shared": "^3.26.0",
|
|
45
|
-
"@react-types/tabs": "3.3.14",
|
|
46
|
-
"radashi": "^12.3.0",
|
|
47
27
|
"react": "18.3.1",
|
|
48
28
|
"react-aria": "^3.39.0",
|
|
49
|
-
"react-
|
|
50
|
-
"react-hook-form": "7.54.0",
|
|
51
|
-
"react-stately": "^3.37.0",
|
|
52
|
-
"react-use": "17.5.1",
|
|
53
|
-
"sanitize-html": "^2.13.1",
|
|
54
|
-
"swiper": "11.1.15",
|
|
55
|
-
"tailwind-variants": "^0.3.0",
|
|
56
|
-
"usehooks-ts": "^3.1.0"
|
|
29
|
+
"react-stately": "^3.37.0"
|
|
57
30
|
}
|
|
58
31
|
}
|