@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
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { clsx as u } from "../../../utils/clsx.js";
3
- import '../../../assets/Pad.css';const i = "_root_1aquh_1", o = {
3
+ const i = "_root_1aquh_1", o = {
4
4
  root: i,
5
5
  "offset-none": "_offset-none_1aquh_1",
6
6
  "offset-hairthin": "_offset-hairthin_1aquh_4",
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
2
  import { clsx as n } from "../../../utils/clsx.js";
3
- import '../../../assets/Page.css';const d = "_root_18k7e_1", _ = "_loader_18k7e_8", m = "_wtf_18k7e_1", o = {
3
+ const d = "_root_18k7e_1", _ = "_loader_18k7e_8", m = "_wtf_18k7e_1", o = {
4
4
  root: d,
5
5
  loader: _,
6
6
  wtf: m
@@ -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-nVRissv6.js";
6
+ import { R } from "../../../Rail-XT5PwAlx.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-nVRissv6.js";
6
+ import { s as o, R as w } from "../../../Rail-XT5PwAlx.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-nVRissv6.js";
6
+ import { s as se } from "../../../Rail-XT5PwAlx.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-nVRissv6.js";
1
+ import { R as o } from "../../../Rail-XT5PwAlx.js";
2
2
  import { Scrollable as e } from "./Scrollable.js";
3
3
  import { VirtualScrollable as f } from "./VirtualScrollable.js";
4
4
  export {
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { LinkBaseProps } from './Link';
3
+
4
+ export type LinkProps = React.ButtonHTMLAttributes<HTMLButtonElement> & LinkBaseProps & {
5
+ type?: HTMLButtonElement['type'];
6
+ };
7
+ declare function ButtonLink(props: LinkProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: React.MemoExoticComponent<typeof ButtonLink>;
9
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { getLinkClassName as i } from "./Link.js";
4
+ function l(t) {
5
+ const {
6
+ className: c,
7
+ children: o,
8
+ type: a = "button",
9
+ disabled: e = !1,
10
+ ...s
11
+ } = t, n = i(t);
12
+ return /* @__PURE__ */ r(
13
+ "button",
14
+ {
15
+ ...s,
16
+ className: n,
17
+ type: a,
18
+ "aria-disabled": e,
19
+ children: o
20
+ }
21
+ );
22
+ }
23
+ const b = m.memo(l);
24
+ export {
25
+ b as default
26
+ };
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface LinkBaseProps {
4
+ className?: string;
5
+ disabled?: boolean;
6
+ unstyled?: boolean;
7
+ theme?: 'default' | 'secondary';
8
+ }
9
+ export declare function getLinkClassName(props: LinkBaseProps): string;
10
+ export type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & LinkBaseProps;
11
+ declare function Link(props: LinkProps): import("react/jsx-runtime").JSX.Element;
12
+ declare const _default: React.MemoExoticComponent<typeof Link>;
13
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import { clsx as d } from "../../utils/clsx.js";
4
+ const u = "_unsetAll_6pbf7_1", f = "_root_6pbf7_5", i = "_unstyled_6pbf7_30", m = "_secondary_6pbf7_33", s = {
5
+ unsetAll: u,
6
+ root: f,
7
+ unstyled: i,
8
+ secondary: m
9
+ };
10
+ function _(t) {
11
+ const {
12
+ className: n,
13
+ disabled: e = !1,
14
+ unstyled: o = !1,
15
+ theme: l = "default"
16
+ } = t;
17
+ return d(s.unsetAll, s.root, s[l], {
18
+ [s.disabled]: e,
19
+ [s.unstyled]: o
20
+ }, n);
21
+ }
22
+ function y(t) {
23
+ const {
24
+ className: n,
25
+ children: e,
26
+ disabled: o = !1,
27
+ ...l
28
+ } = t, a = _(t);
29
+ return /* @__PURE__ */ r("a", { ...l, "aria-disabled": o, className: a, children: e });
30
+ }
31
+ const A = c.memo(y);
32
+ export {
33
+ A as default,
34
+ _ as getLinkClassName
35
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare function LinkShowcase(): import("react/jsx-runtime").JSX.Element;
4
+ declare const _default: React.MemoExoticComponent<typeof LinkShowcase>;
5
+ export default _default;
@@ -0,0 +1,62 @@
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
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 l from "./ButtonLink.js";
6
+ import t from "./Link.js";
7
+ function c() {
8
+ return /* @__PURE__ */ i(n, { gap: "large", vertical: !0, children: [
9
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
10
+ /* @__PURE__ */ e(r, { children: "Theme Default" }),
11
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", children: "Link active" }) }),
12
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", disabled: !0, children: "Link disable" }) }),
13
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", unstyled: !0, children: "Link unstyled" }) })
14
+ ] }),
15
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
16
+ /* @__PURE__ */ e(r, { children: "Theme secondary" }),
17
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", theme: "secondary", children: "Link active" }) }),
18
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { href: "/", theme: "secondary", disabled: !0, children: "Link disable" }) })
19
+ ] }),
20
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
21
+ /* @__PURE__ */ e(r, { children: "ButtonLink - look like link but its button" }),
22
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { children: "Link active" }) }),
23
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { disabled: !0, children: "Link disable" }) })
24
+ ] }),
25
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
26
+ /* @__PURE__ */ e(r, { children: "Inside text" }),
27
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", children: [
28
+ "Out of link text. ",
29
+ /* @__PURE__ */ e(t, { href: "/", children: "Link text" })
30
+ ] }) })
31
+ ] }),
32
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
33
+ /* @__PURE__ */ e(r, { children: "Inside typographic text" }),
34
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", typographic: !0, children: [
35
+ "Out of link text. ",
36
+ /* @__PURE__ */ e(t, { href: "/", children: "Link text" })
37
+ ] }) })
38
+ ] }),
39
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
40
+ /* @__PURE__ */ e(r, { children: "Row a tag" }),
41
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("a", { href: "/", children: "Link text" }) })
42
+ ] }),
43
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
44
+ /* @__PURE__ */ e(r, { children: "Row a in text" }),
45
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", children: [
46
+ "Out of link text. ",
47
+ /* @__PURE__ */ e("a", { href: "/", children: "Link text" })
48
+ ] }) })
49
+ ] }),
50
+ /* @__PURE__ */ i(n, { gap: "normal", vertical: !0, children: [
51
+ /* @__PURE__ */ e(r, { children: "Row a in typographic text" }),
52
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ i(r, { size: "large", as: "h2", typographic: !0, children: [
53
+ "Out of link text. ",
54
+ /* @__PURE__ */ e("a", { href: "/", children: "Link text" })
55
+ ] }) })
56
+ ] })
57
+ ] });
58
+ }
59
+ const f = d.memo(c);
60
+ export {
61
+ f as default
62
+ };
@@ -0,0 +1,3 @@
1
+ export { default as Link, getLinkClassName } from './Link';
2
+ export { default as ButtonLink } from './ButtonLink';
3
+ export type { LinkBaseProps, LinkProps } from './Link';
@@ -0,0 +1,7 @@
1
+ import { default as e, getLinkClassName as o } from "./Link.js";
2
+ import { default as n } from "./ButtonLink.js";
3
+ export {
4
+ n as ButtonLink,
5
+ e as Link,
6
+ o as getLinkClassName
7
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { clsx as m } from "../../utils/clsx.js";
4
- import '../../assets/Loaf.css';const n = "_root_gg27t_1", f = "_bright_gg27t_14", o = {
4
+ const n = "_root_gg27t_1", f = "_bright_gg27t_14", o = {
5
5
  root: n,
6
6
  "color-normal": "_color-normal_gg27t_10",
7
7
  bright: f,
@@ -1,60 +1,60 @@
1
- import { jsxs as i, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
2
  import N from "react";
3
3
  import "../Button/Button.js";
4
4
  import { ButtonBar as k } from "../Button/ButtonBar.js";
5
5
  import "../Button/LinkButton.js";
6
6
  import y from "../IconButton/IconButton.js";
7
7
  import { Overlay as c } from "../Overlay/Overlay.js";
8
- import { Text as d } from "../Text/Text.js";
9
- import { clsx as s } from "../../utils/clsx.js";
8
+ import { Text as m } from "../Text/Text.js";
9
+ import { clsx as l } from "../../utils/clsx.js";
10
10
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
11
- import { useKeyboardClose as w } from "../../utils/hooks/useKeyboardClose.js";
11
+ import { useKeyboardClose as z } from "../../utils/hooks/useKeyboardClose.js";
12
12
  import "../../index-2hJuj4UN.js";
13
- import '../../assets/Modal.css';const B = "_root_lmrwf_1", v = "_close_lmrwf_36", x = "_header_lmrwf_42", g = "_footer_lmrwf_52", r = {
13
+ const B = "_root_zn44h_1", v = "_close_zn44h_37", x = "_header_zn44h_43", g = "_footer_zn44h_53", r = {
14
14
  root: B,
15
- "modal-appearance": "_modal-appearance_lmrwf_1",
15
+ "modal-appearance": "_modal-appearance_zn44h_1",
16
16
  close: v,
17
17
  header: x,
18
18
  footer: g
19
19
  };
20
- function f(t) {
20
+ function p(t) {
21
21
  const {
22
22
  onClose: e,
23
- children: l,
23
+ children: s,
24
24
  className: o,
25
- overlayClassName: p,
26
- backdropClassName: _,
27
- contentClassName: b,
28
- ariaDescribedby: h,
25
+ overlayClassName: f,
26
+ backdropClassName: h,
27
+ contentClassName: _,
28
+ ariaDescribedby: b,
29
29
  ariaLabelledby: u,
30
- disableBackdropClose: n = !1,
30
+ disableBackdropClose: i = !1,
31
31
  disableFocusLock: C = !1
32
- } = t, m = N.useCallback(() => {
33
- n || !e || e();
34
- }, [e, n]);
35
- return w(m), /* @__PURE__ */ i(c, { className: s(r.overlay, p), children: [
32
+ } = t, d = N.useCallback(() => {
33
+ i || !e || e();
34
+ }, [e, i]);
35
+ return z(d), /* @__PURE__ */ n(c, { className: l(r.overlay, f), children: [
36
36
  /* @__PURE__ */ a(
37
37
  c.Backdrop,
38
38
  {
39
- onClick: m,
40
- className: s(r.backdrop, _)
39
+ onClick: d,
40
+ className: l(r.backdrop, h)
41
41
  }
42
42
  ),
43
43
  /* @__PURE__ */ a(
44
44
  c.Content,
45
45
  {
46
- className: b,
46
+ className: _,
47
47
  disableFocusLock: C,
48
- children: /* @__PURE__ */ i(
48
+ children: /* @__PURE__ */ n(
49
49
  "div",
50
50
  {
51
51
  role: "dialog",
52
- "aria-describedby": h,
52
+ "aria-describedby": b,
53
53
  "aria-labelledby": u,
54
- className: s(r.root, o),
54
+ className: l(r.root, o),
55
55
  children: [
56
56
  !!e && /* @__PURE__ */ a(y, { areaSize: "large", className: r.close, name: "Close", onClick: e }),
57
- l
57
+ s
58
58
  ]
59
59
  }
60
60
  )
@@ -62,22 +62,22 @@ function f(t) {
62
62
  )
63
63
  ] });
64
64
  }
65
- f.Header = function(e) {
65
+ p.Header = function(e) {
66
66
  const {
67
- title: l,
67
+ title: s,
68
68
  description: o
69
69
  } = e;
70
- return /* @__PURE__ */ i("div", { className: r.header, children: [
70
+ return /* @__PURE__ */ n("div", { className: r.header, children: [
71
71
  /* @__PURE__ */ a(
72
- d,
72
+ m,
73
73
  {
74
74
  weight: "bold",
75
75
  size: "large",
76
- children: l
76
+ children: s
77
77
  }
78
78
  ),
79
79
  o && /* @__PURE__ */ a(
80
- d,
80
+ m,
81
81
  {
82
82
  size: "small",
83
83
  color: "secondary",
@@ -86,13 +86,13 @@ f.Header = function(e) {
86
86
  )
87
87
  ] });
88
88
  };
89
- f.Footer = function(e) {
89
+ p.Footer = function(e) {
90
90
  const {
91
- className: l,
91
+ className: s,
92
92
  ...o
93
93
  } = e;
94
- return /* @__PURE__ */ a(k, { ...o, className: s(r.footer, l) });
94
+ return /* @__PURE__ */ a(k, { ...o, className: l(r.footer, s) });
95
95
  };
96
96
  export {
97
- f as Modal
97
+ p as Modal
98
98
  };
@@ -4,7 +4,7 @@ import { Interactive as d } from "../Interactive/Interactive.js";
4
4
  import { clsx as _ } from "../../utils/clsx.js";
5
5
  import { noop as f } from "../../utils/functional.js";
6
6
  import { getValue as i } from "../../utils/getValue.js";
7
- import '../../assets/NavList.css';const p = "_root_u7cv2_1", u = "_item_u7cv2_5", N = "_active_u7cv2_20", h = "_icon_u7cv2_30", c = {
7
+ const p = "_root_u7cv2_1", u = "_item_u7cv2_5", N = "_active_u7cv2_20", h = "_icon_u7cv2_30", c = {
8
8
  root: p,
9
9
  item: u,
10
10
  active: N,
@@ -6,7 +6,7 @@ import { clsx as n } from "../../utils/clsx.js";
6
6
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
7
7
  import "../../utils/hooks/useKeyboardClose.js";
8
8
  import { useOutlet as _ } from "../../utils/hooks/useOutlet.js";
9
- import '../../assets/Overlay.css';const f = "_root_17xdt_1", p = "_backdrop_17xdt_9", u = "_content_17xdt_27", a = {
9
+ const f = "_root_17xdt_1", p = "_backdrop_17xdt_9", u = "_content_17xdt_27", a = {
10
10
  root: f,
11
11
  backdrop: p,
12
12
  "backdrop-appearance": "_backdrop-appearance_17xdt_1",
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as u } from "react/jsx-runtime";
2
2
  import N from "react";
3
3
  import { Interactive as x } from "../Interactive/Interactive.js";
4
4
  import { clsx as t } from "../../utils/clsx.js";
5
- import '../../assets/Popover.css';const C = "_root_3gp1h_1", w = "_active_3gp1h_4", M = "_popover_3gp1h_4", P = "_appearance_3gp1h_1", o = {
5
+ const C = "_root_3gp1h_1", w = "_active_3gp1h_4", M = "_popover_3gp1h_4", P = "_appearance_3gp1h_1", o = {
6
6
  root: C,
7
7
  active: w,
8
8
  popover: M,
@@ -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 { Popover as l } from "./Popover.js";
11
- import '../../assets/PopoverShowcase.css';const v = "_popover_1s88x_1", u = {
11
+ const v = "_popover_1s88x_1", u = {
12
12
  popover: v
13
13
  };
14
14
  function c() {
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import a from "react";
3
3
  import { Title as m } from "../Title/Title.js";
4
4
  import { clsx as s } from "../../utils/clsx.js";
5
- import '../../assets/PremiumBadge.css';const g = "_root_137v5_1", c = {
5
+ const g = "_root_137v5_1", c = {
6
6
  root: g
7
7
  }, t = {
8
8
  ag: {
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import '../../assets/Prose.css';const r = "_root_n8l9t_1", s = {
2
+ const r = "_root_n8l9t_1", s = {
3
3
  root: r
4
4
  };
5
5
  function c({
@@ -1,7 +1,7 @@
1
1
  import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
2
  import s from "react";
3
3
  import { clsx as h } from "../../utils/clsx.js";
4
- import '../../assets/Radio.css';const u = "_root_1yglr_1", p = "_indicator_1yglr_29", x = "_disabled_1yglr_44", e = {
4
+ const u = "_root_1yglr_1", p = "_indicator_1yglr_29", x = "_disabled_1yglr_44", e = {
5
5
  root: u,
6
6
  "size-normal": "_size-normal_1yglr_19",
7
7
  "size-large": "_size-large_1yglr_22",
@@ -7,7 +7,7 @@ import { f as fn, _ as xe, c as Io } from "../../tslib.es6-CBKHJX9H.js";
7
7
  import { a as _o, u as Mo } from "../../medium-JVtzoF2c.js";
8
8
  import { Icon as Lo } from "../Icon/Icon.js";
9
9
  import { clsx as Vt } from "../../utils/clsx.js";
10
- import '../../assets/Select.css';var pn = function(e) {
10
+ var pn = function(e) {
11
11
  var t = e.sideCar, n = fn(e, ["sideCar"]);
12
12
  if (!t)
13
13
  throw new Error("Sidecar: please provide `sideCar` property to import the right car");
@@ -1,6 +1,6 @@
1
1
  import { jsxs as _, jsx as t } from "react/jsx-runtime";
2
2
  import { clsx as l } from "../../utils/clsx.js";
3
- import '../../assets/Separator.css';const p = "_root_dsunb_1", i = "_separator_dsunb_4", c = "_content_dsunb_42", d = "_thin_dsunb_45", m = "_vertical_dsunb_51", u = "_text_dsunb_98", s = {
3
+ const p = "_root_dsunb_1", i = "_separator_dsunb_4", c = "_content_dsunb_42", d = "_thin_dsunb_45", m = "_vertical_dsunb_51", u = "_text_dsunb_98", s = {
4
4
  root: p,
5
5
  "separator-offset-none": "_separator-offset-none_dsunb_4",
6
6
  "separator-offset-hairthin": "_separator-offset-hairthin_dsunb_7",
@@ -6,7 +6,7 @@ import "../../utils/hooks/useGlobalKeyboardEvent.js";
6
6
  import "../../utils/hooks/useKeyboardClose.js";
7
7
  import { useWindowResize as v } from "../../utils/hooks/useWindowResize.js";
8
8
  import { useOutlet as x } from "../../utils/hooks/useOutlet.js";
9
- import '../../assets/Shroud.css';const b = "_root_7v6x1_1", g = "_tile_7v6x1_6", e = {
9
+ const b = "_root_7v6x1_1", g = "_tile_7v6x1_6", e = {
10
10
  root: b,
11
11
  tile: g
12
12
  }, P = r.forwardRef(function(c, n) {
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import n from "react";
3
3
  import { TextSizeEnum as l } from "../Text/Text.types.js";
4
- import '../../assets/Skeleton.css';const r = "_skeleton_fx7ao_1", i = "_shimmer_fx7ao_1", f = {
4
+ const r = "_skeleton_fx7ao_1", i = "_shimmer_fx7ao_1", f = {
5
5
  skeleton: r,
6
6
  shimmer: i
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { clsx as l } from "../../utils/clsx.js";
3
- import '../../assets/Spacer.css';const r = "_root_x8a9c_1", z = "_horizontal_x8a9c_1", c = "_vertical_x8a9c_37", e = {
3
+ const r = "_root_x8a9c_1", z = "_horizontal_x8a9c_1", c = "_vertical_x8a9c_37", e = {
4
4
  root: r,
5
5
  horizontal: z,
6
6
  "size-none": "_size-none_x8a9c_4",
@@ -3,7 +3,7 @@ import * as a from "react";
3
3
  import U from "react";
4
4
  import { c as B, u as H, a as I, P as _, b as M, d as j, e as q } from "../../index-CjWRnNpt.js";
5
5
  import { clsx as C } from "../../utils/clsx.js";
6
- import '../../assets/Switch.css';var S = "Switch", [z, Y] = B(S), [A, O] = z(S), P = a.forwardRef(
6
+ var S = "Switch", [z, Y] = B(S), [A, O] = z(S), P = a.forwardRef(
7
7
  (t, s) => {
8
8
  const {
9
9
  __scopeSwitch: e,
@@ -27,6 +27,7 @@ export interface TableProps {
27
27
  sortBy?: string;
28
28
  sortOrder?: 'asc' | 'desc';
29
29
  onSortChange?: (sortBy: string, sortOrder: 'asc' | 'desc') => void;
30
+ className?: string;
30
31
  }
31
- export declare function Table({ headers, data, includeRadio, loading, onSelectChange, dataContainer, selectedRow: outerSelectedRow, sortBy: outerSortBy, sortOrder: outerSortOrder, onSortChange, }: TableProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function Table({ headers, data, includeRadio, loading, onSelectChange, dataContainer, selectedRow: outerSelectedRow, sortBy: outerSortBy, sortOrder: outerSortOrder, onSortChange, className, }: TableProps): import("react/jsx-runtime").JSX.Element;
32
33
  export {};