@cfx-dev/ui-components 3.0.2 → 3.0.3

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 +26 -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,106 +1,106 @@
1
- import { jsx as P } from "react/jsx-runtime";
2
- import c from "react";
3
- import { useContextualStyle as W } from "../../Style/Style.js";
4
- import { ui as a } from "../../ui.js";
1
+ import { jsx as W } from "react/jsx-runtime";
2
+ import x from "react";
3
+ import { useContextualStyle as j } from "../../Style/Style.js";
4
+ import { ui as g } from "../../ui.js";
5
5
  import { clsx as H } from "../../../utils/clsx.js";
6
- const z = "_root_1rhjm_1", D = "_grow_1rhjm_16", t = {
6
+ const z = "cfxui__Box__root__299ae", D = "cfxui__Box__grow__7ee8d", t = {
7
7
  root: z,
8
- "full-width": "_full-width_1rhjm_1",
9
- "fit-content-width": "_fit-content-width_1rhjm_4",
10
- "full-height": "_full-height_1rhjm_7",
11
- "no-overflow": "_no-overflow_1rhjm_10",
12
- "no-shrink": "_no-shrink_1rhjm_13",
8
+ "full-width": "cfxui__Box__full-width__2b253",
9
+ "fit-content-width": "cfxui__Box__fit-content-width__eff85",
10
+ "full-height": "cfxui__Box__full-height__1d61f",
11
+ "no-overflow": "cfxui__Box__no-overflow__68f14",
12
+ "no-shrink": "cfxui__Box__no-shrink__fbd72",
13
13
  grow: D,
14
- "no-grow": "_no-grow_1rhjm_19"
14
+ "no-grow": "cfxui__Box__no-grow__7c039"
15
15
  };
16
- function y(r) {
17
- return typeof r == "string" ? r : a.q(r);
16
+ function y(e) {
17
+ return typeof e == "string" ? e : g.q(e);
18
18
  }
19
- const K = c.forwardRef(function(S, M) {
19
+ const K = x.forwardRef(function(S, M) {
20
20
  const {
21
- noOverflow: k = !1,
22
- noShrink: v = !1,
23
- grow: e = void 0,
24
- width: d,
25
- height: g,
26
- children: A,
27
- className: C,
28
- fullWidth: N,
29
- fullHeight: R,
30
- fitContentWidth: b,
31
- style: p,
21
+ noOverflow: b = !1,
22
+ noShrink: k = !1,
23
+ grow: r = void 0,
24
+ width: m,
25
+ height: d,
26
+ children: v,
27
+ className: A,
28
+ fullWidth: C,
29
+ fullHeight: N,
30
+ fitContentWidth: R,
31
+ style: a,
32
32
  // --- MPProps
33
- m: n,
33
+ m: f,
34
34
  mt: i,
35
- mr: l,
36
- mb: s,
37
- ml: f,
38
- p: h,
39
- pt: m,
40
- pr: _,
41
- pb: w,
42
- pl: u
43
- } = S, j = W(), q = H(t.root, C, {
44
- [t["full-width"]]: N,
45
- [t["full-height"]]: R,
46
- [t["fit-content-width"]]: b,
47
- [t["no-overflow"]]: k,
48
- [t["no-shrink"]]: v,
49
- [t["no-grow"]]: e === !1,
50
- [t.grow]: e === !0
51
- }), B = c.useMemo(() => a.getAllMPAttrs({
52
- m: n,
35
+ mr: _,
36
+ mb: n,
37
+ ml: l,
38
+ p: s,
39
+ pt: c,
40
+ pr: u,
41
+ pb: h,
42
+ pl: w
43
+ } = S, p = j(), q = H(t.root, A, {
44
+ [t["full-width"]]: C,
45
+ [t["full-height"]]: N,
46
+ [t["fit-content-width"]]: R,
47
+ [t["no-overflow"]]: b,
48
+ [t["no-shrink"]]: k,
49
+ [t["no-grow"]]: r === !1,
50
+ [t.grow]: r === !0
51
+ }), O = x.useMemo(() => g.getAllMPAttrs({
52
+ m: f,
53
53
  mt: i,
54
- mr: l,
55
- mb: s,
56
- ml: f,
57
- p: h,
58
- pt: m,
59
- pr: _,
60
- pb: w,
61
- pl: u
54
+ mr: _,
55
+ mb: n,
56
+ ml: l,
57
+ p: s,
58
+ pt: c,
59
+ pr: u,
60
+ pb: h,
61
+ pl: w
62
62
  }), [
63
- n,
63
+ f,
64
64
  i,
65
+ _,
66
+ n,
65
67
  l,
66
68
  s,
67
- f,
69
+ c,
70
+ u,
68
71
  h,
69
- m,
70
- _,
71
- w,
72
- u
73
- ]), x = c.useMemo(() => a.getAllMPStyles({
74
- m: n,
72
+ w
73
+ ]), B = x.useMemo(() => g.getAllMPStyles({
74
+ m: f,
75
75
  mt: i,
76
- mr: l,
77
- mb: s,
78
- ml: f,
79
- p: h,
80
- pt: m,
81
- pr: _,
82
- pb: w,
83
- pl: u
76
+ mr: _,
77
+ mb: n,
78
+ ml: l,
79
+ p: s,
80
+ pt: c,
81
+ pr: u,
82
+ pb: h,
83
+ pl: w
84
84
  }), [
85
- n,
85
+ f,
86
86
  i,
87
+ _,
88
+ n,
87
89
  l,
88
90
  s,
89
- f,
91
+ c,
92
+ u,
90
93
  h,
91
- m,
92
- _,
93
- w,
94
- u
95
- ]), O = c.useMemo(() => {
94
+ w
95
+ ]), P = x.useMemo(() => {
96
96
  const o = {
97
- ...x,
98
- ...j,
99
- ...p || {}
97
+ ...B,
98
+ ...p,
99
+ ...a || {}
100
100
  };
101
- return d && (o.width = y(d)), g && (o.height = y(g)), !o.width && e === !0 && (o.width = "1px"), o;
102
- }, [e, g, x, p, d, j]);
103
- return /* @__PURE__ */ P("div", { ...B, ref: M, className: q, style: O, children: A });
101
+ return m && (o.width = y(m)), d && (o.height = y(d)), !o.width && r === !0 && (o.width = "1px"), o;
102
+ }, [r, d, B, a, m, p]);
103
+ return /* @__PURE__ */ W("div", { ...O, ref: M, className: q, style: P, children: v });
104
104
  });
105
105
  export {
106
106
  K as Box
@@ -1,22 +1,22 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import i from "react";
3
- import { clsx as _ } from "../../../utils/clsx.js";
4
- const f = "_root_gr1d9_1", m = "_vertical_gr1d9_4", d = "_horizontal_gr1d9_8", o = {
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import l from "react";
3
+ import { clsx as s } from "../../../utils/clsx.js";
4
+ const f = "cfxui__Center__root__e3435", m = "cfxui__Center__vertical__a517d", h = "cfxui__Center__horizontal__21f93", o = {
5
5
  root: f,
6
6
  vertical: m,
7
- horizontal: d
8
- }, g = i.forwardRef(function(r, t) {
7
+ horizontal: h
8
+ }, d = l.forwardRef(function(t, r) {
9
9
  const {
10
- vertical: a = !1,
11
- horizontal: e = !1,
10
+ vertical: e = !1,
11
+ horizontal: a = !1,
12
12
  className: c,
13
- children: l
14
- } = r, n = _(o.root, c, {
15
- [o.vertical]: a,
16
- [o.horizontal]: e
13
+ children: n
14
+ } = t, _ = s(o.root, c, {
15
+ [o.vertical]: e,
16
+ [o.horizontal]: a
17
17
  });
18
- return /* @__PURE__ */ s("div", { ref: t, className: n, children: l });
18
+ return /* @__PURE__ */ i("div", { ref: r, className: _, children: n });
19
19
  });
20
20
  export {
21
- g as Center
21
+ d as Center
22
22
  };
@@ -1,83 +1,83 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import f from "react";
3
- import { Box as u } from "../Box/Box.js";
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { Box as h } from "../Box/Box.js";
4
4
  import { clsx as b } from "../../../utils/clsx.js";
5
- import { FlexRestricter as v } from "./FlexRestricter.js";
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
- root: z,
8
- "full-width": "_full-width_w5him_5",
9
- "full-height": "_full-height_w5him_8",
10
- centered: R,
11
- "centered-axis": "_centered-axis_w5him_15",
12
- "centered-cross-axis": "_centered-cross-axis_w5him_18",
13
- "baseline-axis": "_baseline-axis_w5him_21",
14
- "baseline-cross-axis": "_baseline-cross-axis_w5him_24",
15
- "reverse-order": "_reverse-order_w5him_27",
16
- vertical: F,
5
+ import { FlexRestricter as w } from "./FlexRestricter.js";
6
+ const v = "cfxui__Flex__root__d860a", z = "cfxui__Flex__centered__e911c", R = "cfxui__Flex__vertical__552db", C = "cfxui__Flex__repell__6ea3f", N = "cfxui__Flex__wrap__9d0d6", B = "cfxui__Flex__stretch__5c1ce", E = "cfxui__Flex__horizontal__d64f7", e = {
7
+ root: v,
8
+ "full-width": "cfxui__Flex__full-width__b7146",
9
+ "full-height": "cfxui__Flex__full-height__d3475",
10
+ centered: z,
11
+ "centered-axis": "cfxui__Flex__centered-axis__8458f",
12
+ "centered-cross-axis": "cfxui__Flex__centered-cross-axis__f7db7",
13
+ "baseline-axis": "cfxui__Flex__baseline-axis__9ac0d",
14
+ "baseline-cross-axis": "cfxui__Flex__baseline-cross-axis__b4492",
15
+ "reverse-order": "cfxui__Flex__reverse-order__65a69",
16
+ vertical: R,
17
17
  repell: C,
18
18
  wrap: N,
19
- "align-to-end": "_align-to-end_w5him_42",
20
- "align-to-end-axis": "_align-to-end-axis_w5him_45",
21
- "space-between": "_space-between_w5him_48",
19
+ "align-to-end": "cfxui__Flex__align-to-end__4b5ea",
20
+ "align-to-end-axis": "cfxui__Flex__align-to-end-axis__db8aa",
21
+ "space-between": "cfxui__Flex__space-between__98493",
22
22
  stretch: B,
23
23
  horizontal: E,
24
- "gap-none": "_gap-none_w5him_63",
25
- "gap-hairthin": "_gap-hairthin_w5him_66",
26
- "gap-thin": "_gap-thin_w5him_69",
27
- "gap-xxsmall": "_gap-xxsmall_w5him_72",
28
- "gap-xsmall": "_gap-xsmall_w5him_75",
29
- "gap-small": "_gap-small_w5him_78",
30
- "gap-normal": "_gap-normal_w5him_81",
31
- "gap-medium": "_gap-medium_w5him_84",
32
- "gap-large": "_gap-large_w5him_87",
33
- "gap-xlarge": "_gap-xlarge_w5him_90",
34
- "gap-safezone": "_gap-safezone_w5him_93"
24
+ "gap-none": "cfxui__Flex__gap-none__deb35",
25
+ "gap-hairthin": "cfxui__Flex__gap-hairthin__5e46a",
26
+ "gap-thin": "cfxui__Flex__gap-thin__090a7",
27
+ "gap-xxsmall": "cfxui__Flex__gap-xxsmall__601de",
28
+ "gap-xsmall": "cfxui__Flex__gap-xsmall__17eb1",
29
+ "gap-small": "cfxui__Flex__gap-small__7c57e",
30
+ "gap-normal": "cfxui__Flex__gap-normal__56a4e",
31
+ "gap-medium": "cfxui__Flex__gap-medium__50167",
32
+ "gap-large": "cfxui__Flex__gap-large__91d92",
33
+ "gap-xlarge": "cfxui__Flex__gap-xlarge__ec431",
34
+ "gap-safezone": "cfxui__Flex__gap-safezone__4e3d1"
35
35
  };
36
- function T(r, s) {
36
+ function T(s, a) {
37
37
  const {
38
- centered: a = !1,
39
- vertical: t = !1,
40
- reverseOrder: n = !1,
41
- stretch: l = !1,
42
- wrap: o = !1,
43
- spaceBetween: c = !1,
44
- alignToEnd: m = !1,
45
- alignToEndAxis: h = !1,
46
- gap: p = "normal",
47
- children: w,
48
- className: g,
49
- ...x
50
- } = r, d = b(e.root, g, e[`gap-${p}`], {
51
- [e.centered]: a === !0,
52
- [e["centered-axis"]]: a === "axis",
53
- [e["centered-cross-axis"]]: a === "cross-axis",
54
- [e["baseline-axis"]]: a === "baseline-axis",
55
- [e["baseline-cross-axis"]]: a === "baseline-cross-axis",
56
- [e.vertical]: t,
57
- [e.horizontal]: !t,
58
- [e.stretch]: l,
59
- [e.wrap]: o,
60
- [e["align-to-end"]]: m,
61
- [e["align-to-end-axis"]]: h,
62
- [e["space-between"]]: c,
63
- [e["reverse-order"]]: n
38
+ centered: _ = !1,
39
+ vertical: i = !1,
40
+ reverseOrder: x = !1,
41
+ stretch: c = !1,
42
+ wrap: t = !1,
43
+ spaceBetween: n = !1,
44
+ alignToEnd: o = !1,
45
+ alignToEndAxis: f = !1,
46
+ gap: d = "normal",
47
+ children: p,
48
+ className: u,
49
+ ...g
50
+ } = s, F = b(e.root, u, e[`gap-${d}`], {
51
+ [e.centered]: _ === !0,
52
+ [e["centered-axis"]]: _ === "axis",
53
+ [e["centered-cross-axis"]]: _ === "cross-axis",
54
+ [e["baseline-axis"]]: _ === "baseline-axis",
55
+ [e["baseline-cross-axis"]]: _ === "baseline-cross-axis",
56
+ [e.vertical]: i,
57
+ [e.horizontal]: !i,
58
+ [e.stretch]: c,
59
+ [e.wrap]: t,
60
+ [e["align-to-end"]]: o,
61
+ [e["align-to-end-axis"]]: f,
62
+ [e["space-between"]]: n,
63
+ [e["reverse-order"]]: x
64
64
  });
65
- return /* @__PURE__ */ i(
66
- u,
65
+ return /* @__PURE__ */ l(
66
+ h,
67
67
  {
68
- ref: s,
69
- className: d,
70
- ...x,
71
- children: w
68
+ ref: a,
69
+ className: F,
70
+ ...g,
71
+ children: p
72
72
  }
73
73
  );
74
74
  }
75
- const j = f.forwardRef(T), _ = j;
76
- _.Restricted = function({
77
- children: s
75
+ const j = m.forwardRef(T), r = j;
76
+ r.Restricted = function({
77
+ children: a
78
78
  }) {
79
- return /* @__PURE__ */ i(_, { children: /* @__PURE__ */ i(v, { children: s }) });
79
+ return /* @__PURE__ */ l(r, { children: /* @__PURE__ */ l(w, { children: a }) });
80
80
  };
81
81
  export {
82
- _ as Flex
82
+ r as Flex
83
83
  };
@@ -1,20 +1,20 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import l from "react";
3
- import { clsx as s } from "../../../utils/clsx.js";
4
- const n = "_root_1jvko_1", _ = "_vertical_1jvko_4", v = "_horizontal_1jvko_7", o = {
5
- root: n,
6
- vertical: _,
7
- horizontal: v
8
- }, d = l.forwardRef(function(r, e) {
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import s from "react";
3
+ import { clsx as _ } from "../../../utils/clsx.js";
4
+ const a = "cfxui__FlexRestricter__root__a1583", n = "cfxui__FlexRestricter__vertical__27ce9", f = "cfxui__FlexRestricter__horizontal__2ab15", t = {
5
+ root: a,
6
+ vertical: n,
7
+ horizontal: f
8
+ }, v = s.forwardRef(function(o, e) {
9
9
  const {
10
- vertical: t = !1,
10
+ vertical: r = !1,
11
11
  children: c
12
- } = r, a = s(o.root, {
13
- [o.vertical]: t,
14
- [o.horizontal]: !t
12
+ } = o, i = _(t.root, {
13
+ [t.vertical]: r,
14
+ [t.horizontal]: !r
15
15
  });
16
- return /* @__PURE__ */ i("div", { ref: e, className: a, children: c });
16
+ return /* @__PURE__ */ l("div", { ref: e, className: i, children: c });
17
17
  });
18
18
  export {
19
- d as FlexRestricter
19
+ v as FlexRestricter
20
20
  };
@@ -1,10 +1,10 @@
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
- const t = "_box_1118n_1", o = {
5
- box: t
4
+ const x = "cfxui__FlexShowcase__box__d5286", o = {
5
+ box: x
6
6
  };
7
- function r(a) {
7
+ function t(a) {
8
8
  return /* @__PURE__ */ e(s, { gap: "large", vertical: !0, children: /* @__PURE__ */ c(s, { ...a, children: [
9
9
  /* @__PURE__ */ e("div", { className: o.box }),
10
10
  /* @__PURE__ */ e("div", { className: o.box }),
@@ -13,7 +13,7 @@ function r(a) {
13
13
  /* @__PURE__ */ e("div", { className: o.box })
14
14
  ] }) });
15
15
  }
16
- const d = l.memo(r);
16
+ const d = l.memo(t);
17
17
  export {
18
18
  d as default
19
19
  };
@@ -1,40 +1,40 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { clsx as u } from "../../../utils/clsx.js";
3
- const i = "_root_1aquh_1", o = {
4
- root: i,
5
- "offset-none": "_offset-none_1aquh_1",
6
- "offset-hairthin": "_offset-hairthin_1aquh_4",
7
- "offset-thin": "_offset-thin_1aquh_7",
8
- "offset-xxsmall": "_offset-xxsmall_1aquh_10",
9
- "offset-xsmall": "_offset-xsmall_1aquh_13",
10
- "offset-small": "_offset-small_1aquh_16",
11
- "offset-normal": "_offset-normal_1aquh_19",
12
- "offset-medium": "_offset-medium_1aquh_22",
13
- "offset-large": "_offset-large_1aquh_25",
14
- "offset-xlarge": "_offset-xlarge_1aquh_28",
15
- "offset-safezone": "_offset-safezone_1aquh_31",
16
- "only-top": "_only-top_1aquh_34",
17
- "only-left": "_only-left_1aquh_37",
18
- "only-right": "_only-right_1aquh_40",
19
- "only-bottom": "_only-bottom_1aquh_43"
1
+ import { jsx as x } from "react/jsx-runtime";
2
+ import { clsx as r } from "../../../utils/clsx.js";
3
+ const d = "cfxui__Pad__root__f230e", _ = {
4
+ root: d,
5
+ "offset-none": "cfxui__Pad__offset-none__41261",
6
+ "offset-hairthin": "cfxui__Pad__offset-hairthin__aa20b",
7
+ "offset-thin": "cfxui__Pad__offset-thin__cf68c",
8
+ "offset-xxsmall": "cfxui__Pad__offset-xxsmall__4ce1d",
9
+ "offset-xsmall": "cfxui__Pad__offset-xsmall__cae67",
10
+ "offset-small": "cfxui__Pad__offset-small__5604b",
11
+ "offset-normal": "cfxui__Pad__offset-normal__628e1",
12
+ "offset-medium": "cfxui__Pad__offset-medium__6b21c",
13
+ "offset-large": "cfxui__Pad__offset-large__7d722",
14
+ "offset-xlarge": "cfxui__Pad__offset-xlarge__ce0b6",
15
+ "offset-safezone": "cfxui__Pad__offset-safezone__2a0b0",
16
+ "only-top": "cfxui__Pad__only-top__9db9a",
17
+ "only-left": "cfxui__Pad__only-left__11e11",
18
+ "only-right": "cfxui__Pad__only-right__3fa8a",
19
+ "only-bottom": "cfxui__Pad__only-bottom__dc7c9"
20
20
  };
21
- function x(l) {
21
+ function P(s) {
22
22
  const {
23
- top: f = !1,
24
- left: e = !1,
25
- right: s = !1,
26
- bottom: _ = !1,
27
- size: a = "normal",
28
- children: n,
29
- className: h
30
- } = l, t = !(f || e || s || _), r = u(o.root, h, o[`offset-${a}`], {
31
- [o["only-top"]]: t || f,
32
- [o["only-left"]]: t || e,
33
- [o["only-right"]]: t || s,
34
- [o["only-bottom"]]: t || _
23
+ top: o = !1,
24
+ left: t = !1,
25
+ right: e = !1,
26
+ bottom: a = !1,
27
+ size: l = "normal",
28
+ children: c,
29
+ className: i
30
+ } = s, f = !(o || t || e || a), n = r(_.root, i, _[`offset-${l}`], {
31
+ [_["only-top"]]: f || o,
32
+ [_["only-left"]]: f || t,
33
+ [_["only-right"]]: f || e,
34
+ [_["only-bottom"]]: f || a
35
35
  });
36
- return /* @__PURE__ */ m("div", { className: r, children: n });
36
+ return /* @__PURE__ */ x("div", { className: n, children: c });
37
37
  }
38
38
  export {
39
- x as Pad
39
+ P as Pad
40
40
  };
@@ -1,21 +1,21 @@
1
- import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
- import { clsx as n } from "../../../utils/clsx.js";
3
- const d = "_root_18k7e_1", _ = "_loader_18k7e_8", m = "_wtf_18k7e_1", o = {
1
+ import { jsxs as _, jsx as c } from "react/jsx-runtime";
2
+ import { clsx as l } from "../../../utils/clsx.js";
3
+ const d = "cfxui__Page__root__3b40d", f = "cfxui__Page__loader__df597", n = "cfxui__Page__wtf__c1620", o = {
4
4
  root: d,
5
- loader: _,
6
- wtf: m
5
+ loader: f,
6
+ wtf: n
7
7
  };
8
- function w(s) {
8
+ function x(s) {
9
9
  const {
10
10
  children: r,
11
11
  className: t,
12
- showLoader: e = !1
13
- } = s, a = n(o.root, t);
14
- return /* @__PURE__ */ c("div", { className: a, children: [
12
+ showLoader: a = !1
13
+ } = s, e = l(o.root, t);
14
+ return /* @__PURE__ */ _("div", { className: e, children: [
15
15
  r,
16
- e && /* @__PURE__ */ l("div", { className: o.loader })
16
+ a && /* @__PURE__ */ c("div", { className: o.loader })
17
17
  ] });
18
18
  }
19
19
  export {
20
- w as Page
20
+ x as Page
21
21
  };
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../Interactive/Interactive.js";
4
4
  import "../../../utils/clsx.js";
5
5
  import "../../../utils/math.js";
6
- import { R } from "../../../Rail-XT5PwAlx.js";
6
+ import { R } from "../../../Rail-DcVowhML.js";
7
7
  export {
8
8
  R as Rail
9
9
  };
@@ -3,7 +3,7 @@ import r from "react";
3
3
  import { useContextualStyle as W } from "../../Style/Style.js";
4
4
  import { clsx as b } from "../../../utils/clsx.js";
5
5
  import { mergeRefs as k } from "../../../utils/mergeRefs.js";
6
- import { s as o, R as w } from "../../../Rail-XT5PwAlx.js";
6
+ import { s as o, R as w } from "../../../Rail-DcVowhML.js";
7
7
  const N = {
8
8
  size: 0,
9
9
  scrollPos: 0,
@@ -3,7 +3,7 @@ import N, { createElement as k, PureComponent as re } from "react";
3
3
  import { _ as ie, a as ne } from "../../../inheritsLoose-CyjgKRgL.js";
4
4
  import { clsx as oe } from "../../../utils/clsx.js";
5
5
  import { Scrollable as le } from "./Scrollable.js";
6
- import { s as se } from "../../../Rail-XT5PwAlx.js";
6
+ import { s as se } from "../../../Rail-DcVowhML.js";
7
7
  function $(r) {
8
8
  if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
9
9
  return r;
@@ -1,4 +1,4 @@
1
- import { R as o } from "../../../Rail-XT5PwAlx.js";
1
+ import { R as o } from "../../../Rail-DcVowhML.js";
2
2
  import { Scrollable as e } from "./Scrollable.js";
3
3
  import { VirtualScrollable as f } from "./VirtualScrollable.js";
4
4
  export {
@@ -4,9 +4,9 @@ import { getLinkClassName as i } from "./Link.js";
4
4
  function l(t) {
5
5
  const {
6
6
  className: c,
7
- children: o,
8
- type: a = "button",
9
- disabled: e = !1,
7
+ children: e,
8
+ type: o = "button",
9
+ disabled: a = !1,
10
10
  ...s
11
11
  } = t, n = i(t);
12
12
  return /* @__PURE__ */ r(
@@ -14,9 +14,10 @@ function l(t) {
14
14
  {
15
15
  ...s,
16
16
  className: n,
17
- type: a,
18
- "aria-disabled": e,
19
- children: o
17
+ type: o,
18
+ "aria-disabled": a,
19
+ tabIndex: a ? -1 : 0,
20
+ children: e
20
21
  }
21
22
  );
22
23
  }