@cfx-dev/ui-components 2.1.23 → 3.0.0

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 (151) hide show
  1. package/dist/{Rail-nVRissv6.js → Rail-XT5PwAlx.js} +1 -1
  2. package/dist/assets/all_css.css +55 -0
  3. package/dist/assets/css/Button.css +1 -0
  4. package/dist/assets/css/Link.css +1 -0
  5. package/dist/assets/css/Modal.css +1 -0
  6. package/dist/assets/css/Text.css +1 -0
  7. package/dist/assets/general/global.css +1 -0
  8. package/dist/components/Accordion/Accordion.js +1 -1
  9. package/dist/components/Avatar/Avatar.js +1 -1
  10. package/dist/components/Badge/Badge.js +1 -1
  11. package/dist/components/Button/Button.js +78 -77
  12. package/dist/components/Button/ButtonBar.js +1 -1
  13. package/dist/components/Button/ButtonShowcase.js +46 -33
  14. package/dist/components/Checkbox/Checkbox.js +1 -1
  15. package/dist/components/ClipboardButton/ClipboardButton.js +1 -1
  16. package/dist/components/ControlBox/ControlBox.js +1 -1
  17. package/dist/components/CountryFlag/CountryFlag.js +1 -1
  18. package/dist/components/Decorate/Decorate.js +1 -1
  19. package/dist/components/Dot/Dot.js +1 -1
  20. package/dist/components/Flyout/Flyout.js +1 -1
  21. package/dist/components/Icon/Icon.js +1 -1
  22. package/dist/components/IconBig/IconBig.js +1 -1
  23. package/dist/components/IconButton/IconButton.js +1 -1
  24. package/dist/components/Indicator/Indicator.js +1 -1
  25. package/dist/components/InfoPanel/InfoPanel.js +1 -1
  26. package/dist/components/Input/Input.js +1 -1
  27. package/dist/components/Input/RichInput.js +1 -1
  28. package/dist/components/InputDropzone/InputDropzone.js +1 -1
  29. package/dist/components/InputDropzone/ItemPreview.js +1 -1
  30. package/dist/components/Interactive/Interactive.js +1 -1
  31. package/dist/components/Island/Island.js +1 -1
  32. package/dist/components/Layout/Box/Box.js +1 -1
  33. package/dist/components/Layout/Center/Center.js +1 -1
  34. package/dist/components/Layout/Flex/Flex.js +1 -1
  35. package/dist/components/Layout/Flex/FlexRestricter.js +1 -1
  36. package/dist/components/Layout/Flex/FlexShowcase.js +1 -1
  37. package/dist/components/Layout/Pad/Pad.js +1 -1
  38. package/dist/components/Layout/Page/Page.js +1 -1
  39. package/dist/components/Layout/Scrollable/Rail.js +1 -1
  40. package/dist/components/Layout/Scrollable/Scrollable.js +1 -1
  41. package/dist/components/Layout/Scrollable/VirtualScrollable.js +1 -1
  42. package/dist/components/Layout/Scrollable/index.js +1 -1
  43. package/dist/components/Link/ButtonLink.d.ts +9 -0
  44. package/dist/components/Link/ButtonLink.js +26 -0
  45. package/dist/components/Link/Link.d.ts +13 -0
  46. package/dist/components/Link/Link.js +35 -0
  47. package/dist/components/Link/LinkShowcase.d.ts +5 -0
  48. package/dist/components/Link/LinkShowcase.js +62 -0
  49. package/dist/components/Link/index.d.ts +3 -0
  50. package/dist/components/Link/index.js +7 -0
  51. package/dist/components/Loaf/Loaf.js +1 -1
  52. package/dist/components/Modal/Modal.js +34 -34
  53. package/dist/components/NavList/NavList.js +1 -1
  54. package/dist/components/Overlay/Overlay.js +1 -1
  55. package/dist/components/Popover/Popover.js +1 -1
  56. package/dist/components/Popover/PopoverShowcase.js +1 -1
  57. package/dist/components/PremiumBadge/PremiumBadge.js +1 -1
  58. package/dist/components/Prose/Prose.js +1 -1
  59. package/dist/components/Radio/Radio.js +1 -1
  60. package/dist/components/Select/Select.js +1 -1
  61. package/dist/components/Separator/Separator.js +1 -1
  62. package/dist/components/Shroud/Shroud.js +1 -1
  63. package/dist/components/Skeleton/Skeleton.js +1 -1
  64. package/dist/components/Spacer/Spacer.js +1 -1
  65. package/dist/components/Switch/Switch.js +1 -1
  66. package/dist/components/Table/Table.d.ts +2 -1
  67. package/dist/components/Table/Table.js +72 -71
  68. package/dist/components/Tabular/Tabular.js +1 -1
  69. package/dist/components/Text/Text.js +5 -5
  70. package/dist/components/Text/TextShowcase.js +1 -1
  71. package/dist/components/Textarea/Textarea.js +1 -1
  72. package/dist/components/Title/Title.js +1 -1
  73. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  74. package/dist/main.d.ts +3 -0
  75. package/dist/main.js +137 -132
  76. package/dist/styles-scss/global.scss +16 -8
  77. package/dist/styles-scss/tokens.scss +7 -0
  78. package/package.json +1 -2
  79. package/dist/assets/Button.css +0 -1
  80. package/dist/assets/ColorShowcase.css +0 -1
  81. package/dist/assets/ColorVariationsShowcase.css +0 -1
  82. package/dist/assets/ColorsShowcase.css +0 -1
  83. package/dist/assets/ControlHeightShowcase.css +0 -1
  84. package/dist/assets/Modal.css +0 -1
  85. package/dist/assets/OffsetShowcase.css +0 -1
  86. package/dist/assets/QuantShowcase.css +0 -1
  87. package/dist/assets/Text.css +0 -1
  88. package/dist/assets/global.css +0 -1
  89. package/dist/style-guide/Colors/ColorShowcase.d.ts +0 -21
  90. package/dist/style-guide/Colors/ColorShowcase.js +0 -1881
  91. package/dist/style-guide/Colors/ColorVariationsShowcase.d.ts +0 -5
  92. package/dist/style-guide/Colors/ColorVariationsShowcase.js +0 -43
  93. package/dist/style-guide/Colors/ColorsShowcase.d.ts +0 -5
  94. package/dist/style-guide/Colors/ColorsShowcase.js +0 -43
  95. package/dist/style-guide/Layout/ControlHeightShowcase.d.ts +0 -5
  96. package/dist/style-guide/Layout/ControlHeightShowcase.js +0 -27
  97. package/dist/style-guide/Layout/OffsetShowcase.d.ts +0 -5
  98. package/dist/style-guide/Layout/OffsetShowcase.js +0 -32
  99. package/dist/style-guide/Layout/QuantShowcase.d.ts +0 -5
  100. package/dist/style-guide/Layout/QuantShowcase.js +0 -36
  101. /package/dist/assets/{Accordion.css → css/Accordion.css} +0 -0
  102. /package/dist/assets/{Avatar.css → css/Avatar.css} +0 -0
  103. /package/dist/assets/{Badge.css → css/Badge.css} +0 -0
  104. /package/dist/assets/{Box.css → css/Box.css} +0 -0
  105. /package/dist/assets/{ButtonBar.css → css/ButtonBar.css} +0 -0
  106. /package/dist/assets/{Center.css → css/Center.css} +0 -0
  107. /package/dist/assets/{Checkbox.css → css/Checkbox.css} +0 -0
  108. /package/dist/assets/{ClipboardButton.css → css/ClipboardButton.css} +0 -0
  109. /package/dist/assets/{ControlBox.css → css/ControlBox.css} +0 -0
  110. /package/dist/assets/{CountryFlag.css → css/CountryFlag.css} +0 -0
  111. /package/dist/assets/{Decorate.css → css/Decorate.css} +0 -0
  112. /package/dist/assets/{Dot.css → css/Dot.css} +0 -0
  113. /package/dist/assets/{Flex.css → css/Flex.css} +0 -0
  114. /package/dist/assets/{FlexRestricter.css → css/FlexRestricter.css} +0 -0
  115. /package/dist/assets/{FlexShowcase.css → css/FlexShowcase.css} +0 -0
  116. /package/dist/assets/{Flyout.css → css/Flyout.css} +0 -0
  117. /package/dist/assets/{Icon.css → css/Icon.css} +0 -0
  118. /package/dist/assets/{IconBig.css → css/IconBig.css} +0 -0
  119. /package/dist/assets/{IconButton.css → css/IconButton.css} +0 -0
  120. /package/dist/assets/{Indicator.css → css/Indicator.css} +0 -0
  121. /package/dist/assets/{InfoPanel.css → css/InfoPanel.css} +0 -0
  122. /package/dist/assets/{Input.css → css/Input.css} +0 -0
  123. /package/dist/assets/{InputDropzone.css → css/InputDropzone.css} +0 -0
  124. /package/dist/assets/{Interactive.css → css/Interactive.css} +0 -0
  125. /package/dist/assets/{Island.css → css/Island.css} +0 -0
  126. /package/dist/assets/{ItemPreview.css → css/ItemPreview.css} +0 -0
  127. /package/dist/assets/{Loaf.css → css/Loaf.css} +0 -0
  128. /package/dist/assets/{NavList.css → css/NavList.css} +0 -0
  129. /package/dist/assets/{Overlay.css → css/Overlay.css} +0 -0
  130. /package/dist/assets/{Pad.css → css/Pad.css} +0 -0
  131. /package/dist/assets/{Page.css → css/Page.css} +0 -0
  132. /package/dist/assets/{Popover.css → css/Popover.css} +0 -0
  133. /package/dist/assets/{PopoverShowcase.css → css/PopoverShowcase.css} +0 -0
  134. /package/dist/assets/{PremiumBadge.css → css/PremiumBadge.css} +0 -0
  135. /package/dist/assets/{Prose.css → css/Prose.css} +0 -0
  136. /package/dist/assets/{Radio.css → css/Radio.css} +0 -0
  137. /package/dist/assets/{Rail.css → css/Rail.css} +0 -0
  138. /package/dist/assets/{RichInput.css → css/RichInput.css} +0 -0
  139. /package/dist/assets/{Select.css → css/Select.css} +0 -0
  140. /package/dist/assets/{Separator.css → css/Separator.css} +0 -0
  141. /package/dist/assets/{Shroud.css → css/Shroud.css} +0 -0
  142. /package/dist/assets/{Skeleton.css → css/Skeleton.css} +0 -0
  143. /package/dist/assets/{Spacer.css → css/Spacer.css} +0 -0
  144. /package/dist/assets/{Switch.css → css/Switch.css} +0 -0
  145. /package/dist/assets/{Table.css → css/Table.css} +0 -0
  146. /package/dist/assets/{Tabular.css → css/Tabular.css} +0 -0
  147. /package/dist/assets/{TextShowcase.css → css/TextShowcase.css} +0 -0
  148. /package/dist/assets/{Textarea.css → css/Textarea.css} +0 -0
  149. /package/dist/assets/{Title.css → css/Title.css} +0 -0
  150. /package/dist/assets/{ToggleGroup.css → css/ToggleGroup.css} +0 -0
  151. /package/dist/assets/{themes.css → general/themes.css} +0 -0
