trepur_components 2.3.19 → 2.3.21

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.
@@ -21,5 +21,6 @@ export declare const Default: Story;
21
21
  export declare const Secondary: Story;
22
22
  export declare const Bordered: Story;
23
23
  export declare const Ghost: Story;
24
+ export declare const Basic: Story;
24
25
  export declare const Loading: Story;
25
26
  export declare const Link: Story;
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
 
3
3
  export interface ButtonProps {
4
- variant?: 'primary' | 'secondary' | 'ghost' | 'bordered';
4
+ variant?: 'primary' | 'secondary' | 'ghost' | 'bordered' | 'basic';
5
5
  disabled?: boolean;
6
6
  loading?: boolean;
7
7
  type?: 'button' | 'link';
@@ -1,32 +1,33 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as b } from "react";
2
+ import { forwardRef as n } from "react";
3
3
  import { Icon as m } from "../Icon/index.js";
4
4
  import s from "clsx";
5
- const g = b(({ children: o, ...e }) => /* @__PURE__ */ r("button", { type: "button", ...e, children: o })), h = b(({ children: o, ...e }) => /* @__PURE__ */ r("div", { className: "inline-block", children: /* @__PURE__ */ r("a", { type: "button", className: "inline-grid", ...e, children: o }) })), a = b(
5
+ const g = n(({ children: o, ...e }) => /* @__PURE__ */ r("button", { type: "button", ...e, children: o })), h = n(({ children: o, ...e }) => /* @__PURE__ */ r("div", { className: "inline-block", children: /* @__PURE__ */ r("a", { type: "button", className: "inline-grid", ...e, children: o }) })), a = n(
6
6
  ({
7
7
  className: o,
8
8
  children: e,
9
9
  loading: t = !1,
10
- variant: n = "primary",
11
- type: d = "button",
12
- disabled: l,
13
- href: p,
14
- target: i,
15
- ...y
10
+ variant: b = "primary",
11
+ type: i = "button",
12
+ disabled: y,
13
+ href: d,
14
+ target: p,
15
+ ...l
16
16
  }) => /* @__PURE__ */ r(
17
- d === "button" ? g : h,
17
+ i === "button" ? g : h,
18
18
  {
19
- href: p,
20
- target: i,
19
+ href: d,
20
+ target: p,
21
21
  disabled: t,
22
22
  className: s(
23
23
  "font-regular flex items-center gap-2 rounded-lg border px-8 py-3 text-center text-lg",
24
24
  {
25
25
  "duration-200": !t,
26
- "border-button-primary-border bg-button-primary-bg text-button-primary-text hover:bg-button-primary-hover active:bg-button-primary-active": n === "primary" && !t,
27
- "border-button-secondary-border bg-button-secondary-bg text-button-secondary-text hover:bg-button-secondary-hover active:bg-button-secondary-active": n === "secondary" && !t,
28
- "border-button-ghost-border bg-button-ghost-bg text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": n === "ghost" && !t,
29
- "border-button-bordered-border text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": n === "bordered" && !t,
26
+ "border-button-primary-border bg-button-primary-bg text-button-primary-text hover:bg-button-primary-hover active:bg-button-primary-active": b === "primary" && !t,
27
+ "border-button-secondary-border bg-button-secondary-bg text-button-secondary-text hover:bg-button-secondary-hover active:bg-button-secondary-active": b === "secondary" && !t,
28
+ "border-button-ghost-border bg-button-ghost-bg text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": b === "ghost" && !t,
29
+ "border-button-bordered-border text-button-ghost-text hover:bg-button-ghost-hover active:bg-button-ghost-active": b === "bordered" && !t,
30
+ "border-button-basic-border bg-button-basic-bg text-button-basic-text hover:bg-button-basic-hover active:bg-button-basic-active": b === "basic" && !t,
30
31
  "w-40 animate-pulse border-loading bg-loading": t
31
32
  },
32
33
  o
@@ -34,7 +35,7 @@ const g = b(({ children: o, ...e }) => /* @__PURE__ */ r("button", { type: "butt
34
35
  children: !t && e
35
36
  }
36
37
  )
37
- ), c = b(({ className: o, ...e }, t) => /* @__PURE__ */ r("p", { className: s("text-md", o), ref: t, ...e })), u = b(({ icon: o }, e) => /* @__PURE__ */ r(m, { size: "md", ref: e, icon: o }));
38
+ ), c = n(({ className: o, ...e }, t) => /* @__PURE__ */ r("p", { className: s("text-md", o), ref: t, ...e })), u = n(({ icon: o }, e) => /* @__PURE__ */ r(m, { size: "md", ref: e, icon: o }));
38
39
  a.displayName = "Button";
39
40
  u.displayName = "Button.Icon";
40
41
  c.displayName = "Button.Label";
@@ -13,7 +13,6 @@ declare const meta: {
13
13
  };
14
14
  args: {
15
15
  placeholder: string;
16
- errors: string[];
17
16
  children: import("react/jsx-runtime").JSX.Element[];
18
17
  };
19
18
  };
@@ -1,83 +1,83 @@
1
1
  import { jsx as o, jsxs as f } from "react/jsx-runtime";
2
- import { createContext as I, forwardRef as a, useMemo as b, useRef as h, useContext as i } from "react";
3
- import N from "clsx";
4
- const u = I(null), d = a(({ children: r, errors: t, placeholder: e, ...n }, l) => {
5
- const s = b(
2
+ import { createContext as I, forwardRef as s, useMemo as b, useRef as N, useContext as i } from "react";
3
+ import h from "clsx";
4
+ const d = I(null), u = s(({ children: n, errors: t, placeholder: e, ...r }, l) => {
5
+ const a = b(
6
6
  () => ({
7
7
  errors: t,
8
8
  placeholder: e,
9
- ...n
9
+ ...r
10
10
  }),
11
- [t, n]
11
+ [t, r]
12
12
  );
13
- return /* @__PURE__ */ o(u.Provider, { value: s, children: /* @__PURE__ */ o("div", { ref: l, children: r }) });
14
- }), c = a(
15
- ({ children: r, ...t }, e) => {
16
- const n = h(null);
13
+ return /* @__PURE__ */ o(d.Provider, { value: a, children: /* @__PURE__ */ o("div", { ref: l, children: n }) });
14
+ }), m = s(
15
+ ({ children: n, ...t }, e) => {
16
+ const r = N(null);
17
17
  return /* @__PURE__ */ o(
18
18
  "div",
19
19
  {
20
- className: "mt-4 w-full cursor-pointer bg-white",
20
+ className: "mt-4 w-full",
21
21
  onClick: () => {
22
22
  var l;
23
- return (l = n.current) == null ? void 0 : l.focus();
23
+ return (l = r.current) == null ? void 0 : l.focus();
24
24
  },
25
25
  ref: e,
26
26
  ...t,
27
- children: r
27
+ children: n
28
28
  }
29
29
  );
30
30
  }
31
- ), m = a(({ children: r, required: t = !1 }, e) => /* @__PURE__ */ f(
31
+ ), p = s(({ children: n, required: t = !1 }, e) => /* @__PURE__ */ f(
32
32
  "div",
33
33
  {
34
34
  ref: e,
35
- className: "font-regular absolute -mt-3 ml-3 flex items-center rounded-2xl bg-white px-1 text-sm",
35
+ className: "text-md flex items-center rounded-2xl px-1 font-semibold",
36
36
  children: [
37
- /* @__PURE__ */ o("p", { children: r }),
38
- t && /* @__PURE__ */ o("p", { className: "font-semiBold text-lg text-error-default", children: " *" })
37
+ /* @__PURE__ */ o("p", { children: n }),
38
+ t && /* @__PURE__ */ o("p", { className: "font-semiBold text-lg", children: " *" })
39
39
  ]
40
40
  }
41
- )), p = a(
42
- ({ ...r }) => {
43
- const { errors: t, placeholder: e } = i(u) || {};
41
+ )), c = s(
42
+ ({ ...n }) => {
43
+ const { errors: t, placeholder: e } = i(d) || {};
44
44
  return /* @__PURE__ */ o(
45
45
  "input",
46
46
  {
47
47
  placeholder: e,
48
- className: N(
49
- "text-ink text-md w-full cursor-pointer rounded-md border border-black bg-white py-2 pl-4",
48
+ className: h(
49
+ "text-ink text-md w-full rounded-md border border-gray-300 bg-white py-2 pl-4",
50
50
  {
51
51
  "border-error border-2": t != null
52
52
  }
53
53
  ),
54
- ...r
54
+ ...n
55
55
  }
56
56
  );
57
57
  }
58
- ), x = a(({ children: r, ...t }, e) => {
59
- const { errors: n } = i(u) || {};
58
+ ), x = s(({ children: n, ...t }, e) => {
59
+ const { errors: r } = i(d) || {};
60
60
  return /* @__PURE__ */ o(
61
61
  "div",
62
62
  {
63
63
  ref: e,
64
- className: "font-regular gap-y-2 text-sm text-error-default",
64
+ className: "text-md gap-y-2 pl-1 pt-2 font-semibold text-error-default",
65
65
  ...t,
66
- children: n == null ? void 0 : n.map((l, s) => /* @__PURE__ */ o("p", { children: l }, `error-msg-${s + 1}`))
66
+ children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ o("p", { children: l }, `error-msg-${a + 1}`))
67
67
  }
68
68
  );
69
69
  });
70
- d.displayName = "Input";
71
- c.displayName = "Input.Item";
72
- m.displayName = "Input.Label";
73
- p.displayName = "Input.Box";
70
+ u.displayName = "Input";
71
+ m.displayName = "Input.Item";
72
+ p.displayName = "Input.Label";
73
+ c.displayName = "Input.Box";
74
74
  x.displayName = "Input.Validation";
75
- const w = Object.assign(d, {
76
- Item: c,
77
- Label: m,
78
- Box: p,
75
+ const C = Object.assign(u, {
76
+ Item: m,
77
+ Label: p,
78
+ Box: c,
79
79
  Validation: x
80
80
  });
81
81
  export {
82
- w as Input
82
+ C as Input
83
83
  };
@@ -29,7 +29,7 @@ const a = u(null), x = d(({ id: l, className: e, children: r, swapDesktop: t, sw
29
29
  ref: t,
30
30
  ...r,
31
31
  className: p(
32
- "mx-auto flex items-center px-4 py-2 text-center md:p-8 lg:py-20",
32
+ "mx-auto flex items-center px-4 py-2 text-center md:p-8 lg:py-12",
33
33
  {
34
34
  "md:order-last lg:pl-12 lg:pr-20": i,
35
35
  "lg:pl-20 lg:pr-12": !i,
@@ -48,7 +48,7 @@ const a = u(null), x = d(({ id: l, className: e, children: r, swapDesktop: t, sw
48
48
  ref: t,
49
49
  ...r,
50
50
  className: p(
51
- "flex h-full items-center px-4 py-2 text-center md:p-8 lg:py-20",
51
+ "flex h-full items-center px-4 py-2 text-center md:p-8 lg:py-12",
52
52
  {
53
53
  "md:order-first lg:pl-20 lg:pr-12": i,
54
54
  "lg:pl-12 lg:pr-20": !i,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
- import { createContext as b, forwardRef as n, useMemo as A, useRef as T, useContext as d } from "react";
3
- const i = b(null), x = n(({ children: o, errors: e, placeholder: t, ...r }, l) => {
4
- const s = A(
2
+ import { createContext as A, forwardRef as o, useMemo as T, useRef as N, useContext as x } from "react";
3
+ const d = A(null), i = o(({ children: l, errors: e, placeholder: t, ...r }, n) => {
4
+ const s = T(
5
5
  () => ({
6
6
  errors: e,
7
7
  placeholder: t,
@@ -9,68 +9,61 @@ const i = b(null), x = n(({ children: o, errors: e, placeholder: t, ...r }, l) =
9
9
  }),
10
10
  [e, r]
11
11
  );
12
- return /* @__PURE__ */ a(i.Provider, { value: s, children: /* @__PURE__ */ a("div", { ref: l, children: o }) });
13
- }), c = n(
14
- ({ children: o, ...e }, t) => {
15
- const r = T(null);
12
+ return /* @__PURE__ */ a(d.Provider, { value: s, children: /* @__PURE__ */ a("div", { ref: n, children: l }) });
13
+ }), c = o(
14
+ ({ children: l, ...e }, t) => {
15
+ const r = N(null);
16
16
  return /* @__PURE__ */ a(
17
17
  "div",
18
18
  {
19
- className: "mt-4 w-full cursor-pointer bg-white",
19
+ className: "mt-4 w-full",
20
20
  onClick: () => {
21
- var l;
22
- return (l = r.current) == null ? void 0 : l.focus();
21
+ var n;
22
+ return (n = r.current) == null ? void 0 : n.focus();
23
23
  },
24
24
  ref: t,
25
25
  ...e,
26
- children: o
26
+ children: l
27
27
  }
28
28
  );
29
29
  }
30
- ), m = n(({ children: o, required: e = !1 }, t) => /* @__PURE__ */ f(
31
- "div",
32
- {
33
- ref: t,
34
- className: "font-regular absolute -mt-3 ml-3 flex rounded-2xl bg-white px-1 text-sm ",
35
- children: [
36
- /* @__PURE__ */ a("p", { children: o }),
37
- e && /* @__PURE__ */ a("p", { className: "font-semiBold text-lg text-error-default", children: " *" })
38
- ]
39
- }
40
- )), u = n(
41
- ({ ...o }) => {
42
- const { errors: e, placeholder: t } = d(i) || {};
30
+ ), m = o(({ children: l, required: e = !1 }, t) => /* @__PURE__ */ f("div", { ref: t, className: "font-regular text-md flex rounded-2xl px-1", children: [
31
+ /* @__PURE__ */ a("p", { children: l }),
32
+ e && /* @__PURE__ */ a("p", { className: "font-semiBold text-lg", children: " *" })
33
+ ] })), u = o(
34
+ ({ ...l }) => {
35
+ const { errors: e, placeholder: t } = x(d) || {};
43
36
  return /* @__PURE__ */ a(
44
37
  "textarea",
45
38
  {
46
- className: "text-ink text-md w-full cursor-pointer rounded-md border border-black bg-white py-2 pl-4",
39
+ className: "text-ink text-md w-full rounded-md border border-gray-300 py-2 pl-4",
47
40
  placeholder: t
48
41
  }
49
42
  );
50
43
  }
51
- ), p = n(({ children: o, ...e }, t) => {
52
- const { errors: r } = d(i) || {};
44
+ ), p = o(({ children: l, ...e }, t) => {
45
+ const { errors: r } = x(d) || {};
53
46
  return /* @__PURE__ */ a(
54
47
  "div",
55
48
  {
56
49
  ref: t,
57
- className: "font-regular gap-y-2 text-sm text-error-default",
50
+ className: "text-md gap-y-2 font-semibold text-error-default",
58
51
  ...e,
59
- children: r == null ? void 0 : r.map((l, s) => /* @__PURE__ */ a("p", { children: l }, `error-msg-${s + 1}`))
52
+ children: r == null ? void 0 : r.map((n, s) => /* @__PURE__ */ a("p", { children: n }, `error-msg-${s + 1}`))
60
53
  }
61
54
  );
62
55
  });
63
- x.displayName = "TextArea";
56
+ i.displayName = "TextArea";
64
57
  c.displayName = "TextArea.Item";
65
58
  m.displayName = "TextArea.Label";
66
59
  u.displayName = "TextArea.Box";
67
60
  p.displayName = "TextArea.Validation";
68
- const g = Object.assign(x, {
61
+ const h = Object.assign(i, {
69
62
  Item: c,
70
63
  Label: m,
71
64
  Box: u,
72
65
  Validation: p
73
66
  });
74
67
  export {
75
- g as TextArea
68
+ h as TextArea
76
69
  };
package/lib/style.css CHANGED
@@ -1 +1 @@
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}
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}.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}
@@ -71,6 +71,12 @@ body.theme-penrithmrt {
71
71
  --color-button-bordered-text: #000000;
72
72
  --color-button-bordered-hover: #5f5f5f;
73
73
 
74
+ --color-button-basic-active: #acacac;
75
+ --color-button-basic-border: #ffffff;
76
+ --color-button-basic-bg: #ffffff;
77
+ --color-button-basic-text: #3C2F71;
78
+ --color-button-basic-hover: #cecece;
79
+
74
80
  /* Footer */
75
81
  --color-footer-bg: #1b54c6;
76
82
  --color-footer-text: #ffffff;
@@ -61,6 +61,13 @@ export default {
61
61
  text: 'var(--color-button-bordered-text)',
62
62
  hover: 'var(--color-button-bordered-hover)',
63
63
  },
64
+ basic: {
65
+ active: 'var(--color-button-basic-active)',
66
+ border: 'var(--color-button-basic-border)',
67
+ bg: 'var(--color-button-basic-bg)',
68
+ text: 'var(--color-button-basic-text)',
69
+ hover: 'var(--color-button-basic-hover)',
70
+ },
64
71
  },
65
72
  tubestop: {
66
73
  station: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trepur_components",
3
- "version": "2.3.19",
3
+ "version": "2.3.21",
4
4
  "description": "component lib",
5
5
  "author": "trepur_ttenneb",
6
6
  "private": false,