@cfx-dev/ui-components 2.0.4 → 2.0.5

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.
@@ -1,33 +1,33 @@
1
- import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
- import d from "react";
3
- import { Interactive as _ } from "../Interactive/Interactive.js";
4
- import { clsx as v } from "../../utils/clsx.js";
1
+ import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
+ import v from "react";
3
+ import { Interactive as d } from "../Interactive/Interactive.js";
4
+ import { clsx as _ } from "../../utils/clsx.js";
5
5
  import { noop as f } from "../../utils/functional.js";
6
- import { getValue as c } from "../../utils/getValue.js";
7
- import '../../assets/NavList.css';const p = "_root_14z0z_1", z = "_item_14z0z_5", N = "_active_14z0z_20", h = "_icon_14z0z_30", t = {
6
+ import { getValue as i } from "../../utils/getValue.js";
7
+ import '../../assets/NavList.css';const p = "_root_u7cv2_1", u = "_item_u7cv2_5", N = "_active_u7cv2_20", h = "_icon_u7cv2_30", c = {
8
8
  root: p,
9
- item: z,
9
+ item: u,
10
10
  active: N,
11
11
  icon: h
12
- }, g = d.forwardRef(function(e, r) {
12
+ }, k = v.forwardRef(function(e, r) {
13
13
  const {
14
14
  items: n,
15
15
  activeItemId: s,
16
16
  onActivate: a = f
17
17
  } = e, m = n.map((o) => /* @__PURE__ */ l(
18
- _,
18
+ d,
19
19
  {
20
- className: v(t.item, { [t.active]: o.id === s }),
20
+ className: _(c.item, { [c.active]: o.id === s }),
21
21
  onClick: () => a(o.id),
22
22
  children: [
23
- !!o.icon && /* @__PURE__ */ i("div", { className: t.icon, children: c(o.icon) }),
24
- /* @__PURE__ */ i("div", { className: t.label, children: c(o.label) })
23
+ !!o.icon && /* @__PURE__ */ t("div", { className: c.icon, children: i(o.icon) }),
24
+ /* @__PURE__ */ t("div", { className: c.label, children: i(o.label) })
25
25
  ]
26
26
  },
27
27
  o.id
28
28
  ));
29
- return /* @__PURE__ */ i("div", { ref: r, className: t.root, children: m });
29
+ return /* @__PURE__ */ t("div", { ref: r, className: c.root, children: m });
30
30
  });
31
31
  export {
32
- g as NavList
32
+ k as NavList
33
33
  };
@@ -1,30 +1,30 @@
1
- import { jsxs as f, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
2
  import s from "react";
3
- import { clsx as g } from "../../utils/clsx.js";
4
- import '../../assets/Radio.css';const h = "_root_e4x8g_1", u = "_indicator_e4x8g_29", p = "_disabled_e4x8g_44", e = {
5
- root: h,
6
- "size-normal": "_size-normal_e4x8g_19",
7
- "size-large": "_size-large_e4x8g_22",
8
- indicator: u,
9
- disabled: p
3
+ import { clsx as h } from "../../utils/clsx.js";
4
+ import '../../assets/Radio.css';const u = "_root_1yglr_1", p = "_indicator_1yglr_29", x = "_disabled_1yglr_44", e = {
5
+ root: u,
6
+ "size-normal": "_size-normal_1yglr_19",
7
+ "size-large": "_size-large_1yglr_22",
8
+ indicator: p,
9
+ disabled: x
10
10
  };
11
- let i = 1;
12
- function I(l) {
11
+ let r = 1;
12
+ function C(n) {
13
13
  const {
14
14
  checked: a,
15
- onChange: r,
15
+ onChange: i,
16
16
  label: d,
17
17
  size: c = "normal",
18
18
  className: _,
19
19
  disabled: t = !1
20
- } = l, m = s.useRef(i);
20
+ } = n, m = s.useRef(r);
21
21
  s.useEffect(() => {
22
- i += 1;
22
+ r += 1;
23
23
  }, []);
24
- const x = () => {
25
- r(!a);
26
- }, n = s.useId(), b = g(e.root, _, e[`size-${c}`], { [e.disabled]: t });
27
- return /* @__PURE__ */ f("label", { className: b, htmlFor: n, children: [
24
+ const b = () => {
25
+ i(!a);
26
+ }, l = s.useId(), f = h(e.root, _, e[`size-${c}`], { [e.disabled]: t });
27
+ return /* @__PURE__ */ g("label", { className: f, htmlFor: l, children: [
28
28
  /* @__PURE__ */ o(
29
29
  "input",
30
30
  {
@@ -32,8 +32,8 @@ function I(l) {
32
32
  tabIndex: m.current,
33
33
  checked: a,
34
34
  disabled: t,
35
- onChange: x,
36
- id: n
35
+ onChange: b,
36
+ id: l
37
37
  }
38
38
  ),
39
39
  /* @__PURE__ */ o("div", { className: e.indicator }),
@@ -41,5 +41,5 @@ function I(l) {
41
41
  ] });
42
42
  }
43
43
  export {
44
- I as Radio
44
+ C as Radio
45
45
  };
@@ -3041,7 +3041,7 @@ function dn(e) {
3041
3041
  function As(e) {
3042
3042
  return Co({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z" } }] })(e);
3043
3043
  }
3044
- const Ts = "_content_18ito_1", Os = "_option_18ito_1", Ns = "_trigger_18ito_1", Is = "_small_18ito_5", _s = "_large_18ito_9", Ms = "_fullWidth_18ito_118", Ls = "_icon_18ito_122", Ds = "_app_18ito_1", ks = "_arrow_18ito_142", Q = {
3044
+ const Ts = "_content_1ksgn_1", Os = "_option_1ksgn_1", Ns = "_trigger_1ksgn_1", Is = "_small_1ksgn_5", _s = "_large_1ksgn_9", Ms = "_fullWidth_1ksgn_118", Ls = "_icon_1ksgn_122", Ds = "_app_1ksgn_1", ks = "_arrow_1ksgn_142", Q = {
3045
3045
  content: Ts,
3046
3046
  option: Os,
3047
3047
  trigger: Ns,
@@ -11,16 +11,16 @@ import '../../assets/Switch.css';var S = "Switch", [z, Y] = B(S), [A, O] = z(S),
11
11
  checked: c,
12
12
  defaultChecked: d,
13
13
  required: u,
14
- disabled: r,
14
+ disabled: n,
15
15
  value: h = "on",
16
16
  onCheckedChange: m,
17
17
  ...v
18
- } = t, [n, f] = a.useState(null), x = H(s, (p) => f(p)), w = a.useRef(!1), k = n ? !!n.closest("form") : !0, [l = !1, g] = I({
18
+ } = t, [r, f] = a.useState(null), T = H(s, (p) => f(p)), w = a.useRef(!1), k = r ? !!r.closest("form") : !0, [l = !1, x] = I({
19
19
  prop: c,
20
20
  defaultProp: d,
21
21
  onChange: m
22
22
  });
23
- return /* @__PURE__ */ N(A, { scope: e, checked: l, disabled: r, children: [
23
+ return /* @__PURE__ */ N(A, { scope: e, checked: l, disabled: n, children: [
24
24
  /* @__PURE__ */ i(
25
25
  _.button,
26
26
  {
@@ -28,27 +28,27 @@ import '../../assets/Switch.css';var S = "Switch", [z, Y] = B(S), [A, O] = z(S),
28
28
  role: "switch",
29
29
  "aria-checked": l,
30
30
  "aria-required": u,
31
- "data-state": T(l),
32
- "data-disabled": r ? "" : void 0,
33
- disabled: r,
31
+ "data-state": y(l),
32
+ "data-disabled": n ? "" : void 0,
33
+ disabled: n,
34
34
  value: h,
35
35
  ...v,
36
- ref: x,
36
+ ref: T,
37
37
  onClick: M(t.onClick, (p) => {
38
- g((E) => !E), k && (w.current = p.isPropagationStopped(), w.current || p.stopPropagation());
38
+ x((E) => !E), k && (w.current = p.isPropagationStopped(), w.current || p.stopPropagation());
39
39
  })
40
40
  }
41
41
  ),
42
42
  k && /* @__PURE__ */ i(
43
43
  $,
44
44
  {
45
- control: n,
45
+ control: r,
46
46
  bubbles: !w.current,
47
47
  name: o,
48
48
  value: h,
49
49
  checked: l,
50
50
  required: u,
51
- disabled: r,
51
+ disabled: n,
52
52
  style: { transform: "translateX(-100%)" }
53
53
  }
54
54
  )
@@ -56,13 +56,13 @@ import '../../assets/Switch.css';var S = "Switch", [z, Y] = B(S), [A, O] = z(S),
56
56
  }
57
57
  );
58
58
  P.displayName = S;
59
- var R = "SwitchThumb", y = a.forwardRef(
59
+ var R = "SwitchThumb", g = a.forwardRef(
60
60
  (t, s) => {
61
61
  const { __scopeSwitch: e, ...o } = t, c = O(R, e);
62
62
  return /* @__PURE__ */ i(
63
63
  _.span,
64
64
  {
65
- "data-state": T(c.checked),
65
+ "data-state": y(c.checked),
66
66
  "data-disabled": c.disabled ? "" : void 0,
67
67
  ...o,
68
68
  ref: s
@@ -70,14 +70,14 @@ var R = "SwitchThumb", y = a.forwardRef(
70
70
  );
71
71
  }
72
72
  );
73
- y.displayName = R;
73
+ g.displayName = R;
74
74
  var $ = (t) => {
75
- const { control: s, checked: e, bubbles: o = !0, ...c } = t, d = a.useRef(null), u = j(e), r = q(s);
75
+ const { control: s, checked: e, bubbles: o = !0, ...c } = t, d = a.useRef(null), u = j(e), n = q(s);
76
76
  return a.useEffect(() => {
77
- const h = d.current, m = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(m, "checked").set;
78
- if (u !== e && n) {
77
+ const h = d.current, m = window.HTMLInputElement.prototype, r = Object.getOwnPropertyDescriptor(m, "checked").set;
78
+ if (u !== e && r) {
79
79
  const f = new Event("click", { bubbles: o });
80
- n.call(h, e), h.dispatchEvent(f);
80
+ r.call(h, e), h.dispatchEvent(f);
81
81
  }
82
82
  }, [u, e, o]), /* @__PURE__ */ i(
83
83
  "input",
@@ -90,7 +90,7 @@ var $ = (t) => {
90
90
  ref: d,
91
91
  style: {
92
92
  ...t.style,
93
- ...r,
93
+ ...n,
94
94
  position: "absolute",
95
95
  pointerEvents: "none",
96
96
  opacity: 0,
@@ -99,11 +99,11 @@ var $ = (t) => {
99
99
  }
100
100
  );
101
101
  };
102
- function T(t) {
102
+ function y(t) {
103
103
  return t ? "checked" : "unchecked";
104
104
  }
105
- var D = P, F = y;
106
- const L = "_switchUnset_adsuh_1", W = "_switchRoot_adsuh_5", X = "_switchThumb_adsuh_30", b = {
105
+ var D = P, F = g;
106
+ const L = "_switchUnset_tpmng_1", W = "_switchRoot_tpmng_5", X = "_switchThumb_tpmng_30", b = {
107
107
  switchUnset: L,
108
108
  switchRoot: W,
109
109
  switchThumb: X
@@ -1,90 +1,90 @@
1
- import { jsx as r, jsxs as N } from "react/jsx-runtime";
2
- import f, { createElement as u } from "react";
3
- import { Dot as j } from "../Dot/Dot.js";
4
- import { clsx as v } from "../../utils/clsx.js";
5
- import '../../assets/Tabular.css';const k = "_reset_hzvjz_1", C = "_root_hzvjz_5", p = "_item_hzvjz_16", x = "_active_hzvjz_37", I = "_hasNotification_hzvjz_64", R = "_content_hzvjz_67", a = {
6
- reset: k,
7
- root: C,
8
- "theme-dark": "_theme-dark_hzvjz_10",
9
- "theme-light": "_theme-light_hzvjz_13",
10
- item: p,
11
- active: x,
12
- hasNotification: I,
13
- content: R
1
+ import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
+ import h, { createElement as v } from "react";
3
+ import { Dot as C } from "../Dot/Dot.js";
4
+ import { clsx as k } from "../../utils/clsx.js";
5
+ import '../../assets/Tabular.css';const p = "_reset_cctkn_1", x = "_root_cctkn_5", I = "_item_cctkn_16", R = "_active_cctkn_37", g = "_hasNotification_cctkn_64", T = "_content_cctkn_67", a = {
6
+ reset: p,
7
+ root: x,
8
+ "theme-dark": "_theme-dark_cctkn_10",
9
+ "theme-light": "_theme-light_cctkn_13",
10
+ item: I,
11
+ active: R,
12
+ hasNotification: g,
13
+ content: T
14
14
  };
15
- function m(h) {
15
+ function m(_) {
16
16
  const {
17
- items: s,
17
+ items: i,
18
18
  activeItem: o,
19
19
  onActivate: e,
20
- itemClassName: i,
21
- ...c
22
- } = h, n = f.useCallback((t) => {
20
+ itemClassName: c,
21
+ ...n
22
+ } = _, s = h.useCallback((t) => {
23
23
  e && e(t);
24
24
  }, [e]);
25
- return /* @__PURE__ */ r(m.Root, { ...c, children: s.map((t) => /* @__PURE__ */ u(
25
+ return /* @__PURE__ */ r(m.Root, { ...n, children: i.map((t) => /* @__PURE__ */ v(
26
26
  m.Item,
27
27
  {
28
28
  ...t,
29
- className: i,
29
+ className: c,
30
30
  key: t.id,
31
31
  active: t.id === o,
32
- onClick: n
32
+ onClick: s
33
33
  }
34
34
  )) });
35
35
  }
36
- m.Root = function(s) {
36
+ m.Root = function(i) {
37
37
  const {
38
38
  children: o,
39
39
  className: e,
40
- ariaLabel: i,
41
- tabIndex: c,
42
- theme: n = "dark",
40
+ ariaLabel: c,
41
+ tabIndex: n,
42
+ theme: s = "dark",
43
43
  role: t = "tablist"
44
- } = s, l = v(a.root, a[`theme-${n}`], e);
44
+ } = i, l = k(a.root, a[`theme-${s}`], e);
45
45
  return /* @__PURE__ */ r(
46
46
  "div",
47
47
  {
48
48
  role: t,
49
- "aria-label": i,
50
- tabIndex: c,
49
+ "aria-label": c,
50
+ tabIndex: n,
51
51
  className: l,
52
52
  children: o
53
53
  }
54
54
  );
55
55
  };
56
- m.Item = function(s) {
56
+ m.Item = function(i) {
57
57
  const {
58
58
  id: o,
59
59
  label: e,
60
- onClick: i,
61
- ariaLabel: c,
62
- ariaControls: n,
60
+ onClick: c,
61
+ ariaLabel: n,
62
+ ariaControls: s,
63
63
  className: t,
64
64
  active: l = !1,
65
- disabled: _ = !1,
66
- hasNotification: d = !1
67
- } = s, b = f.useCallback(() => {
68
- _ || i(o);
69
- }, [_, i, o]), z = v(a.reset, a.item, t, {
65
+ disabled: d = !1,
66
+ hasNotification: f = !1
67
+ } = i, b = h.useCallback(() => {
68
+ d || c(o);
69
+ }, [d, c, o]), N = k(a.reset, a.item, t, {
70
70
  [a.active]: l,
71
- [a.hasNotification]: d
71
+ [a.hasNotification]: f
72
72
  });
73
73
  return /* @__PURE__ */ r(
74
74
  "button",
75
75
  {
76
- disabled: _,
76
+ disabled: d,
77
77
  type: "button",
78
78
  role: "tab",
79
- className: z,
79
+ className: N,
80
80
  onClick: b,
81
- "aria-label": c,
82
- "aria-controls": n,
81
+ "aria-label": n,
82
+ "aria-controls": s,
83
83
  "data-text": e,
84
84
  "aria-selected": l,
85
- children: /* @__PURE__ */ N("span", { className: a.content, children: [
85
+ children: /* @__PURE__ */ u("span", { className: a.content, children: [
86
86
  e,
87
- d && /* @__PURE__ */ r(j, { color: "green", className: a.notification })
87
+ f && /* @__PURE__ */ r(C, { color: "green", className: a.notification })
88
88
  ] })
89
89
  }
90
90
  );
@@ -1,18 +1,18 @@
1
- import { jsx as t, jsxs as f } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as p } from "react/jsx-runtime";
2
2
  import _ from "react";
3
- import { clsx as p } from "../../utils/clsx.js";
4
- import '../../assets/Textarea.css';const g = "_root_1ayj5_1", x = "_small_1ayj5_7", k = "_large_1ayj5_11", v = "_error_1ayj5_15", C = "_disabled_1ayj5_19", e = {
5
- root: g,
6
- "full-width": "_full-width_1ayj5_4",
7
- small: x,
8
- large: k,
9
- error: v,
10
- disabled: C,
11
- "resize-none": "_resize-none_1ayj5_63",
12
- "resize-vertical": "_resize-vertical_1ayj5_66",
13
- "resize-horizontal": "_resize-horizontal_1ayj5_69",
14
- "resize-both": "_resize-both_1ayj5_72",
15
- "backdrop-blur": "_backdrop-blur_1ayj5_110"
3
+ import { clsx as g } from "../../utils/clsx.js";
4
+ import '../../assets/Textarea.css';const x = "_root_fya03_1", k = "_small_fya03_7", v = "_large_fya03_11", C = "_error_fya03_15", N = "_disabled_fya03_19", e = {
5
+ root: x,
6
+ "full-width": "_full-width_fya03_4",
7
+ small: k,
8
+ large: v,
9
+ error: C,
10
+ disabled: N,
11
+ "resize-none": "_resize-none_fya03_63",
12
+ "resize-vertical": "_resize-vertical_fya03_66",
13
+ "resize-horizontal": "_resize-horizontal_fya03_69",
14
+ "resize-both": "_resize-both_fya03_72",
15
+ "backdrop-blur": "_backdrop-blur_fya03_110"
16
16
  };
17
17
  function I(n) {
18
18
  const {
@@ -21,12 +21,12 @@ function I(n) {
21
21
  label: r,
22
22
  placeholder: i,
23
23
  rows: d,
24
- resize: b = "none",
24
+ resize: f = "none",
25
25
  disabled: o = !1,
26
- autofocus: u,
27
- className: h,
28
- backdropBlur: m = !1
29
- } = n, j = _.useCallback(
26
+ autofocus: b,
27
+ className: u,
28
+ backdropBlur: h = !1
29
+ } = n, m = _.useCallback(
30
30
  (y) => {
31
31
  a(y.target.value);
32
32
  },
@@ -34,20 +34,20 @@ function I(n) {
34
34
  ), l = _.useId(), s = /* @__PURE__ */ t(
35
35
  "textarea",
36
36
  {
37
- autoFocus: u,
37
+ autoFocus: b,
38
38
  id: l,
39
- className: e[`resize-${b}`],
39
+ className: e[`resize-${f}`],
40
40
  rows: d,
41
41
  value: c,
42
42
  disabled: o,
43
- onChange: j,
43
+ onChange: m,
44
44
  placeholder: i
45
45
  }
46
- ), z = p(e.root, h, {
46
+ ), z = g(e.root, u, {
47
47
  [e.disabled]: o,
48
- [e["backdrop-blur"]]: m
48
+ [e["backdrop-blur"]]: h
49
49
  });
50
- return /* @__PURE__ */ t("div", { className: z, children: r ? /* @__PURE__ */ f("label", { htmlFor: l, children: [
50
+ return /* @__PURE__ */ t("div", { className: z, children: r ? /* @__PURE__ */ p("label", { htmlFor: l, children: [
51
51
  r,
52
52
  s
53
53
  ] }) : s });
@@ -1,46 +1,46 @@
1
1
  import { jsxs as d, jsx as p } from "react/jsx-runtime";
2
- import l from "react";
3
- import { Interactive as g } from "../Interactive/Interactive.js";
2
+ import a from "react";
3
+ import { Interactive as x } from "../Interactive/Interactive.js";
4
4
  import { clsx as _ } from "../../utils/clsx.js";
5
- import '../../assets/ToggleGroup.css';const x = "_root_11k2w_1", D = "_disabled_11k2w_7", j = "_descripted_11k2w_11", E = "_multiline_11k2w_14", L = "_options_11k2w_18", O = "_option_11k2w_18", S = "_description_11k2w_25", G = "_active_11k2w_70", e = {
6
- root: x,
7
- disabled: D,
8
- descripted: j,
5
+ import '../../assets/ToggleGroup.css';const D = "_root_1ha4w_1", j = "_disabled_1ha4w_7", k = "_descripted_1ha4w_11", E = "_multiline_1ha4w_14", L = "_options_1ha4w_18", O = "_option_1ha4w_18", S = "_description_1ha4w_25", G = "_active_1ha4w_70", e = {
6
+ root: D,
7
+ disabled: j,
8
+ descripted: k,
9
9
  multiline: E,
10
10
  options: L,
11
11
  option: O,
12
12
  description: S,
13
13
  active: G
14
- }, m = (a, i) => {
14
+ }, m = (l, i) => {
15
15
  var o;
16
- return ((o = i.find((t) => t.value === a)) == null ? void 0 : o.description) || "";
17
- }, y = l.memo(function(i) {
16
+ return ((o = i.find((t) => t.value === l)) == null ? void 0 : o.description) || "";
17
+ }, y = a.memo(function(i) {
18
18
  const {
19
19
  value: o,
20
20
  options: t,
21
21
  onChange: r,
22
22
  className: u = "",
23
- disabled: v = !1,
24
- multiline: f = !1
25
- } = i, [n, c] = l.useState(m(o, t)), k = l.useMemo(
26
- () => t.map((s, w) => {
27
- const N = () => {
23
+ disabled: h = !1,
24
+ multiline: v = !1
25
+ } = i, [n, c] = a.useState(m(o, t)), f = a.useMemo(
26
+ () => t.map((s, N) => {
27
+ const b = () => {
28
28
  r(s.value);
29
- }, b = () => {
30
- c(s.description || "");
31
29
  }, C = () => {
30
+ c(s.description || "");
31
+ }, M = () => {
32
32
  c(m(o, t));
33
- }, M = _(e.option, {
33
+ }, g = _(e.option, {
34
34
  [e.active]: s.value === o
35
35
  });
36
36
  return /* @__PURE__ */ d(
37
- g,
37
+ x,
38
38
  {
39
- className: M,
40
- tabIndex: w,
41
- onClick: N,
42
- onMouseEnter: b,
43
- onMouseLeave: C,
39
+ className: g,
40
+ tabIndex: N,
41
+ onClick: b,
42
+ onMouseEnter: C,
43
+ onMouseLeave: M,
44
44
  children: [
45
45
  s.icon || null,
46
46
  s.label
@@ -50,13 +50,13 @@ import '../../assets/ToggleGroup.css';const x = "_root_11k2w_1", D = "_disabled_
50
50
  );
51
51
  }),
52
52
  [o, t, r, c]
53
- ), h = _(e.root, u, {
54
- [e.disabled]: v,
53
+ ), w = _(e.root, u, {
54
+ [e.disabled]: h,
55
55
  [e.descripted]: n,
56
- [e.multiline]: f
56
+ [e.multiline]: v
57
57
  });
58
- return /* @__PURE__ */ d("div", { className: h, children: [
59
- /* @__PURE__ */ p("div", { className: e.options, children: k }),
58
+ return /* @__PURE__ */ d("div", { className: w, children: [
59
+ /* @__PURE__ */ p("div", { className: e.options, children: f }),
60
60
  n && /* @__PURE__ */ p("div", { className: e.description, children: n })
61
61
  ] });
62
62
  });
@@ -198,7 +198,7 @@ $cfxui-color-alpha: (
198
198
 
199
199
  @mixin animated($props: 'all', $subClass: '&') {
200
200
  #{$subClass} {
201
- transition: #{$props} .2s ease,
201
+ transition: #{$props} .25s ease,
202
202
  outline-offset 0s,
203
203
  outline 0s;
204
204
  }
@@ -272,6 +272,12 @@ $cfxui-color-alpha: (
272
272
  ::-webkit-scrollbar {
273
273
  width: use('scrollable-thumb-size');
274
274
  }
275
+ ::-webkit-scrollbar:horizontal {
276
+ height: use('scrollable-thumb-size');
277
+ }
278
+ ::-webkit-scrollbar-track {
279
+ background-color: color-token('scrollbar-track-background');
280
+ }
275
281
  ::-webkit-scrollbar-thumb {
276
282
  @include border-radius('pill');
277
283
 
@@ -284,6 +290,9 @@ $cfxui-color-alpha: (
284
290
  background-color: color-token('scrollbar-active');
285
291
  }
286
292
  }
293
+ ::-webkit-scrollbar-corner {
294
+ display: none;
295
+ }
287
296
  }
288
297
 
289
298
  @mixin placeholder-color($color) {