@@ -4,7 +4,7 @@ import { Icon as C } from "../Icon/Icon.js";
4
4
  import { Flex as k } from "../Layout/Flex/Flex.js";
5
5
  import { Text as I } from "../Text/Text.js";
6
6
  import { clsx as h } from "../../utils/clsx.js";
7
- import '../../assets/Accordion.css';const D = "_root_1pwnk_1", y = "_item_1pwnk_5", F = "_header_1pwnk_5", N = "_triggerContainer_1pwnk_10", U = "_iconFlip_1pwnk_23", T = "_iconUp_1pwnk_26", R = "_iconDown_1pwnk_29", $ = "_iconLeft_1pwnk_32", E = "_iconRight_1pwnk_36", L = "_content_1pwnk_49", O = "_open_1pwnk_56", o = {
7
+ const D = "_root_1pwnk_1", y = "_item_1pwnk_5", F = "_header_1pwnk_5", N = "_triggerContainer_1pwnk_10", U = "_iconFlip_1pwnk_23", T = "_iconUp_1pwnk_26", R = "_iconDown_1pwnk_29", $ = "_iconLeft_1pwnk_32", E = "_iconRight_1pwnk_36", L = "_content_1pwnk_49", O = "_open_1pwnk_56", o = {
8
8
  root: D,
9
9
  item: y,
10
10
  header: F,
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import k from "react";
3
3
  import { clsx as P } from "../../utils/clsx.js";
4
- import '../../assets/Avatar.css';const S = "_root_1vrfs_1", e = "_rounded_1vrfs_7", A = {
4
+ const S = "_root_1vrfs_1", e = "_rounded_1vrfs_7", A = {
5
5
  root: S,
6
6
  rounded: e,
7
7
  "size-small": "_size-small_1vrfs_10",
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as m } from "react/jsx-runtime";
2
2
  import h from "react";
3
3
  import { Icon as v } from "../Icon/Icon.js";
4
4
  import { clsx as u } from "../../utils/clsx.js";
5
- import '../../assets/Badge.css';const f = "_root_5qhvc_1", q = "_success_5qhvc_12", d = "_hoverable_5qhvc_16", x = "_neutral_5qhvc_19", b = "_warning_5qhvc_23", g = "_error_5qhvc_30", p = "_small_5qhvc_37", w = "_icon_5qhvc_41", o = {
5
+ const f = "_root_5qhvc_1", q = "_success_5qhvc_12", d = "_hoverable_5qhvc_16", x = "_neutral_5qhvc_19", b = "_warning_5qhvc_23", g = "_error_5qhvc_30", p = "_small_5qhvc_37", w = "_icon_5qhvc_41", o = {
6
6
  root: f,
7
7
  success: q,
8
8
  hoverable: d,
@@ -1,108 +1,109 @@
1
- import { jsx as u, jsxs as g, Fragment as B } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as W, Fragment as g } from "react/jsx-runtime";
2
2
  import m from "react";
3
- import { Icon as q } from "../Icon/Icon.js";
4
- import { clsx as I } from "../../utils/clsx.js";
5
- import { noop as h } from "../../utils/functional.js";
6
- import '../../assets/Button.css';const M = "_root_1cisu_1", j = "_fullWidth_1cisu_33", w = "_primary_1cisu_53", F = "_secondary_1cisu_74", R = "_linked_1cisu_116", v = "_quicklink_1cisu_145", D = "_icon_1cisu_152", L = "_icononly_1cisu_177", U = "_decorator_1cisu_182", o = {
7
- root: M,
8
- fullWidth: j,
9
- primary: w,
10
- secondary: F,
11
- "on-light": "_on-light_1cisu_95",
12
- linked: R,
13
- quicklink: v,
14
- icon: D,
15
- icononly: L,
16
- decorator: U
3
+ import { Icon as A } from "../Icon/Icon.js";
4
+ import { clsx as B } from "../../utils/clsx.js";
5
+ import { noop as y } from "../../utils/functional.js";
6
+ const q = "_unsetAll_13zdy_1", I = "_root_13zdy_5", M = "_fullWidth_13zdy_38", j = "_primary_13zdy_58", w = "_secondary_13zdy_79", F = "_linked_13zdy_121", R = "_quicklink_13zdy_150", v = "_icon_13zdy_157", D = "_icononly_13zdy_182", L = "_decorator_13zdy_187", o = {
7
+ unsetAll: q,
8
+ root: I,
9
+ fullWidth: M,
10
+ primary: j,
11
+ secondary: w,
12
+ "on-light": "_on-light_13zdy_100",
13
+ linked: F,
14
+ quicklink: R,
15
+ icon: v,
16
+ icononly: D,
17
+ decorator: L
17
18
  };
18
- function z(l) {
19
+ function U(c) {
19
20
  const {
20
21
  text: t = null,
21
- icon: c,
22
+ icon: l,
22
23
  decorator: n = null
23
- } = l;
24
- return /* @__PURE__ */ g(B, { children: [
24
+ } = c;
25
+ return /* @__PURE__ */ W(g, { children: [
25
26
  t,
26
- !!c && /* @__PURE__ */ u(q, { name: c, className: o.icon }),
27
- !!n && /* @__PURE__ */ u("div", { className: o.decorator, children: n })
27
+ !!l && /* @__PURE__ */ r(A, { name: l, className: o.icon }),
28
+ !!n && /* @__PURE__ */ r("div", { className: o.decorator, children: n })
28
29
  ] });
29
30
  }
30
- function A(l) {
31
+ function E(c) {
31
32
  const {
32
33
  text: t = null,
33
- icon: c,
34
+ icon: l,
34
35
  theme: n = "default",
35
- disabled: i = !1,
36
- className: r = "",
37
- autofocus: d = !1,
38
- fullWidth: s = !1,
39
- tabIndex: a
40
- } = l;
41
- return I(o.root, o[n], r, {
42
- [o.disabled]: i,
43
- [o.icononly]: !!c && (t === null || typeof t > "u"),
36
+ disabled: s = !1,
37
+ className: d = "",
38
+ autofocus: u = !1,
39
+ fullWidth: a = !1,
40
+ tabIndex: i
41
+ } = c;
42
+ return B(o.unsetAll, o.root, o[n], d, {
43
+ [o.disabled]: s,
44
+ [o.icononly]: !!l && (t === null || typeof t > "u"),
44
45
  [o.text]: !!t,
45
- [o.autofocus]: d || typeof a < "u",
46
- [o.fullWidth]: s
46
+ [o.autofocus]: u || typeof i < "u",
47
+ [o.fullWidth]: a
47
48
  });
48
49
  }
49
- const O = m.forwardRef(function(t, c) {
50
+ const P = m.forwardRef(function(t, l) {
50
51
  const {
51
52
  text: n = null,
52
- icon: i,
53
- title: r = "",
54
- type: d = "button",
55
- className: s = "",
56
- theme: a = "default",
53
+ icon: s,
54
+ title: d = "",
55
+ type: u = "button",
56
+ className: a = "",
57
+ theme: i = "default",
57
58
  disabled: e = !1,
58
- onClick: k = h,
59
- onMouseDown: p = h,
60
- onMouseUp: b = h,
61
- autofocus: f = !1,
62
- tabIndex: _,
63
- fullWidth: y = !1,
64
- ariaLabel: x = ""
65
- } = t, C = m.useMemo(() => A({
59
+ onClick: h = y,
60
+ onMouseDown: p = y,
61
+ onMouseUp: z = y,
62
+ autofocus: _ = !1,
63
+ tabIndex: f,
64
+ fullWidth: k = !1,
65
+ ariaLabel: b = ""
66
+ } = t, x = m.useMemo(() => E({
66
67
  text: n,
67
- icon: i,
68
- theme: a,
68
+ icon: s,
69
+ theme: i,
69
70
  disabled: e,
70
- className: s,
71
- autofocus: f,
72
- fullWidth: y,
73
- tabIndex: _
71
+ className: a,
72
+ autofocus: _,
73
+ fullWidth: k,
74
+ tabIndex: f
74
75
  }), [
75
- f,
76
- s,
77
- y,
78
- e,
79
- i,
80
76
  _,
77
+ a,
78
+ k,
79
+ e,
80
+ s,
81
+ f,
81
82
  n,
82
- a
83
- ]), N = m.useCallback((W) => {
84
- e || k(W);
85
- }, [e, k]);
86
- return /* @__PURE__ */ u(
83
+ i
84
+ ]), C = m.useCallback((N) => {
85
+ e || h(N);
86
+ }, [e, h]);
87
+ return /* @__PURE__ */ r(
87
88
  "button",
88
89
  {
89
- ref: c,
90
+ ref: l,
90
91
  disabled: e,
91
- className: C,
92
- onClick: N,
92
+ className: x,
93
+ onClick: C,
93
94
  onMouseDown: p,
94
- onMouseUp: b,
95
- autoFocus: f,
96
- tabIndex: _,
97
- title: r,
98
- type: d,
99
- "aria-label": x,
100
- children: /* @__PURE__ */ u(z, { ...t })
95
+ onMouseUp: z,
96
+ autoFocus: _,
97
+ tabIndex: f,
98
+ title: d,
99
+ type: u,
100
+ "aria-label": b,
101
+ children: /* @__PURE__ */ r(U, { ...t })
101
102
  }
102
103
  );
103
104
  });
104
105
  export {
105
- O as Button,
106
- z as ButtonContent,
107
- A as getButtonClassName
106
+ P as Button,
107
+ U as ButtonContent,
108
+ E as getButtonClassName
108
109
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { clsx as o } from "../../utils/clsx.js";
3
- import '../../assets/ButtonBar.css';const i = "_bar_4bu59_1", l = {
3
+ const i = "_bar_4bu59_1", l = {
4
4
  bar: i
5
5
  }, t = {
6
6
  start: "flex-start",
@@ -1,15 +1,16 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { Flex as n } from "../Layout/Flex/Flex.js";
4
4
  import { Text as i } from "../Text/Text.js";
5
- import { Button as t } from "./Button.js";
6
- import { ButtonBar as c } from "./ButtonBar.js";
7
- function o() {
8
- return /* @__PURE__ */ r(n, { gap: "large", vertical: !0, children: [
9
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
5
+ import { Button as r } from "./Button.js";
6
+ import { ButtonBar as o } from "./ButtonBar.js";
7
+ import { LinkButton as c } from "./LinkButton.js";
8
+ function a() {
9
+ return /* @__PURE__ */ t(n, { gap: "large", vertical: !0, children: [
10
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
10
11
  /* @__PURE__ */ e(i, { children: "Default" }),
11
12
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
12
- t,
13
+ r,
13
14
  {
14
15
  text: "Sign In",
15
16
  theme: "default",
@@ -17,10 +18,10 @@ function o() {
17
18
  }
18
19
  ) })
19
20
  ] }),
20
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
21
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
21
22
  /* @__PURE__ */ e(i, { children: "Primary" }),
22
23
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
23
- t,
24
+ r,
24
25
  {
25
26
  text: "Sign In",
26
27
  theme: "primary",
@@ -28,10 +29,10 @@ function o() {
28
29
  }
29
30
  ) })
30
31
  ] }),
31
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
32
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
32
33
  /* @__PURE__ */ e(i, { children: "Secondary" }),
33
34
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
34
- t,
35
+ r,
35
36
  {
36
37
  text: "Sign In",
37
38
  theme: "secondary",
@@ -39,10 +40,10 @@ function o() {
39
40
  }
40
41
  ) })
41
42
  ] }),
42
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
43
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
43
44
  /* @__PURE__ */ e(i, { children: "On Light" }),
44
45
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
45
- t,
46
+ r,
46
47
  {
47
48
  text: "Sign In",
48
49
  theme: "on-light",
@@ -50,10 +51,10 @@ function o() {
50
51
  }
51
52
  ) })
52
53
  ] }),
53
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
54
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
54
55
  /* @__PURE__ */ e(i, { children: "Quick Link" }),
55
56
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
56
- t,
57
+ r,
57
58
  {
58
59
  text: "Sign In",
59
60
  theme: "quicklink",
@@ -61,20 +62,20 @@ function o() {
61
62
  }
62
63
  ) })
63
64
  ] }),
