@cfx-dev/ui-components 4.2.20 → 4.2.22

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 (160) hide show
  1. package/dist/assets/css/Badge.css +1 -1
  2. package/dist/assets/css/Link.css +1 -1
  3. package/dist/assets/general/global.css +1 -1
  4. package/dist/components/Accordion/Accordion.d.ts +1 -7
  5. package/dist/components/Accordion/Accordion.js +1 -1
  6. package/dist/components/Accordion/AccordionShowcase.js +1 -1
  7. package/dist/components/Accordion/index.d.ts +1 -0
  8. package/dist/components/Avatar/AvatarShowcase.js +1 -1
  9. package/dist/components/BackdropPortal/BackdropPortal.d.ts +2 -0
  10. package/dist/components/BackdropPortal/BackdropPortal.js +7 -5
  11. package/dist/components/BackdropPortal/index.d.ts +2 -0
  12. package/dist/components/BackdropPortal/index.js +5 -0
  13. package/dist/components/Badge/Badge.d.ts +9 -2
  14. package/dist/components/Badge/Badge.js +52 -25
  15. package/dist/components/Badge/BadgeShowcase.js +1 -1
  16. package/dist/components/Badge/index.d.ts +1 -1
  17. package/dist/components/BurgerMenu/BurgerMenu.js +1 -1
  18. package/dist/components/BurgerMenu/BurgerMenuShowcase.js +1 -1
  19. package/dist/components/Button/ButtonShowcase.js +1 -1
  20. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  21. package/dist/components/ClipboardButton/ClipboardButton.d.ts +3 -3
  22. package/dist/components/ClipboardButton/ClipboardButton.js +10 -9
  23. package/dist/components/ControlBox/ControlBox.d.ts +2 -0
  24. package/dist/components/ControlBox/ControlBox.js +10 -9
  25. package/dist/components/ControlBox/index.d.ts +2 -0
  26. package/dist/components/ControlBox/index.js +4 -0
  27. package/dist/components/CountryFlag/CountryFlag.d.ts +2 -0
  28. package/dist/components/CountryFlag/CountryFlag.js +14 -13
  29. package/dist/components/CountryFlag/index.d.ts +2 -0
  30. package/dist/components/CountryFlag/index.js +4 -0
  31. package/dist/components/Decorate/Decorate.d.ts +2 -0
  32. package/dist/components/Decorate/Decorate.js +15 -14
  33. package/dist/components/Decorate/index.d.ts +2 -0
  34. package/dist/components/Decorate/index.js +4 -0
  35. package/dist/components/DropdownSelect/DropdownSelect.d.ts +1 -1
  36. package/dist/components/DropdownSelect/DropdownSelect.js +801 -1039
  37. package/dist/components/DropdownSelect/DropdownSelectShowcase.js +1 -1
  38. package/dist/components/DropdownSelect/index.d.ts +1 -0
  39. package/dist/components/Flyout/Flyout.d.ts +2 -1
  40. package/dist/components/Flyout/index.d.ts +2 -0
  41. package/dist/components/Flyout/index.js +5 -0
  42. package/dist/components/Icon/Icon.d.ts +1 -1
  43. package/dist/components/Icon/Icon.js +1 -1
  44. package/dist/components/IconBig/IconBig.js +1 -1
  45. package/dist/components/IconButton/IconButton.d.ts +2 -3
  46. package/dist/components/IconButton/index.d.ts +1 -1
  47. package/dist/components/Indicator/index.d.ts +2 -0
  48. package/dist/components/Indicator/index.js +4 -0
  49. package/dist/components/InfoPanel/InfoPanelShowcase.js +1 -1
  50. package/dist/components/Input/Input.d.ts +1 -1
  51. package/dist/components/Input/Input.js +6 -6
  52. package/dist/components/Input/InputShowcase.js +1 -1
  53. package/dist/components/Input/RichInput.d.ts +1 -1
  54. package/dist/components/Input/RichInput.js +4 -4
  55. package/dist/components/Input/index.d.ts +1 -1
  56. package/dist/components/InputDropzone/index.d.ts +3 -3
  57. package/dist/components/InputDropzone/index.js +3 -3
  58. package/dist/components/Interactive/index.d.ts +2 -0
  59. package/dist/components/Interactive/index.js +4 -0
  60. package/dist/components/Island/Island.js +4 -4
  61. package/dist/components/Island/index.d.ts +2 -0
  62. package/dist/components/Island/index.js +5 -0
  63. package/dist/components/Layout/Box/Box.d.ts +2 -1
  64. package/dist/components/Layout/Box/Box.js +3 -2
  65. package/dist/components/Layout/Box/index.d.ts +2 -0
  66. package/dist/components/Layout/Box/index.js +5 -0
  67. package/dist/components/Layout/Center/index.d.ts +2 -0
  68. package/dist/components/Layout/Center/index.js +4 -0
  69. package/dist/components/Layout/Flex/Flex.d.ts +4 -4
  70. package/dist/components/Layout/Flex/Flex.js +1 -1
  71. package/dist/components/Layout/Flex/Flex.types.d.ts +7 -0
  72. package/dist/components/Layout/Flex/Flex.types.js +6 -5
  73. package/dist/components/Layout/Flex/index.d.ts +6 -0
  74. package/dist/components/Layout/Flex/index.js +12 -0
  75. package/dist/components/Layout/Pad/index.d.ts +2 -0
  76. package/dist/components/Layout/Pad/index.js +4 -0
  77. package/dist/components/Layout/Page/index.d.ts +2 -0
  78. package/dist/components/Layout/Page/index.js +4 -0
  79. package/dist/components/Layout/Scrollable/ScrollableShowcase.js +1 -1
  80. package/dist/components/Link/ButtonLink.js +23 -18
  81. package/dist/components/Link/Link.d.ts +3 -1
  82. package/dist/components/Link/Link.js +48 -30
  83. package/dist/components/Link/LinkShowcase.js +46 -41
  84. package/dist/components/Link/index.d.ts +1 -1
  85. package/dist/components/Link/index.js +6 -5
  86. package/dist/components/Loaf/index.d.ts +2 -0
  87. package/dist/components/Loaf/index.js +4 -0
  88. package/dist/components/Logos/LogosShowcase.js +1 -1
  89. package/dist/components/Modal/Modal.js +1 -1
  90. package/dist/components/NavList/index.d.ts +2 -0
  91. package/dist/components/NavList/index.js +4 -0
  92. package/dist/components/Overlay/index.d.ts +2 -0
  93. package/dist/components/Overlay/index.js +5 -0
  94. package/dist/components/PremiumBadge/index.d.ts +2 -0
  95. package/dist/components/PremiumBadge/index.js +4 -0
  96. package/dist/components/Prose/Prose.d.ts +1 -2
  97. package/dist/components/Prose/index.d.ts +2 -0
  98. package/dist/components/Prose/index.js +4 -0
  99. package/dist/components/Radio/index.d.ts +2 -0
  100. package/dist/components/Radio/index.js +4 -0
  101. package/dist/components/Select/Select.d.ts +1 -1
  102. package/dist/components/Select/Select.js +2 -2
  103. package/dist/components/Select/SelectShowcase.js +1 -1
  104. package/dist/components/Separator/Separator.d.ts +1 -1
  105. package/dist/components/Separator/Separator.js +1 -1
  106. package/dist/components/Separator/index.d.ts +2 -0
  107. package/dist/components/Separator/index.js +4 -0
  108. package/dist/components/Shroud/Shroud.js +6 -6
  109. package/dist/components/Shroud/index.d.ts +2 -0
  110. package/dist/components/Shroud/index.js +4 -0
  111. package/dist/components/Skeleton/Skeleton.d.ts +2 -2
  112. package/dist/components/Skeleton/Skeleton.js +1 -1
  113. package/dist/components/Skeleton/SkeletonShowcase.js +1 -1
  114. package/dist/components/Skeleton/index.d.ts +1 -0
  115. package/dist/components/Slider/Slider.js +294 -374
  116. package/dist/components/Slider/SliderShowcase.js +1 -1
  117. package/dist/components/Spacer/Spacer.d.ts +1 -1
  118. package/dist/components/Spacer/index.d.ts +2 -0
  119. package/dist/components/Spacer/index.js +4 -0
  120. package/dist/components/Style/index.d.ts +2 -0
  121. package/dist/components/Style/index.js +5 -0
  122. package/dist/components/Table/Table.d.ts +13 -4
  123. package/dist/components/Table/Table.js +3 -2
  124. package/dist/components/Table/TableShowcase.js +1 -1
  125. package/dist/components/Table/index.d.ts +2 -2
  126. package/dist/components/Table/index.js +5 -2
  127. package/dist/components/Tabular/Tabular.d.ts +1 -1
  128. package/dist/components/Tabular/Tabular.js +1 -1
  129. package/dist/components/Tabular/TabularShowcase.js +1 -1
  130. package/dist/components/Text/Text.js +13 -12
  131. package/dist/components/Text/Text.types.d.ts +3 -2
  132. package/dist/components/Text/TextShowcase.js +12 -15
  133. package/dist/components/Text/index.d.ts +2 -2
  134. package/dist/components/Text/index.js +9 -8
  135. package/dist/components/Textarea/index.d.ts +2 -0
  136. package/dist/components/Textarea/index.js +4 -0
  137. package/dist/components/Title/Title.d.ts +5 -4
  138. package/dist/components/Title/Title.js +4 -2
  139. package/dist/components/Title/TitleShowcase.js +1 -1
  140. package/dist/components/Title/index.d.ts +2 -0
  141. package/dist/components/Title/index.js +7 -0
  142. package/dist/components/ToggleGroup/ToggleGroupShowcase.js +1 -1
  143. package/dist/index-AweK2ufS.js +171 -0
  144. package/dist/{index-DBus3GoO.js → index-Bz27DCHt.js} +2 -2
  145. package/dist/main.d.ts +93 -69
  146. package/dist/main.js +217 -191
  147. package/dist/styles-scss/global.scss +2 -2
  148. package/dist/styles-scss/tokens.scss +0 -4
  149. package/dist/utils/color.d.ts +3 -1
  150. package/dist/utils/enum.d.ts +1 -0
  151. package/dist/utils/enum.js +6 -0
  152. package/dist/utils/ui/index.d.ts +3 -0
  153. package/dist/utils/ui/index.js +11 -0
  154. package/dist/{components → utils/ui}/ui.d.ts +2 -68
  155. package/dist/utils/ui/ui.js +68 -0
  156. package/dist/utils/ui/ui.types.d.ts +86 -0
  157. package/dist/utils/ui/ui.types.js +9 -0
  158. package/package.json +1 -1
  159. package/dist/components/ui.js +0 -73
  160. package/dist/index-CjTSD6zB.js +0 -161
