@cfx-dev/ui-components 3.0.2 → 3.0.4

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.
Files changed (136) hide show
  1. package/dist/Rail-DcVowhML.js +81 -0
  2. package/dist/assets/css/Accordion.css +1 -1
  3. package/dist/assets/css/Avatar.css +1 -1
  4. package/dist/assets/css/Badge.css +1 -1
  5. package/dist/assets/css/Box.css +1 -1
  6. package/dist/assets/css/Button.css +1 -1
  7. package/dist/assets/css/ButtonBar.css +1 -1
  8. package/dist/assets/css/Center.css +1 -1
  9. package/dist/assets/css/Checkbox.css +1 -1
  10. package/dist/assets/css/ClipboardButton.css +1 -1
  11. package/dist/assets/css/ControlBox.css +1 -1
  12. package/dist/assets/css/CountryFlag.css +1 -1
  13. package/dist/assets/css/Decorate.css +1 -1
  14. package/dist/assets/css/Dot.css +1 -1
  15. package/dist/assets/css/Flex.css +1 -1
  16. package/dist/assets/css/FlexRestricter.css +1 -1
  17. package/dist/assets/css/FlexShowcase.css +1 -1
  18. package/dist/assets/css/Flyout.css +1 -1
  19. package/dist/assets/css/Icon.css +1 -1
  20. package/dist/assets/css/IconBig.css +1 -1
  21. package/dist/assets/css/IconButton.css +1 -1
  22. package/dist/assets/css/Indicator.css +1 -1
  23. package/dist/assets/css/InfoPanel.css +1 -1
  24. package/dist/assets/css/Input.css +1 -1
  25. package/dist/assets/css/InputDropzone.css +1 -1
  26. package/dist/assets/css/Interactive.css +1 -1
  27. package/dist/assets/css/Island.css +1 -1
  28. package/dist/assets/css/ItemPreview.css +1 -1
  29. package/dist/assets/css/Link.css +1 -1
  30. package/dist/assets/css/Loaf.css +1 -1
  31. package/dist/assets/css/Modal.css +1 -1
  32. package/dist/assets/css/NavList.css +1 -1
  33. package/dist/assets/css/Overlay.css +1 -1
  34. package/dist/assets/css/Pad.css +1 -1
  35. package/dist/assets/css/Page.css +1 -1
  36. package/dist/assets/css/Popover.css +1 -1
  37. package/dist/assets/css/PopoverShowcase.css +1 -1
  38. package/dist/assets/css/PremiumBadge.css +1 -1
  39. package/dist/assets/css/Prose.css +1 -1
  40. package/dist/assets/css/Radio.css +1 -1
  41. package/dist/assets/css/Rail.css +1 -1
  42. package/dist/assets/css/RichInput.css +1 -1
  43. package/dist/assets/css/Select.css +1 -1
  44. package/dist/assets/css/Separator.css +1 -1
  45. package/dist/assets/css/Shroud.css +1 -1
  46. package/dist/assets/css/Skeleton.css +1 -1
  47. package/dist/assets/css/Spacer.css +1 -1
  48. package/dist/assets/css/Switch.css +1 -1
  49. package/dist/assets/css/Table.css +1 -1
  50. package/dist/assets/css/Tabular.css +1 -1
  51. package/dist/assets/css/Text.css +1 -1
  52. package/dist/assets/css/TextShowcase.css +1 -1
  53. package/dist/assets/css/Textarea.css +1 -1
  54. package/dist/assets/css/Title.css +1 -1
  55. package/dist/assets/css/ToggleGroup.css +1 -1
  56. package/dist/assets/general/global.css +1 -1
  57. package/dist/cfxIcons-BNd1WgpX.js +96 -0
  58. package/dist/components/Accordion/Accordion.js +69 -69
  59. package/dist/components/Avatar/Avatar.js +18 -18
  60. package/dist/components/Badge/Badge.js +23 -23
  61. package/dist/components/Button/Button.js +76 -76
  62. package/dist/components/Button/ButtonBar.js +6 -6
  63. package/dist/components/Checkbox/Checkbox.js +90 -85
  64. package/dist/components/ClipboardButton/ClipboardButton.js +17 -17
  65. package/dist/components/ControlBox/ControlBox.js +11 -11
  66. package/dist/components/CountryFlag/CountryFlag.js +9 -9
  67. package/dist/components/Decorate/Decorate.js +12 -12
  68. package/dist/components/Dot/Dot.js +17 -17
  69. package/dist/components/Flyout/Flyout.js +44 -44
  70. package/dist/components/Icon/Icon.js +14 -14
  71. package/dist/components/IconBig/IconBig.js +23 -18
  72. package/dist/components/IconButton/IconButton.js +25 -25
  73. package/dist/components/Icons/IconsShowcase.js +1 -1
  74. package/dist/components/Icons/cfx-icons/Cart.d.ts +5 -0
  75. package/dist/components/Icons/cfx-icons/Cart.js +42 -0
  76. package/dist/components/Icons/cfx-icons/UpvotesBurst.d.ts +5 -0
  77. package/dist/components/Icons/cfx-icons/UpvotesBurst.js +26 -0
  78. package/dist/components/Icons/cfx-icons/UpvotesRecurring.d.ts +5 -0
  79. package/dist/components/Icons/cfx-icons/UpvotesRecurring.js +27 -0
  80. package/dist/components/Icons/cfx-icons/User.d.ts +5 -0
  81. package/dist/components/Icons/cfx-icons/User.js +31 -0
  82. package/dist/components/Icons/cfx-icons/Verified.d.ts +5 -0
  83. package/dist/components/Icons/cfx-icons/Verified.js +23 -0
  84. package/dist/components/Icons/cfxIcons.d.ts +5 -0
  85. package/dist/components/Icons/cfxIcons.js +52 -42
  86. package/dist/components/Icons/index.js +1 -1
  87. package/dist/components/Indicator/Indicator.js +11 -11
  88. package/dist/components/InfoPanel/InfoPanel.js +37 -37
  89. package/dist/components/Input/Input.js +59 -59
  90. package/dist/components/Input/RichInput.js +39 -39
  91. package/dist/components/InputDropzone/InputDropzone.js +87 -87
  92. package/dist/components/InputDropzone/ItemPreview.js +17 -17
  93. package/dist/components/Interactive/Interactive.js +6 -6
  94. package/dist/components/Island/Island.js +20 -20
  95. package/dist/components/Layout/Box/Box.js +81 -81
  96. package/dist/components/Layout/Center/Center.js +14 -14
  97. package/dist/components/Layout/Flex/Flex.js +67 -67
  98. package/dist/components/Layout/Flex/FlexRestricter.js +14 -14
  99. package/dist/components/Layout/Flex/FlexShowcase.js +4 -4
  100. package/dist/components/Layout/Pad/Pad.js +34 -34
  101. package/dist/components/Layout/Page/Page.js +11 -11
  102. package/dist/components/Layout/Scrollable/Rail.js +1 -1
  103. package/dist/components/Layout/Scrollable/Scrollable.js +1 -1
  104. package/dist/components/Layout/Scrollable/VirtualScrollable.js +1 -1
  105. package/dist/components/Layout/Scrollable/index.js +1 -1
  106. package/dist/components/Link/ButtonLink.js +7 -6
  107. package/dist/components/Link/Link.js +36 -27
  108. package/dist/components/Loaf/Loaf.js +20 -20
  109. package/dist/components/Modal/Modal.js +51 -51
  110. package/dist/components/NavList/NavList.js +23 -23
  111. package/dist/components/Overlay/Overlay.js +17 -17
  112. package/dist/components/Popover/Popover.js +29 -29
  113. package/dist/components/Popover/PopoverShowcase.js +9 -9
  114. package/dist/components/PremiumBadge/PremiumBadge.js +8 -8
  115. package/dist/components/Prose/Prose.js +6 -6
  116. package/dist/components/Radio/Radio.js +32 -32
  117. package/dist/components/Select/Select.js +157 -157
  118. package/dist/components/Separator/Separator.js +31 -31
  119. package/dist/components/Shroud/Shroud.js +14 -14
  120. package/dist/components/Skeleton/Skeleton.js +10 -10
  121. package/dist/components/Spacer/Spacer.js +25 -25
  122. package/dist/components/Switch/Switch.js +43 -43
  123. package/dist/components/Table/Table.js +82 -82
  124. package/dist/components/Tabular/Tabular.js +60 -60
  125. package/dist/components/Text/Text.js +26 -26
  126. package/dist/components/Text/TextShowcase.js +19 -19
  127. package/dist/components/Textarea/Textarea.js +36 -36
  128. package/dist/components/Title/Title.js +57 -57
  129. package/dist/components/ToggleGroup/ToggleGroup.js +40 -40
  130. package/dist/main.js +2 -2
  131. package/dist/styles-scss/_ui.scss +22 -0
  132. package/dist/styles-scss/global.scss +5 -0
  133. package/dist/styles-scss/tokens.scss +5 -25
  134. package/package.json +2 -2
  135. package/dist/Rail-XT5PwAlx.js +0 -81
  136. package/dist/cfxIcons-BlbKR-zU.js +0 -86
