trepur_components 2.3.17 → 2.3.19
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/lib/components/Nav/Nav.stories.d.ts +3 -3
- package/lib/components/Nav/index.d.ts +3 -3
- package/lib/components/Nav/index.js +74 -60
- package/lib/components/NavItem/NavItem.stories.d.ts +2 -0
- package/lib/components/NavItem/index.d.ts +1 -0
- package/lib/components/NavItem/index.js +16 -12
- package/lib/components/SplitCard/SplitCard.stories.d.ts +2 -1
- package/lib/components/SplitCard/index.js +41 -39
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,15 +4,15 @@ import { StoryObj } from '@storybook/react';
|
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').NavContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
7
|
-
Header: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> &
|
|
8
|
-
logo: string;
|
|
9
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Header: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
8
|
DesktopHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
MobileHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
10
|
Section: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
11
|
Logo: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLImageElement> & import('../Image').ImageProps & import('react').RefAttributes<HTMLImageElement>>;
|
|
13
12
|
Body: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
13
|
Folder: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
15
14
|
label: string;
|
|
15
|
+
active?: boolean | undefined;
|
|
16
16
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
17
|
};
|
|
18
18
|
parameters: {
|
|
@@ -6,15 +6,15 @@ export interface NavContextProps {
|
|
|
6
6
|
setExpanded?: (val: boolean) => void;
|
|
7
7
|
}
|
|
8
8
|
declare const Nav: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & NavContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
9
|
-
Header: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> &
|
|
10
|
-
logo: string;
|
|
11
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Header: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
10
|
DesktopHeader: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
+
MobileHeader: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
12
|
Section: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
13
|
Logo: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;
|
|
15
14
|
Body: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
16
15
|
Folder: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
17
16
|
label: string;
|
|
17
|
+
active?: boolean | undefined;
|
|
18
18
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
19
|
};
|
|
20
20
|
export { Nav };
|
|
@@ -1,82 +1,96 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { createContext as
|
|
3
|
-
import { HamburgerIcon as
|
|
4
|
-
import { faChevronDown as
|
|
5
|
-
import
|
|
6
|
-
import { Icon as
|
|
7
|
-
const
|
|
8
|
-
const [
|
|
1
|
+
import { jsx as e, jsxs as n, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as H, forwardRef as r, useState as c, useMemo as C, useContext as m, useRef as k } from "react";
|
|
3
|
+
import { HamburgerIcon as w } from "../HamburgerIcon/index.js";
|
|
4
|
+
import { faChevronDown as M } from "@fortawesome/fontawesome-free-solid";
|
|
5
|
+
import l from "clsx";
|
|
6
|
+
import { Icon as j } from "../Icon/index.js";
|
|
7
|
+
const i = H(null), p = r(({ children: a }, s) => {
|
|
8
|
+
const [t, o] = c(!1), d = C(
|
|
9
9
|
() => ({
|
|
10
|
-
expanded:
|
|
11
|
-
setExpanded:
|
|
10
|
+
expanded: t,
|
|
11
|
+
setExpanded: o
|
|
12
12
|
}),
|
|
13
|
-
[
|
|
13
|
+
[t, o]
|
|
14
14
|
);
|
|
15
|
-
return /* @__PURE__ */ e(
|
|
16
|
-
}),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
return /* @__PURE__ */ e(i.Provider, { value: d, children: /* @__PURE__ */ e("div", { children: a }) });
|
|
16
|
+
}), v = r(
|
|
17
|
+
({ children: a }, s) => /* @__PURE__ */ e(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
ref: s,
|
|
21
|
+
className: l("relative h-24 w-full bg-nav-bg px-2 py-2"),
|
|
22
|
+
children: a
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
), N = r(({ children: a }, s) => {
|
|
26
|
+
const { setExpanded: t, expanded: o } = m(i) || {};
|
|
27
|
+
return /* @__PURE__ */ n("div", { ref: s, className: "flex h-full md:hidden", children: [
|
|
28
|
+
/* @__PURE__ */ e("div", { className: "my-auto", children: /* @__PURE__ */ e(
|
|
29
|
+
w,
|
|
30
|
+
{
|
|
31
|
+
variant: "ghost",
|
|
32
|
+
onClick: () => t == null ? void 0 : t(!o),
|
|
33
|
+
className: "aspect-square"
|
|
34
|
+
}
|
|
35
|
+
) }),
|
|
36
|
+
/* @__PURE__ */ e("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform", children: a })
|
|
31
37
|
] });
|
|
32
|
-
}), g =
|
|
33
|
-
({ children: a }, s) => {
|
|
34
|
-
const { expanded: r } = m(l) || {};
|
|
35
|
-
return r ? /* @__PURE__ */ e("div", { className: "h-screen bg-nav-bg px-8 pb-12 pt-2 md:hidden", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 md:hidden", children: a }) }) : /* @__PURE__ */ e(h, {});
|
|
36
|
-
}
|
|
37
|
-
), f = o(({ children: a }, s) => /* @__PURE__ */ e(
|
|
38
|
+
}), g = r(({ children: a }, s) => /* @__PURE__ */ e(
|
|
38
39
|
"div",
|
|
39
40
|
{
|
|
40
41
|
ref: s,
|
|
41
42
|
className: "hidden justify-between md:flex md:gap-4 md:px-4 lg:gap-8 lg:px-20",
|
|
42
43
|
children: a
|
|
43
44
|
}
|
|
44
|
-
)),
|
|
45
|
+
)), f = r(
|
|
46
|
+
({ children: a }, s) => {
|
|
47
|
+
const { expanded: t } = m(i) || {};
|
|
48
|
+
return t ? /* @__PURE__ */ e("div", { className: "h-screen bg-nav-bg px-8 pb-12 pt-2 md:hidden", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 md:hidden", children: a }) }) : /* @__PURE__ */ e(y, {});
|
|
49
|
+
}
|
|
50
|
+
), u = r(
|
|
45
51
|
({ children: a }, s) => /* @__PURE__ */ e("div", { ref: s, className: "my-4 md:flex md:gap-4 lg:gap-8", children: a })
|
|
46
|
-
),
|
|
47
|
-
const [
|
|
48
|
-
return /* @__PURE__ */
|
|
52
|
+
), x = r(({ label: a, children: s, active: t = !1 }) => {
|
|
53
|
+
const [o, d] = c(!1), b = k(null);
|
|
54
|
+
return /* @__PURE__ */ n(
|
|
49
55
|
"div",
|
|
50
56
|
{
|
|
51
|
-
ref:
|
|
52
|
-
onClick: () =>
|
|
53
|
-
onMouseLeave: () =>
|
|
54
|
-
className:
|
|
57
|
+
ref: b,
|
|
58
|
+
onClick: () => d(!0),
|
|
59
|
+
onMouseLeave: () => d(!1),
|
|
60
|
+
className: l(
|
|
61
|
+
"relative m-auto text-xl tracking-wider text-nav-text hover:cursor-pointer",
|
|
62
|
+
{
|
|
63
|
+
"font-bold": t,
|
|
64
|
+
"font-normal": !t
|
|
65
|
+
}
|
|
66
|
+
),
|
|
55
67
|
children: [
|
|
56
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-px ", children: [
|
|
57
69
|
/* @__PURE__ */ e("p", { children: a }),
|
|
58
|
-
/* @__PURE__ */ e(
|
|
70
|
+
/* @__PURE__ */ e(j, { icon: M })
|
|
59
71
|
] }),
|
|
60
|
-
|
|
72
|
+
o && /* @__PURE__ */ e("div", { className: "absolute -left-5 top-7 z-50 w-40 bg-nav-bg", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-y-2 bg-nav-bg px-4 py-4", children: s }) })
|
|
61
73
|
]
|
|
62
74
|
}
|
|
63
75
|
);
|
|
64
|
-
}),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
}), h = r(({ className: a, src: s, ...t }, o) => /* @__PURE__ */ e("img", { className: l("h-20", a), ref: o, src: s, ...t }));
|
|
77
|
+
p.displayName = "Nav";
|
|
78
|
+
v.displayName = "Nav.Header";
|
|
79
|
+
g.displayName = "Nav.DesktopHeader";
|
|
80
|
+
N.displayName = "Nav.MobileHeader";
|
|
81
|
+
h.displayName = "Nav.Logo";
|
|
82
|
+
u.displayName = "Nav.Section";
|
|
83
|
+
f.displayName = "Nav.Body";
|
|
84
|
+
x.displayName = "Nav.Folder";
|
|
85
|
+
const R = Object.assign(p, {
|
|
86
|
+
Header: v,
|
|
87
|
+
DesktopHeader: g,
|
|
88
|
+
MobileHeader: N,
|
|
89
|
+
Section: u,
|
|
90
|
+
Logo: h,
|
|
91
|
+
Body: f,
|
|
92
|
+
Folder: x
|
|
79
93
|
});
|
|
80
94
|
export {
|
|
81
|
-
|
|
95
|
+
R as Nav
|
|
82
96
|
};
|
|
@@ -5,6 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLAnchorElement> & {
|
|
7
7
|
href: string;
|
|
8
|
+
active?: boolean | undefined;
|
|
8
9
|
} & import('react').RefAttributes<HTMLAnchorElement>> & {
|
|
9
10
|
Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
10
11
|
};
|
|
@@ -15,3 +16,4 @@ declare const meta: {
|
|
|
15
16
|
export default meta;
|
|
16
17
|
type Story = StoryObj<typeof NavItem>;
|
|
17
18
|
export declare const Default: Story;
|
|
19
|
+
export declare const Active: Story;
|
|
@@ -2,6 +2,7 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
|
|
3
3
|
declare const NavItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
|
|
4
4
|
href: string;
|
|
5
|
+
active?: boolean | undefined;
|
|
5
6
|
} & import('react').RefAttributes<HTMLAnchorElement>> & {
|
|
6
7
|
Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
7
8
|
};
|
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
|
-
import
|
|
4
|
-
const n = o(({ children: t, className:
|
|
3
|
+
import c from "clsx";
|
|
4
|
+
const n = o(({ active: e, children: t, className: a, href: m, ...l }, f) => /* @__PURE__ */ r(
|
|
5
5
|
"a",
|
|
6
6
|
{
|
|
7
|
-
href:
|
|
8
|
-
ref:
|
|
9
|
-
className:
|
|
7
|
+
href: m,
|
|
8
|
+
ref: f,
|
|
9
|
+
className: c(
|
|
10
10
|
"m-auto h-8 py-0 text-nav-text after:block after:scale-x-0 after:border-b-4 after:border-nav-text after:transition-all after:duration-300 after:ease-in-out hover:cursor-pointer hover:after:scale-x-100",
|
|
11
|
-
|
|
11
|
+
{
|
|
12
|
+
"font-bold": e,
|
|
13
|
+
"font-normal": !e
|
|
14
|
+
},
|
|
15
|
+
a
|
|
12
16
|
),
|
|
13
|
-
...
|
|
17
|
+
...l,
|
|
14
18
|
children: t
|
|
15
19
|
}
|
|
16
|
-
)), s = o(({ className:
|
|
20
|
+
)), s = o(({ className: e, ...t }, a) => /* @__PURE__ */ r(
|
|
17
21
|
"p",
|
|
18
22
|
{
|
|
19
|
-
className: "flex-none text-nowrap text-xl
|
|
23
|
+
className: "flex-none text-nowrap text-xl tracking-wider",
|
|
20
24
|
ref: a,
|
|
21
|
-
...
|
|
25
|
+
...t
|
|
22
26
|
}
|
|
23
27
|
));
|
|
24
28
|
n.displayName = "NavItem";
|
|
25
29
|
s.displayName = "NavItem.Label";
|
|
26
|
-
const
|
|
30
|
+
const N = Object.assign(n, {
|
|
27
31
|
Label: s
|
|
28
32
|
});
|
|
29
33
|
export {
|
|
30
|
-
|
|
34
|
+
N as NavItem
|
|
31
35
|
};
|
|
@@ -10,10 +10,11 @@ declare const meta: {
|
|
|
10
10
|
Text: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
11
11
|
};
|
|
12
12
|
args: {
|
|
13
|
-
swapDesktop: true;
|
|
14
13
|
children: import("react/jsx-runtime").JSX.Element[];
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
16
|
export default meta;
|
|
18
17
|
type Story = StoryObj<typeof SplitCard>;
|
|
19
18
|
export declare const Default: Story;
|
|
19
|
+
export declare const swapDesktop: Story;
|
|
20
|
+
export declare const swapMobile: Story;
|
|
@@ -1,82 +1,84 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createContext as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as u, forwardRef as d, useMemo as N, useContext as c } from "react";
|
|
3
3
|
import h from "../../utils/matchMedia.js";
|
|
4
|
-
import { Screens as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const
|
|
4
|
+
import { Screens as y } from "../../utils/screens.js";
|
|
5
|
+
import p from "clsx";
|
|
6
|
+
const a = u(null), x = d(({ id: l, className: e, children: r, swapDesktop: t, swapMobile: i, ...s }, o) => {
|
|
7
|
+
const f = `(min-width: ${y.md})`, m = h(f), S = N(
|
|
8
8
|
() => ({
|
|
9
9
|
swapDesktop: t,
|
|
10
|
-
swapMobile:
|
|
11
|
-
isMd:
|
|
10
|
+
swapMobile: i,
|
|
11
|
+
isMd: m
|
|
12
12
|
}),
|
|
13
|
-
[t,
|
|
13
|
+
[t, i, m]
|
|
14
14
|
);
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ n(a.Provider, { value: S, children: /* @__PURE__ */ n(
|
|
16
16
|
"div",
|
|
17
17
|
{
|
|
18
|
-
ref:
|
|
19
|
-
...
|
|
20
|
-
className:
|
|
18
|
+
ref: o,
|
|
19
|
+
...s,
|
|
20
|
+
className: p("grid grid-cols-1 md:grid-cols-2", e),
|
|
21
21
|
children: r
|
|
22
22
|
}
|
|
23
23
|
) });
|
|
24
|
-
}),
|
|
25
|
-
const { swapDesktop:
|
|
26
|
-
return /* @__PURE__ */
|
|
24
|
+
}), g = d(({ className: l, children: e, ...r }, t) => {
|
|
25
|
+
const { swapDesktop: i, swapMobile: s, isMd: o } = c(a) || {};
|
|
26
|
+
return /* @__PURE__ */ n(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
29
|
ref: t,
|
|
30
30
|
...r,
|
|
31
|
-
className:
|
|
32
|
-
"mx-auto flex items-center
|
|
31
|
+
className: p(
|
|
32
|
+
"mx-auto flex items-center px-4 py-2 text-center md:p-8 lg:py-20",
|
|
33
33
|
{
|
|
34
|
-
"md:order-last":
|
|
35
|
-
"
|
|
34
|
+
"md:order-last lg:pl-12 lg:pr-20": i,
|
|
35
|
+
"lg:pl-20 lg:pr-12": !i,
|
|
36
|
+
"order-last": !o && s
|
|
36
37
|
},
|
|
37
|
-
|
|
38
|
+
l
|
|
38
39
|
),
|
|
39
40
|
children: e
|
|
40
41
|
}
|
|
41
42
|
);
|
|
42
|
-
}),
|
|
43
|
-
const { swapDesktop:
|
|
44
|
-
return /* @__PURE__ */
|
|
43
|
+
}), C = d(({ className: l, children: e, ...r }, t) => {
|
|
44
|
+
const { swapDesktop: i, swapMobile: s, isMd: o } = c(a) || {};
|
|
45
|
+
return /* @__PURE__ */ n(
|
|
45
46
|
"div",
|
|
46
47
|
{
|
|
47
48
|
ref: t,
|
|
48
49
|
...r,
|
|
49
|
-
className:
|
|
50
|
-
"flex h-full items-center
|
|
50
|
+
className: p(
|
|
51
|
+
"flex h-full items-center px-4 py-2 text-center md:p-8 lg:py-20",
|
|
51
52
|
{
|
|
52
|
-
"md:order-first":
|
|
53
|
-
"
|
|
53
|
+
"md:order-first lg:pl-20 lg:pr-12": i,
|
|
54
|
+
"lg:pl-12 lg:pr-20": !i,
|
|
55
|
+
"order-first": !o && s
|
|
54
56
|
},
|
|
55
|
-
|
|
57
|
+
l
|
|
56
58
|
),
|
|
57
59
|
children: e
|
|
58
60
|
}
|
|
59
61
|
);
|
|
60
|
-
}),
|
|
62
|
+
}), M = d(({ className: l, children: e, ...r }, t) => /* @__PURE__ */ n(
|
|
61
63
|
"p",
|
|
62
64
|
{
|
|
63
65
|
ref: t,
|
|
64
|
-
className:
|
|
66
|
+
className: p(
|
|
65
67
|
"items-center text-6xl font-semibold tracking-wider md:text-4xl lg:text-6xl",
|
|
66
|
-
|
|
68
|
+
l
|
|
67
69
|
),
|
|
68
70
|
...r,
|
|
69
71
|
children: e
|
|
70
72
|
}
|
|
71
|
-
)),
|
|
73
|
+
)), v = d(({ className: l, children: e, ...r }, t) => /* @__PURE__ */ n("p", { ref: t, className: p("text-lg", l), ...r, children: e }));
|
|
72
74
|
x.displayName = "SplitCard";
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
g.displayName = "SplitCard.LeftContent";
|
|
76
|
+
C.displayName = "SplitCard.RightContent";
|
|
75
77
|
const k = Object.assign(x, {
|
|
76
|
-
LeftContent:
|
|
77
|
-
RightContent:
|
|
78
|
-
Title:
|
|
79
|
-
Text:
|
|
78
|
+
LeftContent: g,
|
|
79
|
+
RightContent: C,
|
|
80
|
+
Title: M,
|
|
81
|
+
Text: v
|
|
80
82
|
});
|
|
81
83
|
export {
|
|
82
84
|
k as SplitCard
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.react-calendar{width:410px;background:#fff;border:none;border-radius:25px;border:1px solid #fff;box-shadow:0 12px 24px #0003;padding:8px;line-height:1.125em}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:50px;margin-bottom:1em}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font-size:.75em}.react-calendar--doubleView{width:800px}.react-calendar__month-view{padding-left:20px;padding-right:20px}.react-calendar__tile{height:50px;width:50px}.react-calendar__tile:disabled{background-color:#fff;color:#bebebe}.react-calendar__month-view__days__day--weekend,.react-calendar__month-view__days__day{color:#000}.react-calendar__month-view__days__day--neighboringMonth{visibility:hidden}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--now{background:#fff;color:#000}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#f8f8fa}.react-calendar__tile--active{background:#000;border-radius:50%;color:#fff}.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeEnd:enabled{border-radius:0 50% 50% 0;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeStart:enabled{border-radius:50% 0 0 50%;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#dfdfe1}.react-calendar--selectRange .react-calendar__tile--rangeStart{background-color:#000;color:#fff}.react-calendar__tile--range{background:#dfdfe1;color:#000;border-radius:0}.react-calendar__tile--rangeStart{border-radius:50% 0 0 50%;background:#000;color:#fff}.react-calendar__tile--rangeEnd{border-radius:0 50% 50% 0;background:#000;color:#fff}.react-calendar__navigation__prev-button,.react-calendar__navigation__next-button{background:#fff}.react-calendar__navigation__prev2-button,.react-calendar__navigation__next2-button{display:none}.react-calendar__navigation__label__labelText{color:#000}.react-calendar__navigation{height:50px}.react-calendar__navigation button{color:#000;width:50px;background:none;font-size:16px}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#bebebe;color:#000;border-radius:50%}.react-calendar__navigation button:disabled{background:#fff;color:#bebebe}abbr[title]{text-decoration:none}.react-calendar__navigation__label__divider{display:none}.react-calendar__navigation__label{padding-top:20px;display:flex;flex-grow:1;justify-content:space-between}.react-calendar__navigation__label__labelText--from{margin-left:80px}.react-calendar__navigation__label__labelText--to{margin-right:100px}button.react-calendar__tile.react-calendar__tile--active.react-calendar__tile--range.react-calendar__tile--rangeStart.react-calendar__tile--rangeEnd.react-calendar__tile--rangeBothEnds.react-calendar__tile--hover.react-calendar__tile--hoverStart.react-calendar__tile--hoverEnd.react-calendar__tile--hoverBothEnds.react-calendar__month-view__days__day.react-calendar__month-view__days__day--weekend{background-color:#000}
|
|
1
|
+
.keen-slider:not([data-keen-slider-disabled]){-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;align-content:flex-start;display:flex;overflow:hidden;position:relative;touch-action:pan-y;-webkit-user-select:none;user-select:none;-khtml-user-select:none;width:100%}.keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide{min-height:100%;overflow:hidden;position:relative;width:100%}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse]{flex-direction:row-reverse}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-v]{flex-wrap:wrap}.react-calendar{width:410px;background:#fff;border:none;border-radius:25px;border:1px solid #fff;box-shadow:0 12px 24px #0003;padding:8px;line-height:1.125em}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:50px;margin-bottom:1em}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font-size:.75em}.react-calendar--doubleView{width:800px}.react-calendar__month-view{padding-left:20px;padding-right:20px}.react-calendar__tile{height:50px;width:50px}.react-calendar__tile:disabled{background-color:#fff;color:#bebebe}.react-calendar__month-view__days__day--weekend,.react-calendar__month-view__days__day{color:#000}.react-calendar__month-view__days__day--neighboringMonth{visibility:hidden}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--now{background:#fff;color:#000}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#f8f8fa}.react-calendar__tile--active{background:#000;border-radius:50%;color:#fff}.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeEnd:enabled{border-radius:0 50% 50% 0;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeStart:enabled{border-radius:50% 0 0 50%;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#dfdfe1}.react-calendar--selectRange .react-calendar__tile--rangeStart{background-color:#000;color:#fff}.react-calendar__tile--range{background:#dfdfe1;color:#000;border-radius:0}.react-calendar__tile--rangeStart{border-radius:50% 0 0 50%;background:#000;color:#fff}.react-calendar__tile--rangeEnd{border-radius:0 50% 50% 0;background:#000;color:#fff}.react-calendar__navigation__prev-button,.react-calendar__navigation__next-button{background:#fff}.react-calendar__navigation__prev2-button,.react-calendar__navigation__next2-button{display:none}.react-calendar__navigation__label__labelText{color:#000}.react-calendar__navigation{height:50px}.react-calendar__navigation button{color:#000;width:50px;background:none;font-size:16px}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#bebebe;color:#000;border-radius:50%}.react-calendar__navigation button:disabled{background:#fff;color:#bebebe}abbr[title]{text-decoration:none}.react-calendar__navigation__label__divider{display:none}.react-calendar__navigation__label{padding-top:20px;display:flex;flex-grow:1;justify-content:space-between}.react-calendar__navigation__label__labelText--from{margin-left:80px}.react-calendar__navigation__label__labelText--to{margin-right:100px}button.react-calendar__tile.react-calendar__tile--active.react-calendar__tile--range.react-calendar__tile--rangeStart.react-calendar__tile--rangeEnd.react-calendar__tile--rangeBothEnds.react-calendar__tile--hover.react-calendar__tile--hoverStart.react-calendar__tile--hoverEnd.react-calendar__tile--hoverBothEnds.react-calendar__month-view__days__day.react-calendar__month-view__days__day--weekend{background-color:#000}
|