64
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
65
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
65
66
  /* @__PURE__ */ e(i, { children: "No Icon" }),
66
67
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
67
- t,
68
+ r,
68
69
  {
69
70
  text: "Sign In",
70
71
  theme: "default"
71
72
  }
72
73
  ) })
73
74
  ] }),
74
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
75
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
75
76
  /* @__PURE__ */ e(i, { children: "Full Width" }),
76
77
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
77
- t,
78
+ r,
78
79
  {
79
80
  text: "Sign In",
80
81
  theme: "default",
@@ -83,11 +84,11 @@ function o() {
83
84
  }
84
85
  ) })
85
86
  ] }),
86
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
87
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
87
88
  /* @__PURE__ */ e(i, { children: "Linked" }),
88
- /* @__PURE__ */ r(n, { p: 4, style: { backgroundColor: "var(--color-modal-background)" }, children: [
89
+ /* @__PURE__ */ t(n, { p: 4, style: { backgroundColor: "var(--color-modal-background)" }, children: [
89
90
  /* @__PURE__ */ e(
90
- t,
91
+ r,
91
92
  {
92
93
  text: "Sign In",
93
94
  theme: "linked",
@@ -95,7 +96,7 @@ function o() {
95
96
  }
96
97
  ),
97
98
  /* @__PURE__ */ e(
98
- t,
99
+ r,
99
100
  {
100
101
  disabled: !0,
101
102
  text: "Copy",
@@ -105,19 +106,31 @@ function o() {
105
106
  )
106
107
  ] })
107
108
  ] }),
108
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
109
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
110
+ /* @__PURE__ */ e(i, { children: "LinkButton - look like button but its anchor" }),
111
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
112
+ c,
113
+ {
114
+ to: "/",
115
+ text: "Sign In",
116
+ theme: "primary",
117
+ icon: "Users"
118
+ }
119
+ ) })
120
+ ] }),
121
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
109
122
  /* @__PURE__ */ e(i, { children: "Button Bar" }),