@@ -1,63 +1,68 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import d from "react";
3
- import { Flex as n } from "../Layout/Flex/Flex.js";
4
- import { Text as r } from "../Text/Text.js";
5
- import "../ui.js";
6
- import l from "./ButtonLink.js";
7
- import t from "./Link.js";
3
+ import { Flex as l } from "../Layout/Flex/Flex.js";
4
+ import { Text as i } from "../Text/Text.js";
5
+ import "../../utils/ui/ui.js";
6
+ import t from "./ButtonLink.js";
7
+ import n from "./Link.js";
8
8
  function c() {
9
- return /* @__PURE__ */ i(n, { gap: "large", vertical: !0, children: [
10
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
11
- /* @__PURE__ */ e(r, { children: "Theme Default" }),
12
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", children: "Link active" }) }),
13
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", disabled: !0, children: "Link disable" }) }),
14
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", unstyled: !0, children: "Link unstyled" }) })
15
- ] }),
16
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
17
- /* @__PURE__ */ e(r, { children: "Theme secondary" }),
18
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", theme: "secondary", children: "Link active" }) }),
19
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", theme: "secondary", disabled: !0, children: "Link disable" }) })
20
- ] }),
21
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
22
- /* @__PURE__ */ e(r, { children: "ButtonLink - look like link but its button" }),
23
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { children: "Link active" }) }),
24
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { disabled: !0, children: "Link disable" }) })
25
- ] }),
26
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
27
- /* @__PURE__ */ e(r, { children: "Inside text" }),
28
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", children: [
9
+ return /* @__PURE__ */ r(l, { gap: "large", vertical: !0, children: [
10
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
11
+ /* @__PURE__ */ e(i, { children: "Color Default" }),
12
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", children: "Link active" }) }),
13
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", disabled: !0, children: "Link disable" }) }),
14
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", unstyled: !0, children: "Link unstyled" }) })
15
+ ] }),
16
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
17
+ /* @__PURE__ */ e(i, { children: "Color secondary" }),
18
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", color: "secondary", children: "Link active" }) }),
19
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", color: "secondary", disabled: !0, children: "Link disable" }) })
20
+ ] }),
21
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
22
+ /* @__PURE__ */ e(i, { children: "Color red" }),
23
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", color: "red", children: "Link active" }) }),
24
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { href: "/", color: "red", disabled: !0, children: "Link disable" }) })
25
+ ] }),
26
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
27
+ /* @__PURE__ */ e(i, { children: "ButtonLink - look like link but its button" }),
28
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { children: "Link active" }) }),
29
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { disabled: !0, children: "Link disable" }) })
30
+ ] }),
31
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
32
+ /* @__PURE__ */ e(i, { children: "Inside text" }),
33
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(i, { size: "large", as: "h2", children: [
29
34
  "Out of link text. ",
30
- /* @__PURE__ */ e(t, { href: "/", children: "Link text" })
35
+ /* @__PURE__ */ e(n, { href: "/", children: "Link text" })
31
36
  ] }) })
