@caseparts-org/caseblocks 0.0.60 → 0.0.61
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.
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as c } from "./atoms/Icon/Icon.js";
|
|
3
|
+
import { c as r } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
import './assets/CarouselArrowButtons.css';const _ = "_main_1st4s_1", a = "_viewport_1st4s_4", u = "_track_1st4s_8", i = "_slide_1st4s_12", d = "_button_1st4s_17", l = "_prevButton_1st4s_33", p = "_nextButton_1st4s_36", m = "_carouselDots_1st4s_39", f = "_dot_1st4s_47", v = "_dotSelected_1st4s_55", t = {
|
|
5
|
+
main: _,
|
|
6
|
+
viewport: a,
|
|
7
|
+
track: u,
|
|
8
|
+
slide: i,
|
|
9
|
+
button: d,
|
|
10
|
+
prevButton: l,
|
|
11
|
+
nextButton: p,
|
|
12
|
+
carouselDots: m,
|
|
13
|
+
dot: f,
|
|
14
|
+
dotSelected: v
|
|
15
|
+
}, h = ({
|
|
16
|
+
children: s,
|
|
17
|
+
...o
|
|
18
|
+
}) => /* @__PURE__ */ n(
|
|
19
|
+
"button",
|
|
20
|
+
{
|
|
21
|
+
className: r(t.button, t.prevButton),
|
|
22
|
+
type: "button",
|
|
23
|
+
...o,
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ e(c, { iconKey: "fa-sharp fa-solid fa-chevron-left", size: "md" }),
|
|
26
|
+
s
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
), y = ({
|
|
30
|
+
children: s,
|
|
31
|
+
...o
|
|
32
|
+
}) => /* @__PURE__ */ n(
|
|
33
|
+
"button",
|
|
34
|
+
{
|
|
35
|
+
className: r(t.button, t.nextButton),
|
|
36
|
+
type: "button",
|
|
37
|
+
...o,
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ e(c, { iconKey: "fa-sharp fa-solid fa-chevron-right", size: "md" }),
|
|
40
|
+
s
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
export {
|
|
45
|
+
y as N,
|
|
46
|
+
h as P,
|
|
47
|
+
t as s
|
|
48
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._main_1st4s_1{position:relative}._viewport_1st4s_4{overflow:hidden;width:100%}._track_1st4s_8{display:flex;touch-action:pan-y}._slide_1st4s_12{flex:0 0 100%;min-width:0}._button_1st4s_17{position:absolute;top:50%;transform:translateY(-50%);background-color:transparent;padding:0;margin:0;border:none}._button_1st4s_17 path{fill:var(--color-neutrals-neutral-1);opacity:.6}._button_1st4s_17:disabled path{opacity:.2}._prevButton_1st4s_33{left:0}._nextButton_1st4s_36{right:0}._carouselDots_1st4s_39{position:absolute;bottom:var(--spacing-spacing-default);left:50%;transform:translate(-50%);display:flex;gap:var(--spacing-spacing-2xs)}._dot_1st4s_47{width:40px;height:2px;background:var(--color-neutrals-neutral-1);border:none;cursor:pointer;opacity:.5}._dotSelected_1st4s_55{opacity:1;width:80px}
|
|
@@ -2,7 +2,7 @@ import { jsxs as fn, jsx as ot } from "react/jsx-runtime";
|
|
|
2
2
|
import vt, { useRef as Ut, useState as $t, useCallback as ln, useEffect as Ot } from "react";
|
|
3
3
|
import { getHideAtStyles as dn } from "../../atoms/HideAt.js";
|
|
4
4
|
import { c as qt } from "../../clsx-OuTLNxxd.js";
|
|
5
|
-
import { s as rt, P as pn, N as mn } from "../../CarouselArrowButtons-
|
|
5
|
+
import { s as rt, P as pn, N as mn } from "../../CarouselArrowButtons-Bv2242py.js";
|
|
6
6
|
import { useDotButton as gn, DotButton as hn } from "./CarouselDotButton.js";
|
|
7
7
|
import { usePrevNextButtons as yn } from "./usePrevNextButtons.js";
|
|
8
8
|
function Sn(t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../atoms/Icon/Icon.js";
|
|
3
|
-
import { N as e, P as i } from "../../CarouselArrowButtons-
|
|
3
|
+
import { N as e, P as i } from "../../CarouselArrowButtons-Bv2242py.js";
|
|
4
4
|
import "../../clsx-OuTLNxxd.js";
|
|
5
5
|
export {
|
|
6
6
|
e as NextButton,
|
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { Icon as r } from "./atoms/Icon/Icon.js";
|
|
3
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
import './assets/CarouselArrowButtons.css';const i = "_main_irnm9_1", _ = "_viewport_irnm9_4", a = "_track_irnm9_8", u = "_slide_irnm9_12", m = "_button_irnm9_17", d = "_prevButton_irnm9_33", l = "_nextButton_irnm9_36", p = "_carouselDots_irnm9_39", f = "_dot_irnm9_47", v = "_dotSelected_irnm9_55", t = {
|
|
5
|
-
main: i,
|
|
6
|
-
viewport: _,
|
|
7
|
-
track: a,
|
|
8
|
-
slide: u,
|
|
9
|
-
button: m,
|
|
10
|
-
prevButton: d,
|
|
11
|
-
nextButton: l,
|
|
12
|
-
carouselDots: p,
|
|
13
|
-
dot: f,
|
|
14
|
-
dotSelected: v
|
|
15
|
-
}, h = ({
|
|
16
|
-
children: o,
|
|
17
|
-
...n
|
|
18
|
-
}) => /* @__PURE__ */ e(
|
|
19
|
-
"button",
|
|
20
|
-
{
|
|
21
|
-
className: c(t.button, t.prevButton),
|
|
22
|
-
type: "button",
|
|
23
|
-
...n,
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ s(r, { iconKey: "fa-sharp fa-solid fa-chevron-left", size: "md" }),
|
|
26
|
-
o
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
), y = ({
|
|
30
|
-
children: o,
|
|
31
|
-
...n
|
|
32
|
-
}) => /* @__PURE__ */ e(
|
|
33
|
-
"button",
|
|
34
|
-
{
|
|
35
|
-
className: c(t.button, t.nextButton),
|
|
36
|
-
type: "button",
|
|
37
|
-
...n,
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ s(r, { iconKey: "fa-sharp fa-solid fa-chevron-right", size: "md" }),
|
|
40
|
-
o
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
export {
|
|
45
|
-
y as N,
|
|
46
|
-
h as P,
|
|
47
|
-
t as s
|
|
48
|
-
};
|