110
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(c, { children: [
111
- /* @__PURE__ */ e(t, { text: "Sign In", theme: "primary", icon: "Users" }),
112
- /* @__PURE__ */ e(t, { text: "Register", theme: "secondary", icon: "Users" }),
113
- /* @__PURE__ */ e(t, { text: "Sign Out", theme: "on-light", icon: "Users" }),
114
- /* @__PURE__ */ e(t, { text: "Create Account", theme: "default", icon: "Users" })
123
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ t(o, { children: [
124
+ /* @__PURE__ */ e(r, { text: "Sign In", theme: "primary", icon: "Users" }),
125
+ /* @__PURE__ */ e(r, { text: "Register", theme: "secondary", icon: "Users" }),
126
+ /* @__PURE__ */ e(r, { text: "Sign Out", theme: "on-light", icon: "Users" }),
127
+ /* @__PURE__ */ e(r, { text: "Create Account", theme: "default", icon: "Users" })
115
128
  ] }) })
116
129
  ] }),
117
- /* @__PURE__ */ r(n, { gap: "normal", vertical: !0, children: [
130
+ /* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
118
131
  /* @__PURE__ */ e(i, { children: "Long text" }),
119
132
  /* @__PURE__ */ e("div", { style: { maxWidth: "300px" }, children: /* @__PURE__ */ e(
120
- t,
133
+ r,
121
134
  {
122
135
  text: "Long text that should wrap around",
123
136
  theme: "default",
@@ -127,7 +140,7 @@ function o() {
127
140
  ] })
128
141
  ] });
129
142
  }
130
- const g = l.memo(o);
143
+ const x = l.memo(a);
131
144
  export {
132
- g as default
145
+ x as default
133
146
  };
@@ -50,7 +50,7 @@ import "../Icons/cfx-icons-big/Warning.js";
50
50
  import "../Icons/cfx-icons-big/Confirm.js";
51
51
  import { clsx as R } from "../../utils/clsx.js";
52
52
  import { getColor as q } from "../../utils/color.js";
53
- import '../../assets/Checkbox.css';function X(e, t) {
53
+ function X(e, t) {
54
54
  return a.useReducer((n, o) => t[n][o] ?? n, e);
55
55
  }
56
56
  var I = (e) => {
@@ -8,7 +8,7 @@ import "../../utils/hooks/useGlobalKeyboardEvent.js";
8
8
  import "../../utils/hooks/useKeyboardClose.js";
9
9
  import "../../index-2hJuj4UN.js";
10
10
  import { useClipboardComponent as k } from "../../utils/hooks/useClipboardComponent.js";
11
- import '../../assets/ClipboardButton.css';const b = "_root_185u8_1", h = "_copied_185u8_1", e = {
11
+ const b = "_root_185u8_1", h = "_copied_185u8_1", e = {
12
12
  root: b,
13
13
  copied: h
14
14
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import c from "react";
3
3
  import { clsx as _ } from "../../utils/clsx.js";
4
- import '../../assets/ControlBox.css';const e = "_root_1ykga_1", f = "_small_1ykga_5", g = "_normal_1ykga_8", i = "_large_1ykga_11", o = {
4
+ const e = "_root_1ykga_1", f = "_small_1ykga_5", g = "_normal_1ykga_8", i = "_large_1ykga_11", o = {
5
5
  root: e,
6
6
  small: f,
7
7
  normal: g,
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import f from "react";
3
3
  import { Title as l } from "../Title/Title.js";
4
4
  import { clsx as i } from "../../utils/clsx.js";
5
- import '../../assets/CountryFlag.css';const m = "_root_n4jzf_1", u = {
5
+ const m = "_root_n4jzf_1", u = {
6
6
  root: m
7
7
  }, x = f.forwardRef(function(r, e) {
8
8
  const {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { clsx as t } from "../../utils/clsx.js";
4
- import '../../assets/Decorate.css';const _ = "_root_jt9ac_1", f = "_decorator_jt9ac_4", c = {
4
+ const _ = "_root_jt9ac_1", f = "_decorator_jt9ac_4", c = {
5
5
  root: _,
6
6
  decorator: f
7
7
  }, u = i.forwardRef(function(o, a) {
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { clsx as m } from "../../utils/clsx.js";
4
4
  import { getColor as i } from "../../utils/color.js";
5
- import '../../assets/Dot.css';const _ = "_root_8a36f_1", r = {
5
+ const _ = "_root_8a36f_1", r = {
6
6
  root: _,
7
7
  "size-small": "_size-small_8a36f_6",
8
8
  "size-normal": "_size-normal_8a36f_10",
@@ -8,7 +8,7 @@ import { noop as f } from "../../utils/functional.js";
8
8
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
9
9
  import { useKeyboardClose as k } from "../../utils/hooks/useKeyboardClose.js";
10
10
  import { useOutlet as q } from "../../utils/hooks/useOutlet.js";
11
- import '../../assets/Flyout.css';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 = {
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
12
  root: b,
13
13
  "size-normal": "_size-normal_6qvdu_6",
14
14
  holder: C,
@@ -10,7 +10,7 @@ import { getTextOpacity as h } from "../Text/Text.js";
10
10
  import { ui as t } from "../ui.js";
11
11
  import { clsx as y } from "../../utils/clsx.js";
12
12
  import { getColor as z } from "../../utils/color.js";
13
- import '../../assets/Icon.css';const S = "_root_sqbzn_1", _ = {
13
+ const S = "_root_sqbzn_1", _ = {
14
14
  root: S
15
15
  }, A = l.forwardRef(function(r, i) {
16
16
  const {
@@ -44,7 +44,7 @@ import { I as f } from "../../cfxIconsBig-BLJjMT-Y.js";
44
44
  import { getTextOpacity as g } from "../Text/Text.js";
45
45
  import { clsx as z } from "../../utils/clsx.js";
46
46
  import { getColor as y } from "../../utils/color.js";
47
- import '../../assets/IconBig.css';const C = "_root_b0cs1_1", r = {
47
+ const C = "_root_b0cs1_1", r = {
48
48
  root: C,
49
49
  "size-small": "_size-small_b0cs1_6",
50
50
  "size-normal": "_size-normal_b0cs1_14",
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { Icon as p } from "../Icon/Icon.js";
4
4
  import { clsx as x } from "../../utils/clsx.js";
5
- import '../../assets/IconButton.css';const d = "_unset_1l0x5_1", f = "_root_1l0x5_5", b = "_medium_1l0x5_19", g = "_large_1l0x5_22", o = {
5
+ const d = "_unset_1l0x5_1", f = "_root_1l0x5_5", b = "_medium_1l0x5_19", g = "_large_1l0x5_22", o = {
6
6
  unset: d,
7
7
  root: f,
8
8
  medium: b,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { clsx as a } from "../../utils/clsx.js";
4
- import '../../assets/Indicator.css';const s = "_root_2gp9n_1", e = "_indicator_2gp9n_1", r = {
4
+ const s = "_root_2gp9n_1", e = "_indicator_2gp9n_1", r = {
5
5
  root: s,
6
6
  indicator: e
7
7
  }, c = { animationDelay: "0ms" }, m = { animationDelay: "50ms" }, d = { animationDelay: "100ms" }, l = { animationDelay: "150ms" }, v = i.memo(function({
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as o } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { Icon as r } from "../Icon/Icon.js";
4
4
  import { clsx as v } from "../../utils/clsx.js";
5
- import '../../assets/InfoPanel.css';const y = "_rootUnset_5rtl4_1", f = "_root_5rtl4_1", x = "_interactive_5rtl4_19", z = "_interactiveIcon_5rtl4_22", d = "_icon_5rtl4_70", I = "_content_5rtl4_74", t = {
5
+ const y = "_rootUnset_5rtl4_1", f = "_root_5rtl4_1", x = "_interactive_5rtl4_19", z = "_interactiveIcon_5rtl4_22", d = "_icon_5rtl4_70", I = "_content_5rtl4_74", t = {
6
6
  rootUnset: y,
7
7
  root: f,
8
8
  interactive: x,
@@ -5,7 +5,7 @@ import W from "../IconButton/IconButton.js";
5
5
  import { Indicator as X } from "../Indicator/Indicator.js";
6
6
  import { clsx as $ } from "../../utils/clsx.js";
7
7
  import { getValue as q } from "../../utils/getValue.js";
8
- import '../../assets/Input.css';const H = "_root_e1sis_1", J = "_input_e1sis_1", L = "_small_e1sis_5", O = "_large_e1sis_9", P = "_placeholderIcon_e1sis_72", Q = "_empty_e1sis_164", U = "_decorator_e1sis_169", Y = "_onlight_e1sis_186", e = {
8
+ const H = "_root_e1sis_1", J = "_input_e1sis_1", L = "_small_e1sis_5", O = "_large_e1sis_9", P = "_placeholderIcon_e1sis_72", Q = "_empty_e1sis_164", U = "_decorator_e1sis_169", Y = "_onlight_e1sis_186", e = {
9
9
  root: H,
10
10
  input: J,
11
11
  small: L,
@@ -6,7 +6,7 @@ import { useDynamicRef as i } from "../../utils/hooks/useDynamicRef.js";
6
6
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
7
7
  import "../../utils/hooks/useKeyboardClose.js";
8
8
  import "../../index-2hJuj4UN.js";
9
- import '../../assets/RichInput.css';const L = "_root_1vnop_1", T = "_renderer_1vnop_1", j = "_small_1vnop_5", E = "_large_1vnop_10", z = "_clear_1vnop_157", o = {
9
+ const L = "_root_1vnop_1", T = "_renderer_1vnop_1", j = "_small_1vnop_5", E = "_large_1vnop_10", z = "_clear_1vnop_157", o = {
10
10
  root: L,
11
11
  renderer: T,
12
12
  small: j,
@@ -6,7 +6,7 @@ import { IconBig as Fr } from "../IconBig/IconBig.js";
6
6
  import { Text as Ue } from "../Text/Text.js";
7
7
  import { clsx as Er } from "../../utils/clsx.js";
8
8
  import Ye from "./ItemPreview.js";
9
- import '../../assets/InputDropzone.css';var _r = /* @__PURE__ */ new Map([
9
+ var _r = /* @__PURE__ */ new Map([
10
10
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
11
11
  ["aac", "audio/aac"],
12
12
  ["abw", "application/x-abiword"],
@@ -3,7 +3,7 @@ import e from "react";
3
3
  import f from "../IconButton/IconButton.js";
4
4
  import { Text as d } from "../Text/Text.js";
5
5
  import { clsx as _ } from "../../utils/clsx.js";
6
- import '../../assets/ItemPreview.css';const h = "_root_1v0i1_1", p = "_failed_1v0i1_12", u = "_filePath_1v0i1_15", a = {
6
+ const h = "_root_1v0i1_1", p = "_failed_1v0i1_12", u = "_filePath_1v0i1_15", a = {
7
7
  root: h,
8
8
  failed: p,
9
9
  filePath: u
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { clsx as m } from "../../utils/clsx.js";
4
- import '../../assets/Interactive.css';const f = "_root_1o2df_1", l = {
4
+ const f = "_root_1o2df_1", l = {
5
5
  root: f
6
6
  }, h = i.forwardRef(function(o, t) {
7
7
  const {
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
2
2
  import b from "react";
3
3
  import { ui as p } from "../ui.js";
4
4
  import { clsx as h } from "../../utils/clsx.js";
5
- import '../../assets/Island.css';const w = "_root_mdgcu_1", R = "_grow_mdgcu_15", t = {
5
+ const w = "_root_mdgcu_1", R = "_grow_mdgcu_15", t = {
6
6
  root: w,
7
7
  grow: R,
8
8
  "no-round-border-top-left": "_no-round-border-top-left_mdgcu_19",
@@ -3,7 +3,7 @@ import c from "react";
3
3
  import { useContextualStyle as W } from "../../Style/Style.js";
4
4
  import { ui as a } from "../../ui.js";
5
5
  import { clsx as H } from "../../../utils/clsx.js";
6
- import '../../../assets/Box.css';const z = "_root_1rhjm_1", D = "_grow_1rhjm_16", t = {
6
+ const z = "_root_1rhjm_1", D = "_grow_1rhjm_16", t = {
7
7
  root: z,
8
8
  "full-width": "_full-width_1rhjm_1",
9
9
  "fit-content-width": "_fit-content-width_1rhjm_4",
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { clsx as _ } from "../../../utils/clsx.js";
4
- import '../../../assets/Center.css';const f = "_root_gr1d9_1", m = "_vertical_gr1d9_4", d = "_horizontal_gr1d9_8", o = {
4
+ const f = "_root_gr1d9_1", m = "_vertical_gr1d9_4", d = "_horizontal_gr1d9_8", o = {
5
5
  root: f,
6
6
  vertical: m,
7
7
  horizontal: d
@@ -3,7 +3,7 @@ import f from "react";
3
3
  import { Box as u } from "../Box/Box.js";
4
4
  import { clsx as b } from "../../../utils/clsx.js";
5
5
  import { FlexRestricter as v } from "./FlexRestricter.js";
6
- import '../../../assets/Flex.css';const z = "_root_w5him_1", R = "_centered_w5him_11", F = "_vertical_w5him_30", C = "_repell_w5him_36", N = "_wrap_w5him_39", B = "_stretch_w5him_51", E = "_horizontal_w5him_57", e = {
6
+ const z = "_root_w5him_1", R = "_centered_w5him_11", F = "_vertical_w5him_30", C = "_repell_w5him_36", N = "_wrap_w5him_39", B = "_stretch_w5him_51", E = "_horizontal_w5him_57", e = {
7
7
  root: z,
8
8
  "full-width": "_full-width_w5him_5",
9
9
  "full-height": "_full-height_w5him_8",
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { clsx as s } from "../../../utils/clsx.js";
4
- import '../../../assets/FlexRestricter.css';const n = "_root_1jvko_1", _ = "_vertical_1jvko_4", v = "_horizontal_1jvko_7", o = {
4
+ const n = "_root_1jvko_1", _ = "_vertical_1jvko_4", v = "_horizontal_1jvko_7", o = {
5
5
  root: n,
6
6
  vertical: _,
7
7
  horizontal: v
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { Flex as s } from "./Flex.js";
4
- import '../../../assets/FlexShowcase.css';const t = "_box_1118n_1", o = {
4
+ const t = "_box_1118n_1", o = {
5
5
  box: t
6
6
  };
7
7
  function r(a) {