@@ -1,20 +1,20 @@
1
- import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
- import i from "react";
1
+ import { jsxs as n, jsx as m } from "react/jsx-runtime";
2
+ import f from "react";
3
3
  import { clsx as t } from "../../utils/clsx.js";
4
- const _ = "_root_jt9ac_1", f = "_decorator_jt9ac_4", c = {
5
- root: _,
6
- decorator: f
7
- }, u = i.forwardRef(function(o, a) {
4
+ const i = "cfxui__Decorate__root__8f2af", l = "cfxui__Decorate__decorator__db06a", c = {
5
+ root: i,
6
+ decorator: l
7
+ }, h = f.forwardRef(function(o, e) {
8
8
  const {
9
9
  decorator: r,
10
- children: e,
10
+ children: a,
11
11
  className: s
12
- } = o, d = t(c.root, s), n = t(c.decorator, o.decoratorClassName);
13
- return /* @__PURE__ */ m("div", { ref: a, className: d, children: [
14
- e,
15
- !!r && /* @__PURE__ */ l("div", { className: n, children: r })
12
+ } = o, d = t(c.root, s), _ = t(c.decorator, o.decoratorClassName);
13
+ return /* @__PURE__ */ n("div", { ref: e, className: d, children: [
14
+ a,
15
+ !!r && /* @__PURE__ */ m("div", { className: _, children: r })
16
16
  ] });
17
17
  });
18
18
  export {
19
- u as Decorate
19
+ h as Decorate
20
20
  };
@@ -1,23 +1,23 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import l from "react";
3
- import { clsx as m } from "../../utils/clsx.js";
4
- import { getColor as i } from "../../utils/color.js";
5
- const _ = "_root_8a36f_1", r = {
6
- root: _,
7
- "size-small": "_size-small_8a36f_6",
8
- "size-normal": "_size-normal_8a36f_10",
9
- "size-large": "_size-large_8a36f_14"
10
- }, g = l.forwardRef(function(o, t) {
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { clsx as l } from "../../utils/clsx.js";
4
+ import { getColor as a } from "../../utils/color.js";
5
+ const c = "cfxui__Dot__root__9bed3", r = {
6
+ root: c,
7
+ "size-small": "cfxui__Dot__size-small__b7d03",
8
+ "size-normal": "cfxui__Dot__size-normal__e73b3",
9
+ "size-large": "cfxui__Dot__size-large__4fe0a"
10
+ }, x = i.forwardRef(function(o, _) {
11
11
  const {
12
- size: a = "normal",
13
- className: s
12
+ size: t = "normal",
13
+ className: e
14
14
  } = o;
15
- return /* @__PURE__ */ e(
15
+ return /* @__PURE__ */ s(
16
16
  "div",
17
17
  {
18
- ref: t,
19
- className: m(r.root, r[`size-${a}`], s),
20
- style: { backgroundColor: i({
18
+ ref: _,
19
+ className: l(r.root, r[`size-${t}`], e),
20
+ style: { backgroundColor: a({
21
21
  ...o,
22
22
  color: o.color || "primary"
23
23
  }) }
@@ -25,5 +25,5 @@ const _ = "_root_8a36f_1", r = {
25
25
  );
26
26
  });
27
27
  export {
28
- g as Dot
28
+ x as Dot
29
29
  };
@@ -1,61 +1,61 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import i from "react";
3
- import { F as p } from "../../Combination-BRUj3CHE.js";
4
- import { Button as v } from "../Button/Button.js";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import { F as f } from "../../Combination-BRUj3CHE.js";
4
+ import { Button as p } from "../Button/Button.js";
5
5
  import { Interactive as h } from "../Interactive/Interactive.js";
6
- import { clsx as c } from "../../utils/clsx.js";
7
- import { noop as f } from "../../utils/functional.js";
6
+ import { clsx as l } from "../../utils/clsx.js";
7
+ import { noop as y } from "../../utils/functional.js";
8
8
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
9
- import { useKeyboardClose as k } from "../../utils/hooks/useKeyboardClose.js";
10
- import { useOutlet as q } from "../../utils/hooks/useOutlet.js";
11
- const b = "_root_6qvdu_1", C = "_holder_6qvdu_6", N = "_active_6qvdu_15", z = "_backdrop_6qvdu_15", y = "_mask_6qvdu_28", F = "_content_6qvdu_90", L = "_header_6qvdu_95", x = "_title_6qvdu_101", e = {
12
- root: b,
13
- "size-normal": "_size-normal_6qvdu_6",
14
- holder: C,
15
- "size-small": "_size-small_6qvdu_9",
16
- "size-xsmall": "_size-xsmall_6qvdu_12",
17
- active: N,
18
- backdrop: z,
19
- "backdrop-appearance": "_backdrop-appearance_6qvdu_1",
20
- mask: y,
21
- "holder-appearance": "_holder-appearance_6qvdu_1",
22
- content: F,
9
+ import { useKeyboardClose as F } from "../../utils/hooks/useKeyboardClose.js";
10
+ import { useOutlet as x } from "../../utils/hooks/useOutlet.js";
11
+ const k = "cfxui__Flyout__root__eba04", b = "cfxui__Flyout__holder__d80b5", v = "cfxui__Flyout__active__14a29", C = "cfxui__Flyout__backdrop__57f9e", N = "cfxui__Flyout__mask__72713", z = "cfxui__Flyout__content__04e42", L = "cfxui__Flyout__header__40009", O = "cfxui__Flyout__title__b235a", o = {
12
+ root: k,
13
+ "size-normal": "cfxui__Flyout__size-normal__e1165",
14
+ holder: b,
15
+ "size-small": "cfxui__Flyout__size-small__038a5",
16
+ "size-xsmall": "cfxui__Flyout__size-xsmall__839e8",
17
+ active: v,
18
+ backdrop: C,
19
+ "backdrop-appearance": "cfxui__Flyout__backdrop-appearance__d9564",
20
+ mask: N,
21
+ "holder-appearance": "cfxui__Flyout__holder-appearance__e818c",
22
+ content: z,
23
23
  header: L,
24
- title: x
25
- }, O = "flyout-outlet";
26
- function E(n) {
24
+ title: O
25
+ }, E = "flyout-outlet";
26
+ function I(c) {
27
27
  const {
28
28
  disabled: t = !1,
29
29
  size: a = "normal",
30
- onClose: r = f,
31
- children: l,
32
- holderClassName: m
33
- } = n, _ = q(O);
34
- i.useEffect(() => {
30
+ onClose: s = y,
31
+ children: r,
32
+ holderClassName: d
33
+ } = c, u = x(E);
34
+ n.useEffect(() => {
35
35
  if (t)
36
36
  return;
37
- const s = document.getElementById("cfxui-root");
38
- return s == null || s.classList.add("shrink"), () => s == null ? void 0 : s.classList.remove("shrink");
39
- }, [t]), k(r);
40
- const u = c(e.root, e[`size-${a}`], {
41
- [e.active]: !t
37
+ const _ = document.getElementById("cfxui-root");
38
+ return _ == null || _.classList.add("shrink"), () => _ == null ? void 0 : _.classList.remove("shrink");
39
+ }, [t]), F(s);
40
+ const m = l(o.root, o[`size-${a}`], {
41
+ [o.active]: !t
42
42
  });
43
- return /* @__PURE__ */ o(_, { children: /* @__PURE__ */ d("div", { className: u, children: [
44
- /* @__PURE__ */ o(h, { showPointer: !1, className: e.backdrop, onClick: r }),
45
- /* @__PURE__ */ o("div", { className: e.mask, children: /* @__PURE__ */ o("div", { className: c(e.holder, m), children: /* @__PURE__ */ o(p, { disabled: !!t, className: e.content, children: l }) }) })
43
+ return /* @__PURE__ */ e(u, { children: /* @__PURE__ */ i("div", { className: m, children: [
44
+ /* @__PURE__ */ e(h, { showPointer: !1, className: o.backdrop, onClick: s }),
45
+ /* @__PURE__ */ e("div", { className: o.mask, children: /* @__PURE__ */ e("div", { className: l(o.holder, d), children: /* @__PURE__ */ e(f, { disabled: !!t, className: o.content, children: r }) }) })
46
46
  ] }) });
47
47
  }
48
- E.Header = i.forwardRef(function(t, a) {
48
+ I.Header = n.forwardRef(function(t, a) {
49
49
  const {
50
- onClose: r,
51
- children: l
50
+ onClose: s,
51
+ children: r
52
52
  } = t;
53
- return /* @__PURE__ */ d("div", { ref: a, className: e.header, children: [
54
- /* @__PURE__ */ o("div", { className: e.title, children: l }),
55
- !!r && /* @__PURE__ */ o(v, { icon: "Close", onClick: r })
53
+ return /* @__PURE__ */ i("div", { ref: a, className: o.header, children: [
54
+ /* @__PURE__ */ e("div", { className: o.title, children: r }),
55
+ !!s && /* @__PURE__ */ e(p, { icon: "Close", onClick: s })
56
56
  ] });
57
57
  });
58
58
  export {
59
- O as FLYOUT_OUTLET_ID,
60
- E as Flyout
59
+ E as FLYOUT_OUTLET_ID,
60
+ I as Flyout
61
61
  };
@@ -1,36 +1,36 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import { I as d } from "../../cfxIcons-BlbKR-zU.js";
3
+ import { I as _ } from "../../cfxIcons-BNd1WgpX.js";
4
4
  import "../Icons/cfx-icons-big/Like.js";
5
5
  import "../Icons/cfx-icons-big/Subscriptions.js";
6
6
  import "../Icons/cfx-icons-big/Upload.js";
7
7
  import "../Icons/cfx-icons-big/Warning.js";
8
8
  import "../Icons/cfx-icons-big/Confirm.js";
9
- import { getTextOpacity as h } from "../Text/Text.js";
9
+ import { getTextOpacity as d } from "../Text/Text.js";
10
10
  import { ui as t } from "../ui.js";
11
- import { clsx as y } from "../../utils/clsx.js";
12
- import { getColor as z } from "../../utils/color.js";
13
- const S = "_root_sqbzn_1", _ = {
14
- root: S
11
+ import { clsx as h } from "../../utils/clsx.js";
12
+ import { getColor as y } from "../../utils/color.js";
13
+ const I = "cfxui__Icon__root__6c380", S = {
14
+ root: I
15
15
  }, A = l.forwardRef(function(r, i) {
16
16
  const {
17
- as: e = "div",
17
+ as: c = "div",
18
18
  size: o = "normal",
19
- opacity: m,
20
- className: c,
19
+ opacity: e,
20
+ className: m,
21
21
  name: s
22
22
  } = r, p = {
23
- color: z({
23
+ color: y({
24
24
  ...r,
25
- opacity: h(m)
25
+ opacity: d(e)
26
26
  }),
27
27
  width: t.fontSize(o),
28
28
  height: t.fontSize(o)
29
- }, a = {
29
+ }, f = {
30
30
  width: t.fontSize(o),
31
31
  height: t.fontSize(o)
32
- }, f = d[s];
33
- return /* @__PURE__ */ n(e, { ref: i, style: p, className: y(_.root, c), children: /* @__PURE__ */ n(f, { style: a }) });
32
+ }, a = _[s];
33
+ return /* @__PURE__ */ n(c, { ref: i, style: p, className: h(S.root, m), children: /* @__PURE__ */ n(a, { style: f }) });
34
34
  });
35
35
  export {
36
36
  A as Icon
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import _ from "react";
2
+ import l from "react";
3
3
  import "../Icons/cfx-icons/Close.js";
4
4
  import "../Icons/cfx-icons/Controller.js";
5
5
  import "../Icons/cfx-icons/Copy.js";
@@ -40,30 +40,35 @@ import "../Icons/cfx-icons/Users.js";
40
40
  import "../Icons/cfx-icons/Visibility.js";
41
41
  import "../Icons/cfx-icons/VisibilityOff.js";
42
42
  import "../Icons/cfx-icons/Warning.js";
43
+ import "../Icons/cfx-icons/Cart.js";
44
+ import "../Icons/cfx-icons/User.js";
45
+ import "../Icons/cfx-icons/Verified.js";
46
+ import "../Icons/cfx-icons/UpvotesBurst.js";
47
+ import "../Icons/cfx-icons/UpvotesRecurring.js";
43
48
  import { I as f } from "../../cfxIconsBig-BLJjMT-Y.js";
44
49
  import { getTextOpacity as g } from "../Text/Text.js";
45
- import { clsx as z } from "../../utils/clsx.js";
46
- import { getColor as y } from "../../utils/color.js";
47
- const C = "_root_b0cs1_1", r = {
48
- root: C,
49
- "size-small": "_size-small_b0cs1_6",
50
- "size-normal": "_size-normal_b0cs1_14",
51
- "size-large": "_size-large_b0cs1_22"
52
- }, fo = _.forwardRef(function(o, i) {
50
+ import { clsx as I } from "../../utils/clsx.js";
51
+ import { getColor as x } from "../../utils/color.js";
52
+ const z = "cfxui__IconBig__root__f259a", i = {
53
+ root: z,
54
+ "size-small": "cfxui__IconBig__size-small__4e0b8",
55
+ "size-normal": "cfxui__IconBig__size-normal__6ab6d",
56
+ "size-large": "cfxui__IconBig__size-large__753d2"
57
+ }, Bo = l.forwardRef(function(o, r) {
53
58
  const {
54
59
  as: m = "div",
55
60
  size: p = "normal",
56
- opacity: s,
57
- className: c,
58
- name: e
59
- } = o, n = {
60
- color: y({
61
+ opacity: c,
62
+ className: s,
63
+ name: n
64
+ } = o, e = {
65
+ color: x({
61
66
  ...o,
62
- opacity: g(s)
67
+ opacity: g(c)
63
68
  })
64
- }, a = z(r.root, r[`size-${p}`], c), l = f[e];
65
- return /* @__PURE__ */ t(m, { ref: i, style: n, className: a, children: /* @__PURE__ */ t(l, {}) });
69
+ }, _ = I(i.root, i[`size-${p}`], s), a = f[n];
70
+ return /* @__PURE__ */ t(m, { ref: r, style: e, className: _, children: /* @__PURE__ */ t(a, {}) });
66
71
  });
67
72
  export {
68
- fo as IconBig
73
+ Bo as IconBig
69
74
  };
@@ -1,38 +1,38 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import _ from "react";
3
- import { Icon as p } from "../Icon/Icon.js";
4
- import { clsx as x } from "../../utils/clsx.js";
5
- const d = "_unset_1l0x5_1", f = "_root_1l0x5_5", b = "_medium_1l0x5_19", g = "_large_1l0x5_22", o = {
6
- unset: d,
7
- root: f,
8
- medium: b,
9
- large: g
2
+ import i from "react";
3
+ import { Icon as f } from "../Icon/Icon.js";
4
+ import { clsx as d } from "../../utils/clsx.js";
5
+ const p = "cfxui__IconButton__unset__de209", x = "cfxui__IconButton__root__5af4a", I = "cfxui__IconButton__medium__52958", B = "cfxui__IconButton__large__6d5d8", o = {
6
+ unset: p,
7
+ root: x,
8
+ medium: I,
9
+ large: B
10
10
  };
11
- function y(e) {
11
+ function b(n) {
12
12
  const {
13
- name: r,
14
- onClick: s,
15
- className: a,
16
- disabled: l,
17
- ariaLabel: n,
18
- areaSize: m = "small",
19
- size: c = "xxsmall",
20
- color: i = "primary",
21
- ...u
22
- } = e;
13
+ name: e,
14
+ onClick: a,
15
+ className: c,
16
+ disabled: r,
17
+ ariaLabel: s,
18
+ areaSize: _ = "small",
19
+ size: u = "xxsmall",
20
+ color: m = "primary",
21
+ ...l
22
+ } = n;
23
23
  return /* @__PURE__ */ t(
24
24
  "button",
25
25
  {
26
26
  type: "button",
27
- className: x(o.unset, o.root, a, o[m]),
28
- onClick: s,
29
- disabled: l,
30
- "aria-label": n,
31
- children: /* @__PURE__ */ t(p, { as: "span", name: r, ...u, color: i, size: c })
27
+ className: d(o.unset, o.root, c, o[_]),
28
+ onClick: a,
29
+ disabled: r,
30
+ "aria-label": s,
31
+ children: /* @__PURE__ */ t(f, { as: "span", name: e, ...l, color: m, size: u })
32
32
  }
33
33
  );
34
34
  }
35
- const h = _.memo(y);
35
+ const h = i.memo(b);
36
36
  export {
37
37
  h as default
38
38
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { I as s } from "../../cfxIcons-BlbKR-zU.js";
2
+ import { I as s } from "../../cfxIcons-BNd1WgpX.js";
3
3
  import { I as c } from "../../cfxIconsBig-BLJjMT-Y.js";
4
4
  function d() {
5
5
  const l = Object.entries(s).map(([i, t]) => ({
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function Cart(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof Cart>;
5
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import e from "react";
3
+ function n(t) {
4
+ return /* @__PURE__ */ o(
5
+ "svg",
6
+ {
7
+ ...t,
8
+ viewBox: "0 0 16 16",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ children: [
11
+ /* @__PURE__ */ r(
12
+ "path",
13
+ {
14
+ d: "M3.15659 4.28H13L12 10.21H4.1L2.84 2.29L0.75 1.75",
15
+ stroke: "currentColor",
16
+ strokeWidth: "1.5",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ r(
22
+ "path",
23
+ {
24
+ fill: "currentColor",
25
+ d: "M5.64998 12.05C5.00998 12.05 4.47998 12.57 4.47998 13.22C4.47998 13.87 4.99998 14.39 5.64998 14.39C6.29998 14.39 6.81998 13.87 6.81998 13.22C6.81998 12.57 6.29998 12.05 5.64998 12.05Z"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ r(
29
+ "path",
30
+ {
31
+ fill: "currentColor",
32
+ d: "M10.65 12.05C10.01 12.05 9.47998 12.57 9.47998 13.22C9.47998 13.87 9.99998 14.39 10.65 14.39C11.3 14.39 11.82 13.87 11.82 13.22C11.82 12.57 11.3 12.05 10.65 12.05Z"
33
+ }
34
+ )
35
+ ]
36
+ }
37
+ );
38
+ }
39
+ const i = e.memo(n);
40
+ export {
41
+ i as default
42
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function UpvotesBurst(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof UpvotesBurst>;
5
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import r from "react";
3
+ function e(o) {
4
+ return /* @__PURE__ */ t(
5
+ "svg",
6
+ {
7
+ ...o,
8
+ viewBox: "0 0 16 16",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ children: /* @__PURE__ */ t(
11
+ "path",
12
+ {
13
+ d: "M7.75 2.75V12.75M12.75 7.75H2.75M4.89 4.89L10.61 10.61M10.61 4.89L4.89 10.61",
14
+ stroke: "currentColor",
15
+ strokeWidth: "1.5",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }
19
+ )
20
+ }
21
+ );
22
+ }
23
+ const i = r.memo(e);
24
+ export {
25
+ i as default
26
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function UpvotesRecurring(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof UpvotesRecurring>;
5
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import e from "react";
3
+ function t(r) {
4
+ return /* @__PURE__ */ o(
5
+ "svg",
6
+ {
7
+ ...r,
8
+ viewBox: "0 0 16 16",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: /* @__PURE__ */ o(
12
+ "path",
13
+ {
14
+ stroke: "currentColor",
15
+ strokeWidth: "1.5",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round",
18
+ d: "M12.33 9.75C11.56 11.52 9.8 12.75 7.75 12.75C4.99 12.75 2.75 10.51 2.75 7.75C2.75 4.99 4.99 2.75 7.75 2.75C9.8 2.75 11.56 3.98 12.33 5.75M13.76 4.13L12.89 7L10.02 6.13M7.53998 5.56995V8.51995L8.68998 9.67995"
19
+ }
20
+ )
21
+ }
22
+ );
23
+ }
24
+ const s = e.memo(t);
25
+ export {
26
+ s as default
27
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function User(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof User>;
5
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { jsxs as t, jsx as C } from "react/jsx-runtime";
2
+ import o from "react";
3
+ function e(r) {
4
+ return /* @__PURE__ */ t(
5
+ "svg",
6
+ {
7
+ ...r,
8
+ viewBox: "0 0 16 16",
9
+ fill: "currentColor",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: [
12
+ /* @__PURE__ */ C(
13
+ "path",
14
+ {
15
+ d: "M8.00545 8.22533C6.24973 8.22533 4.7121 9.0952 3.81788 10.4157C3.46892 10.9188 3.22901 11.4952 3.09815 12.1135C3.07634 12.2183 3.07634 12.3231 3.06543 12.4279C3.04362 12.6271 3 12.8262 3 13.0358V14H13V13.0358C13 10.3843 10.7644 8.22533 7.99455 8.22533H8.00545ZM4.7012 12.4279C4.99564 10.9293 6.36968 9.79738 8.00545 9.79738C9.64122 9.79738 11.0153 10.9293 11.3097 12.4279H4.69029H4.7012Z"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ C(
19
+ "path",
20
+ {
21
+ d: "M8.00545 6.6952C9.35769 6.6952 10.4482 5.64716 10.4482 4.3476C10.4482 3.04803 9.35769 2 8.00545 2C6.65322 2 5.5627 3.04803 5.5627 4.3476C5.5627 5.64716 6.65322 6.6952 8.00545 6.6952ZM8.00545 3.58253C8.45256 3.58253 8.81243 3.92838 8.81243 4.35808C8.81243 4.78777 8.45256 5.13362 8.00545 5.13362C7.55834 5.13362 7.19847 4.78777 7.19847 4.35808C7.19847 3.92838 7.55834 3.58253 8.00545 3.58253Z"
22
+ }
23
+ )
24
+ ]
25
+ }
26
+ );
27
+ }
28
+ const m = o.memo(e);
29
+ export {
30
+ m as default
31
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function Verified(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof Verified>;
5
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import e from "react";
3
+ function t(r) {
4
+ return /* @__PURE__ */ C(
5
+ "svg",
6
+ {
7
+ ...r,
8
+ viewBox: "0 0 16 16",
9
+ fill: "currentColor",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: /* @__PURE__ */ C(
12
+ "path",
13
+ {
14
+ d: "M14.72 8.08718C14.72 7.43718 13.92 6.92718 13.73 6.34718C13.53 5.73718 13.88 4.85718 13.51 4.34718C13.14 3.83718 12.19 3.89718 11.68 3.52718C11.18 3.15718 10.94 2.23718 10.33 2.03718C9.75 1.84718 9.01 2.44718 8.36 2.44718C7.71 2.44718 6.98 1.84718 6.39 2.03718C5.78 2.23718 5.54 3.15718 5.04 3.52718C4.53 3.89718 3.58 3.84718 3.21 4.34718C2.84 4.84718 3.19 5.73718 2.99 6.34718C2.8 6.92718 2 7.44718 2 8.08718C2 8.72718 2.8 9.24718 2.99 9.82718C3.19 10.4372 2.84 11.3172 3.21 11.8272C3.58 12.3372 4.53 12.2772 5.04 12.6472C5.54 13.0172 5.78 13.9372 6.39 14.1372C6.97 14.3272 7.71 13.7272 8.36 13.7272C9.01 13.7272 9.74 14.3272 10.33 14.1372C10.94 13.9372 11.18 13.0172 11.68 12.6472C12.19 12.2772 13.14 12.3272 13.51 11.8272C13.88 11.3272 13.53 10.4372 13.73 9.82718C13.92 9.24718 14.72 8.72718 14.72 8.08718ZM11.72 6.94718L7.53 11.1372C7.38 11.2872 7.19 11.3572 7 11.3572C6.81 11.3572 6.62 11.2872 6.47 11.1372L5.01 9.67718C4.72 9.38718 4.72 8.90718 5.01 8.61718C5.3 8.32718 5.78 8.32718 6.07 8.61718L7 9.54718L10.66 5.88718C10.95 5.59718 11.43 5.59718 11.72 5.88718C12.01 6.17718 12.01 6.65718 11.72 6.94718Z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ }
20
+ const f = e.memo(t);
21
+ export {
22
+ f as default
23
+ };
@@ -38,3 +38,8 @@ export { default as Users } from './cfx-icons/Users';
38
38
  export { default as Visibility } from './cfx-icons/Visibility';
39
39
  export { default as VisibilityOff } from './cfx-icons/VisibilityOff';
40
40
  export { default as Warning } from './cfx-icons/Warning';
41
+ export { default as Cart } from './cfx-icons/Cart';
42
+ export { default as User } from './cfx-icons/User';
43
+ export { default as Verified } from './cfx-icons/Verified';
44
+ export { default as UpvotesBurst } from './cfx-icons/UpvotesBurst';
45
+ export { default as UpvotesRecurring } from './cfx-icons/UpvotesRecurring';