32
37
  ] }),
33
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
34
- /* @__PURE__ */ e(r, { children: "Inside typographic text" }),
35
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", typographic: !0, children: [
38
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
39
+ /* @__PURE__ */ e(i, { children: "Inside typographic text" }),
40
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(i, { size: "large", as: "h2", typographic: !0, children: [
36
41
  "Out of link text. ",
37
- /* @__PURE__ */ e(t, { href: "/", children: "Link text" })
42
+ /* @__PURE__ */ e(n, { href: "/", children: "Link text" })
38
43
  ] }) })
39
44
  ] }),
40
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
41
- /* @__PURE__ */ e(r, { children: "Row a tag" }),
45
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
46
+ /* @__PURE__ */ e(i, { children: "Row a tag" }),
42
47
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("a", { href: "/", children: "Link text" }) })
43
48
  ] }),
44
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
45
- /* @__PURE__ */ e(r, { children: "Row a in text" }),
46
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", children: [
49
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
50
+ /* @__PURE__ */ e(i, { children: "Row a in text" }),
51
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(i, { size: "large", as: "h2", children: [
47
52
  "Out of link text. ",
48
53
  /* @__PURE__ */ e("a", { href: "/", children: "Link text" })
49
54
  ] }) })
50
55
  ] }),
51
- /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
52
- /* @__PURE__ */ e(r, { children: "Row a in typographic text" }),
53
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", typographic: !0, children: [
56
+ /* @__PURE__ */ r(l, { gap: "normal", vertical: !0, children: [
57
+ /* @__PURE__ */ e(i, { children: "Row a in typographic text" }),
58
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(i, { size: "large", as: "h2", typographic: !0, children: [
54
59
  "Out of link text. ",
55
60
  /* @__PURE__ */ e("a", { href: "/", children: "Link text" })
56
61
  ] }) })
57
62
  ] })
58
63
  ] });
59
64
  }
60
- const f = d.memo(c);
65
+ const k = d.memo(c);
61
66
  export {
62
- f as default
67
+ k as default
63
68
  };
@@ -1,3 +1,3 @@
1
- export { default as Link, getLinkClassName } from './Link';
1
+ export { default as Link, getLinkClassName, getLinkStyles, } from './Link';
2
2
  export { default as ButtonLink } from './ButtonLink';
3
3
  export type { LinkBaseProps, LinkProps } from './Link';
@@ -1,7 +1,8 @@
1
- import { default as e, getLinkClassName as o } from "./Link.js";
2
- import { default as n } from "./ButtonLink.js";
1
+ import { default as a, getLinkClassName as n, getLinkStyles as o } from "./Link.js";
2
+ import { default as f } from "./ButtonLink.js";
3
3
  export {
4
- n as ButtonLink,
5
- e as Link,
6
- o as getLinkClassName
4
+ f as ButtonLink,
5
+ a as Link,
6
+ n as getLinkClassName,
7
+ o as getLinkStyles
7
8
  };
@@ -0,0 +1,2 @@
1
+ export { Loaf } from './Loaf';
2
+ export type { LoafProps, LoafSize, LoafColor, } from './Loaf';
@@ -0,0 +1,4 @@
1
+ import { Loaf as r } from "./Loaf.js";
2
+ export {
3
+ r as Loaf
4
+ };
@@ -4,7 +4,7 @@ import { Island as c } from "../Island/Island.js";
4
4
  import { Flex as m } from "../Layout/Flex/Flex.js";
5
5
  import { Pad as l } from "../Layout/Pad/Pad.js";
6
6
  import { Text as a } from "../Text/Text.js";
7
- import "../ui.js";
7
+ import "../../utils/ui/ui.js";
8
8
  import { Logos as p } from "./index.js";
9
9
  function h() {
10
10
  const s = Object.entries(p).map(([r, i]) => ({
@@ -6,7 +6,7 @@ import "../Button/LinkButton.js";
6
6
  import x from "../IconButton/IconButton.js";
7
7
  import { Overlay as t } from "../Overlay/Overlay.js";
8
8
  import { Text as m } from "../Text/Text.js";
9
- import "../ui.js";
9
+ import "../../utils/ui/ui.js";
10
10
  import { clsx as s } from "../../utils/clsx.js";
11
11
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
12
12
  import { useKeyboardClose as y } from "../../utils/hooks/useKeyboardClose.js";
@@ -0,0 +1,2 @@
1
+ export { NavList } from './NavList';
2
+ export type { NavListProps, NavListItem } from './NavList';
@@ -0,0 +1,4 @@
1
+ import { NavList as t } from "./NavList.js";
2
+ export {
3
+ t as NavList
4
+ };
@@ -0,0 +1,2 @@
1
+ export { Overlay, OVERLAY_OUTLET_ID } from './Overlay';
2
+ export type { OverlayProps, OverlayBackdropProps, OverlayContentProps, } from './Overlay';
@@ -0,0 +1,5 @@
1
+ import { OVERLAY_OUTLET_ID as e, Overlay as o } from "./Overlay.js";
2
+ export {
3
+ e as OVERLAY_OUTLET_ID,
4
+ o as Overlay
5
+ };
@@ -0,0 +1,2 @@
1
+ export { PremiumBadge } from './PremiumBadge';
2
+ export type { PremiumBadgeProps, PremiumBadgeLevel } from './PremiumBadge';
@@ -0,0 +1,4 @@
1
+ import { PremiumBadge as r } from "./PremiumBadge.js";
2
+ export {
3
+ r as PremiumBadge
4
+ };
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
 
3
- export interface ProseProps {
4
- children?: React.ReactNode;
3
+ export interface ProseProps extends React.PropsWithChildren {
5
4
  }
6
5
  export declare function Prose({ children, }: ProseProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Prose } from './Prose';
2
+ export type { ProseProps } from './Prose';
@@ -0,0 +1,4 @@
1
+ import { Prose as e } from "./Prose.js";
2
+ export {
3
+ e as Prose
4
+ };
@@ -0,0 +1,2 @@
1
+ export { Radio } from './Radio';
2
+ export type { RadioProps, RadioSize } from './Radio';
@@ -0,0 +1,4 @@
1
+ import { Radio as a } from "./Radio.js";
2
+ export {
3
+ a as Radio
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { InputSize } from '../Input';
3
- import { ResponsiveValueType } from '../ui';
3
+ import { ResponsiveValueType } from '../../utils/ui';
4
4
 
5
5
  export interface SelectOption<T> {
6
6
  value: T;
@@ -6,13 +6,13 @@ import { c as Je } from "../../index-rKs9bXHr.js";
6
6
  import { S as ze, P as O, d as bn } from "../../index-BlbvKsmN.js";
7
7
  import { u as xn } from "../../index-ByaXH_ih.js";
8
8
  import { c as pe, a as _n, b as X, u as et } from "../../index-Cf5Yu9oD.js";
9
- import { u as En, a as Pn, b as Rn, o as Tn, s as Nn, f as In, c as An, d as On, h as Mn, l as Ln, g as Dn, e as kn, i as Ge } from "../../index-DBus3GoO.js";
9
+ import { u as En, a as Pn, b as Rn, o as Tn, s as Nn, f as In, c as An, d as On, h as Mn, l as Ln, g as Dn, i as kn, e as Ge } from "../../index-Bz27DCHt.js";
10
10
  import { u as Bn } from "../../index-BZPx6jYI.js";
11
11
  import { f as ht, _ as ce, c as Fn } from "../../tslib.es6-CBKHJX9H.js";
12
12
  import { c as Wn, u as zn } from "../../medium-BA3EQDZW.js";
13
13
  import { Icon as Vn } from "../Icon/Icon.js";
14
- import { ui as Hn } from "../ui.js";
15
14
  import { clsx as Me } from "../../utils/clsx.js";
15
+ import { ui as Hn } from "../../utils/ui/ui.js";
16
16
  var vt = function(e) {
17
17
  var t = e.sideCar, n = ht(e, ["sideCar"]);
18
18
  if (!t)
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import o from "react";
3
3
  import { Flex as a } from "../Layout/Flex/Flex.js";
4
4
  import { Text as i } from "../Text/Text.js";
5
- import "../ui.js";
5
+ import "../../utils/ui/ui.js";
6
6
  import { Select as n } from "./Select.js";
7
7
  const t = [
8
8
  {
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MPProps, OffsetType } from '../ui';
2
+ import { MPProps, OffsetType } from '../../utils/ui';
3
3
 
4
4
  export interface SeparatorProps extends MPProps {
5
5
  thin?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import { ui as s } from "../ui.js";
4
3
  import { clsx as x } from "../../utils/clsx.js";
4
+ import { ui as s } from "../../utils/ui/ui.js";
5
5
  const m = "cfxui__Separator__root__3aea3", u = "cfxui__Separator__separator__5dbbd", d = "cfxui__Separator__content__7ade9", S = "cfxui__Separator__thin__628fd", h = "cfxui__Separator__vertical__8bd90", v = "cfxui__Separator__text__d02da", a = {
6
6
  root: m,
7
7
  "separator-offset-none": "cfxui__Separator__separator-offset-none__f2b70",
@@ -0,0 +1,2 @@
1
+ export { Separator } from './Separator';
2
+ export type { SeparatorProps } from './Separator';
@@ -0,0 +1,4 @@
1
+ import { Separator as a } from "./Separator.js";
2
+ export {
3
+ a as Separator
4
+ };
@@ -1,18 +1,18 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
2
  import r from "react";
3
3
  import { TITLE_OUTLET_ID as _ } from "../Title/Title.js";
4
- import { ui as p } from "../ui.js";
5
4
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
6
5
  import "../../utils/hooks/useKeyboardClose.js";
7
- import { useWindowResize as b } from "../../utils/hooks/useWindowResize.js";
8
- import { useOutlet as x } from "../../utils/hooks/useOutlet.js";
6
+ import { useWindowResize as p } from "../../utils/hooks/useWindowResize.js";
7
+ import { useOutlet as b } from "../../utils/hooks/useOutlet.js";
8
+ import { ui as x } from "../../utils/ui/ui.js";
9
9
  const g = "cfxui__Shroud__root__99944", v = "cfxui__Shroud__tile__db55f", e = {
10
10
  root: g,
11
11
  tile: v
12
12
  }, P = r.forwardRef(function(l, n) {
13
13
  const {
14
14
  forRef: s
15
- } = l, [u, d] = r.useState({}), f = x(_, "before"), i = r.useCallback(() => {
15
+ } = l, [u, d] = r.useState({}), f = b(_, "before"), i = r.useCallback(() => {
16
16
  if (!s.current)
17
17
  return;
18
18
  const o = s.current.getBoundingClientRect(), m = {
@@ -26,13 +26,13 @@ const g = "cfxui__Shroud__root__99944", v = "cfxui__Shroud__tile__db55f", e = {
26
26
  d(
27
27
  Object.fromEntries(
28
28
  Object.entries(m).flatMap(([a, c]) => [
29
- [`--${a}`, p.px(c)],
29
+ [`--${a}`, x.px(c)],
30
30
  [`--${a}-raw`, c]
31
31
  ])
32
32
  )
33
33
  );
34
34
  }, []);
35
- return r.useEffect(i, []), b(i), /* @__PURE__ */ t(f, { children: /* @__PURE__ */ h("div", { ref: n, className: e.root, style: u, children: [
35
+ return r.useEffect(i, []), p(i), /* @__PURE__ */ t(f, { children: /* @__PURE__ */ h("div", { ref: n, className: e.root, style: u, children: [
36
36
  /* @__PURE__ */ t("div", { className: e.tile, "data-top": !0 }),
37
37
  /* @__PURE__ */ t("div", { className: e.tile, "data-left": !0 }),
38
38
  /* @__PURE__ */ t("div", { className: e.tile, "data-right": !0 }),
@@ -0,0 +1,2 @@
1
+ export { Shroud } from './Shroud';
2
+ export type { ShroudProps } from './Shroud';
@@ -0,0 +1,4 @@
1
+ import { Shroud as d } from "./Shroud.js";
2
+ export {
3
+ d as Shroud
4
+ };
@@ -1,9 +1,9 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps } from '../Layout/Box/Box';
3
3
  import { ResponsiveTextSize } from '../Text';
4
- import { BorderRadiusType, ResponsiveValueType } from '../ui';
4
+ import { BorderRadiusType, ResponsiveValueType } from '../../utils/ui';
5
5
 
6
- interface SkeletonProps extends BoxProps {
6
+ export interface SkeletonProps extends BoxProps {
7
7
  borderRadius?: BorderRadiusType;
8
8
  height?: ResponsiveValueType<ResponsiveTextSize>;
9
9
  }
@@ -2,7 +2,7 @@ import { jsx as _ } from "react/jsx-runtime";
2
2
  import r from "react";
3
3
  import { Box as f } from "../Layout/Box/Box.js";
4
4
  import { textSizeResponsiveValueFormatter as u } from "../Text/Text.js";
5
- import { ui as s } from "../ui.js";
5
+ import { ui as s } from "../../utils/ui/ui.js";
6
6
  import { clsx as d } from "../../utils/clsx.js";
7
7
  const p = "cfxui__Skeleton__skeleton__d700e", h = "cfxui__Skeleton__shimmer__d72f5", k = {
8
8
  skeleton: p,
@@ -5,7 +5,7 @@ import { Button as p } from "../Button/Button.js";
5
5
  import "../Button/LinkButton.js";
6
6
  import { Flex as m } from "../Layout/Flex/Flex.js";
7
7
  import { Text as r } from "../Text/Text.js";
8
- import "../ui.js";
8
+ import "../../utils/ui/ui.js";
9
9
  import c from "./Skeleton.js";
10
10
  import { Table as x } from "../Table/Table.js";
11
11
  const g = [
@@ -1 +1,2 @@
1
1
  export { default as Skeleton } from './Skeleton';
2
+ export type { SkeletonProps } from './Skeleton';