@tcn/ui 0.3.0 → 0.3.1

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 (127) hide show
  1. package/dist/Color-ASIRERSW-B4GaVKuQ.js +990 -0
  2. package/dist/Color-ASIRERSW-B4GaVKuQ.js.map +1 -0
  3. package/dist/WithTooltip-IO6J4KBT-B1oq93K5.js +1485 -0
  4. package/dist/WithTooltip-IO6J4KBT-B1oq93K5.js.map +1 -0
  5. package/dist/actions/__docs__/components/gallery.d.ts +8 -0
  6. package/dist/actions/__docs__/components/gallery.d.ts.map +1 -0
  7. package/dist/actions/__docs__/components/gallery.js +20 -0
  8. package/dist/actions/__docs__/components/gallery.js.map +1 -0
  9. package/dist/actions/__docs__/components/showcase.d.ts +27 -0
  10. package/dist/actions/__docs__/components/showcase.d.ts.map +1 -0
  11. package/dist/actions/__docs__/components/showcase.js +15 -0
  12. package/dist/actions/__docs__/components/showcase.js.map +1 -0
  13. package/dist/actions/button/base_button/base_button.d.ts +2 -0
  14. package/dist/actions/button/base_button/base_button.d.ts.map +1 -1
  15. package/dist/actions/button/base_button/base_button.js +18 -16
  16. package/dist/actions/button/base_button/base_button.js.map +1 -1
  17. package/dist/actions/button/button/button.js +6 -6
  18. package/dist/actions/button/button_group/button_group.js +1 -1
  19. package/dist/actions/button/select_group/select_group.js +13 -13
  20. package/dist/actions/button/select_group/single_select_group.js +6 -6
  21. package/dist/actions/button/slim_button/slim_button.js +2 -2
  22. package/dist/actions/types.d.ts +2 -0
  23. package/dist/actions/types.d.ts.map +1 -0
  24. package/dist/actions/types.js +2 -0
  25. package/dist/actions/types.js.map +1 -0
  26. package/dist/feedback/loading/loading.js +12 -12
  27. package/dist/feedback/loading/loading.js.map +1 -1
  28. package/dist/feedback/progress/progress_bar.js +1 -1
  29. package/dist/form/field/common/field_control/field_control.js +8 -8
  30. package/dist/form/field/common/status_input/status_input.js +6 -6
  31. package/dist/form/field/field.js +5 -5
  32. package/dist/form/field/h_field/h_field.js +11 -11
  33. package/dist/form/field/v_field/v_field.js +10 -10
  34. package/dist/form/field_set/field_set.js +3 -3
  35. package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js +6 -0
  36. package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js.map +1 -0
  37. package/dist/gallery.css +1 -0
  38. package/dist/inputs/checkbox/checkbox.js +11 -11
  39. package/dist/inputs/color_input/color_picker.js +5 -5
  40. package/dist/inputs/combo_box/combo_box.js +16 -16
  41. package/dist/inputs/date_picker/date_picker.js +18 -18
  42. package/dist/inputs/date_picker/date_picker_body.js +2 -2
  43. package/dist/inputs/date_picker/date_picker_input.js +18 -18
  44. package/dist/inputs/input/input.js +5 -5
  45. package/dist/inputs/mask_input/key_capture_input.js +7 -7
  46. package/dist/inputs/mask_input/mask_input.js +4 -4
  47. package/dist/inputs/multi_combo_box/multi_combo_box.js +17 -17
  48. package/dist/inputs/multiselect/multiselect.js +13 -13
  49. package/dist/inputs/multiselect/multiselect_row.js +8 -8
  50. package/dist/inputs/phone_number_input/phone_number_input.js +11 -11
  51. package/dist/inputs/radio/radio.js +10 -10
  52. package/dist/inputs/radio/radio_row.js +3 -3
  53. package/dist/inputs/select/select.js +14 -14
  54. package/dist/inputs/slider/slider.js +10 -10
  55. package/dist/inputs/switch/switch.js +4 -4
  56. package/dist/inputs/textarea/textarea.js +7 -7
  57. package/dist/inputs/unit_input/unit_input.js +4 -4
  58. package/dist/layouts/body/h_body.js +7 -7
  59. package/dist/layouts/body/v_body.js +6 -6
  60. package/dist/layouts/column/column.js +17 -17
  61. package/dist/layouts/footer/footer.js +7 -7
  62. package/dist/layouts/grid/grid.js +24 -24
  63. package/dist/layouts/header/header.js +2 -2
  64. package/dist/layouts/list/item.js +2 -2
  65. package/dist/layouts/list/list.js +7 -7
  66. package/dist/layouts/list/section_header.js +6 -6
  67. package/dist/layouts/scaffold/scaffold.js +16 -16
  68. package/dist/layouts/sidebar_end/sidebar_end.js +14 -14
  69. package/dist/layouts/sidebar_start/sidebar_start.js +10 -10
  70. package/dist/layouts/utility_bar/utility_bar.js +10 -10
  71. package/dist/overlay/frame/frame.js +4 -4
  72. package/dist/overlay/menu/menu.js +34 -34
  73. package/dist/overlay/portal/portal_platform_context.js +4 -4
  74. package/dist/showcase-WfP6kBEb.js +58401 -0
  75. package/dist/showcase-WfP6kBEb.js.map +1 -0
  76. package/dist/showcase.css +1 -0
  77. package/dist/stacks/box/box.js +23 -23
  78. package/dist/stacks/h_collapsible_box.js +2 -2
  79. package/dist/stacks/h_stack.js +41 -41
  80. package/dist/stacks/spacer.js +11 -11
  81. package/dist/stacks/story_components/circle.js +10 -10
  82. package/dist/stacks/story_components/picture_placeholder.js +9 -9
  83. package/dist/stacks/story_components/rect.js +7 -7
  84. package/dist/stacks/story_components/style_box.js +4 -4
  85. package/dist/stacks/utils/use_is_collapsed.js +6 -6
  86. package/dist/stacks/v_collapsible_box.js +2 -2
  87. package/dist/stacks/v_stack.js +42 -42
  88. package/dist/stacks/z_stack.js +39 -39
  89. package/dist/surfaces/alert/alert.js +4 -4
  90. package/dist/surfaces/card/card.js +4 -4
  91. package/dist/surfaces/confirm/confirm.js +9 -9
  92. package/dist/surfaces/drawers/drawer_start/drawer_start.js +2 -2
  93. package/dist/surfaces/drawers/drawer_top/drawer_top.js +2 -2
  94. package/dist/surfaces/modal/modal.js +5 -5
  95. package/dist/surfaces/page/h_page.js +7 -7
  96. package/dist/surfaces/page/v_page.js +5 -5
  97. package/dist/surfaces/panel/h_panel.js +14 -14
  98. package/dist/surfaces/panel/v_panel.js +9 -9
  99. package/dist/surfaces/pop_confirm/pop_confirm.js +6 -6
  100. package/dist/surfaces/popconfirm/pop_confirm.js +8 -8
  101. package/dist/surfaces/tooltip/tooltip.js +8 -8
  102. package/dist/surfaces/window/window.js +9 -9
  103. package/dist/syntaxhighlighter-IQDEPFLK-BX_eF8__.js +3777 -0
  104. package/dist/syntaxhighlighter-IQDEPFLK-BX_eF8__.js.map +1 -0
  105. package/dist/themes/themes/ergo/ergo_theme.js +33 -1
  106. package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
  107. package/dist/tokens/badge/badge.js +9 -9
  108. package/dist/tokens/bubble/bubble.js +8 -8
  109. package/dist/tokens/chip/chip.js +3 -3
  110. package/dist/utils/click_away_listener.js +10 -10
  111. package/dist/utils/click_away_listener.js.map +1 -1
  112. package/dist/utils/dnd/draggable/draggable.js +4 -4
  113. package/dist/utils/dnd/handle.js +8 -8
  114. package/dist/utils/focus_redirect.js +5 -5
  115. package/dist/utils/hooks/make_context_hook.js +4 -4
  116. package/dist/utils/hooks/use_media_query.js +2 -2
  117. package/dist/utils/hooks/use_media_query.js.map +1 -1
  118. package/package.json +1 -1
  119. package/src/actions/__docs__/actions.mdx +131 -0
  120. package/src/actions/__docs__/actions.stories.tsx +309 -0
  121. package/src/actions/__docs__/components/gallery.module.css +6 -0
  122. package/src/actions/__docs__/components/gallery.tsx +28 -0
  123. package/src/actions/__docs__/components/showcase.module.css +55 -0
  124. package/src/actions/__docs__/components/showcase.tsx +121 -0
  125. package/src/actions/button/base_button/base_button.tsx +5 -1
  126. package/src/actions/types.ts +6 -0
  127. package/src/themes/themes/ergo/ergo_theme.css +33 -1
@@ -1,10 +1,10 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { clsx as E } from "clsx";
3
- import F from "react";
4
- import { removeUndefinedProperties as G } from "./utils/remove_undefined_properties.js";
5
- import { s as H } from "../stack.module-CBV1f12Z.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { clsx as D } from "clsx";
3
+ import E from "react";
4
+ import { removeUndefinedProperties as F } from "./utils/remove_undefined_properties.js";
5
+ import { s as G } from "../stack.module-CBV1f12Z.js";
6
6
  import { isCustomSizeProp as r } from "./utils/isCustomSizeProp.js";
7
- const T = F.forwardRef(function({
7
+ const Q = E.forwardRef(function({
8
8
  as: s = "div",
9
9
  children: t,
10
10
  style: i,
@@ -12,14 +12,14 @@ const T = F.forwardRef(function({
12
12
  vAlign: m = "center",
13
13
  inline: f,
14
14
  width: e = "default",
15
- minWidth: c,
16
- maxWidth: d,
17
- height: o = "default",
15
+ minWidth: d,
16
+ maxWidth: c,
17
+ height: a = "default",
18
18
  minHeight: l,
19
19
  maxHeight: p,
20
- growWeight: g,
21
- shrinkWeight: k,
22
- padding: u,
20
+ growWeight: u,
21
+ shrinkWeight: g,
22
+ padding: k,
23
23
  paddingBlock: v,
24
24
  paddingInline: y,
25
25
  paddingInlineStart: S,
@@ -31,25 +31,25 @@ const T = F.forwardRef(function({
31
31
  marginInline: R,
32
32
  marginInlineStart: W,
33
33
  marginInlineEnd: Z,
34
- marginTop: j,
35
- marginBottom: A,
36
- zIndex: B,
37
- className: C,
38
- overflow: N,
39
- ...U
40
- }, b) {
41
- const q = s, D = {
42
- minWidth: c,
34
+ marginTop: _,
35
+ marginBottom: j,
36
+ zIndex: A,
37
+ className: B,
38
+ overflow: C,
39
+ ...N
40
+ }, U) {
41
+ const b = s, q = {
42
+ minWidth: d,
43
43
  width: r(e) ? void 0 : e,
44
- maxWidth: d,
44
+ maxWidth: c,
45
45
  minHeight: l,
46
- height: r(o) ? void 0 : o,
46
+ height: r(a) ? void 0 : a,
47
47
  maxHeight: p,
48
- flexGrow: g,
49
- flexShrink: k,
50
- zIndex: B,
51
- overflow: N,
52
- padding: u,
48
+ flexGrow: u,
49
+ flexShrink: g,
50
+ zIndex: A,
51
+ overflow: C,
52
+ padding: k,
53
53
  paddingBlock: v,
54
54
  paddingInline: y,
55
55
  paddingInlineStart: S,
@@ -61,29 +61,29 @@ const T = F.forwardRef(function({
61
61
  marginInline: R,
62
62
  marginInlineStart: W,
63
63
  marginInlineEnd: Z,
64
- marginTop: j,
65
- marginBottom: A
64
+ marginTop: _,
65
+ marginBottom: j
66
66
  };
67
- return /* @__PURE__ */ a(
68
- q,
67
+ return /* @__PURE__ */ o(
68
+ b,
69
69
  {
70
- ref: b,
70
+ ref: U,
71
71
  style: {
72
- ...G(D),
72
+ ...F(q),
73
73
  ...i
74
74
  },
75
- className: E(H["z-stack"], C, "z-stack", "stack"),
75
+ className: D(G["z-stack"], B, "z-stack", "stack"),
76
76
  "data-inline": !!f,
77
77
  "data-v-alignment": m,
78
78
  "data-h-alignment": n,
79
- "data-height": o,
79
+ "data-height": a,
80
80
  "data-width": e,
81
- ...U,
82
- children: typeof t == "string" ? /* @__PURE__ */ a("span", { children: t }) : t
81
+ ...N,
82
+ children: typeof t == "string" ? /* @__PURE__ */ o("span", { children: t }) : t
83
83
  }
84
84
  );
85
85
  });
86
86
  export {
87
- T as ZStack
87
+ Q as ZStack
88
88
  };
89
89
  //# sourceMappingURL=z_stack.js.map
@@ -4,18 +4,18 @@ import e from "react";
4
4
  import "../../actions/button/base_button/base_button.js";
5
5
  import "../../actions/button/button_group/button_group.js";
6
6
  import "../../actions/button/slim_button/slim_button.js";
7
- import { Button as c } from "../../actions/button/button/button.js";
7
+ import { Button as f } from "../../actions/button/button/button.js";
8
8
  import "../../actions/button/select_group/select_group.js";
9
9
  import "../../actions/button/select_group/single_select_group.js";
10
- import { Confirm as f } from "../confirm/confirm.js";
10
+ import { Confirm as a } from "../confirm/confirm.js";
11
11
  const C = e.forwardRef(function({ className: o, onAccept: t, ...i }, m) {
12
12
  return /* @__PURE__ */ r(
13
- f,
13
+ a,
14
14
  {
15
15
  ref: m,
16
16
  className: p(o, "alert"),
17
17
  ...i,
18
- actions: /* @__PURE__ */ r(c, { onClick: t, hierarchy: "primary", width: "100%", children: "OK" })
18
+ actions: /* @__PURE__ */ r(f, { onClick: t, hierarchy: "primary", width: "100%", children: "OK" })
19
19
  }
20
20
  );
21
21
  });
@@ -1,9 +1,9 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { clsx as a } from "clsx";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { clsx as c } from "clsx";
3
3
  import m from "react";
4
4
  import { Scaffold as e } from "../../layouts/scaffold/scaffold.js";
5
- const l = m.forwardRef(function({ children: r, className: o, ...t }, c) {
6
- return /* @__PURE__ */ f(e, { ref: c, className: a(o, "tcn-surface", "tcn-card"), ...t, children: r });
5
+ const l = m.forwardRef(function({ children: r, className: o, ...t }, f) {
6
+ return /* @__PURE__ */ a(e, { ref: f, className: c(o, "tcn-surface", "tcn-card"), ...t, children: r });
7
7
  });
8
8
  export {
9
9
  l as Card
@@ -1,4 +1,4 @@
1
- import { jsx as r, Fragment as _, jsxs as i } from "react/jsx-runtime";
1
+ import { jsx as r, Fragment as y, jsxs as i } from "react/jsx-runtime";
2
2
  import w, { useRef as S, useState as C, useLayoutEffect as n } from "react";
3
3
  import { clsx as s } from "clsx";
4
4
  import { Spacer as N } from "../../stacks/spacer.js";
@@ -18,8 +18,8 @@ import '../../confirm.css';const v = "_confirm_e53f865", z = "_shake_d5d9154", A
18
18
  graphic: f,
19
19
  title: h,
20
20
  description: l,
21
- actions: p,
22
- veilProps: d,
21
+ actions: d,
22
+ veilProps: p,
23
23
  className: u,
24
24
  ...k
25
25
  }, x) {
@@ -28,17 +28,17 @@ import '../../confirm.css';const v = "_confirm_e53f865", z = "_shake_d5d9154", A
28
28
  t.current = !1;
29
29
  }), []), n(() => {
30
30
  if (e && t.current) {
31
- const y = window.setTimeout(() => {
31
+ const g = window.setTimeout(() => {
32
32
  o(!1);
33
33
  }, 600);
34
- return () => window.clearTimeout(y);
34
+ return () => window.clearTimeout(g);
35
35
  }
36
36
  }, [e]);
37
- function g() {
37
+ function _() {
38
38
  o(!0);
39
39
  }
40
- return /* @__PURE__ */ r(_, { children: a && /* @__PURE__ */ r(j, { children: /* @__PURE__ */ i(R, { height: "100%", style: { position: "fixed" }, children: [
41
- /* @__PURE__ */ r(c, { onClick: g, ...d, height: "100%" }),
40
+ return /* @__PURE__ */ r(y, { children: a && /* @__PURE__ */ r(j, { children: /* @__PURE__ */ i(R, { height: "100%", style: { position: "fixed" }, children: [
41
+ /* @__PURE__ */ r(c, { onClick: _, ...p, height: "100%" }),
42
42
  /* @__PURE__ */ r(
43
43
  "div",
44
44
  {
@@ -51,7 +51,7 @@ import '../../confirm.css';const v = "_confirm_e53f865", z = "_shake_d5d9154", A
51
51
  /* @__PURE__ */ r(b, { className: "confirm-title", emphasis: "strong", size: "sm", children: h }),
52
52
  /* @__PURE__ */ r(B, { className: "confirm-description", hierarchy: "tertiary", children: l }),
53
53
  /* @__PURE__ */ r(N, { height: "16px" }),
54
- /* @__PURE__ */ r(c, { className: s(m.actions, "confirm-actions"), height: "auto", children: p })
54
+ /* @__PURE__ */ r(c, { className: s(m.actions, "confirm-actions"), height: "auto", children: d })
55
55
  ] })
56
56
  }
57
57
  )
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { VStack as s } from "../../../stacks/v_stack.js";
3
3
  import { clsx as c } from "clsx";
4
- import m from "react";
5
- import '../../../drawer_start.css';const f = "_drawerStart_3abbf56", n = { drawerStart: f }, l = m.forwardRef(
4
+ import f from "react";
5
+ import '../../../drawer_start.css';const m = "_drawerStart_3abbf56", n = { drawerStart: m }, l = f.forwardRef(
6
6
  function({ children: r, className: t, ...a }, o) {
7
7
  return /* @__PURE__ */ e(
8
8
  s,
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { VStack as m } from "../../../stacks/v_stack.js";
3
3
  import { clsx as s } from "clsx";
4
4
  import c from "react";
5
- import '../../../drawer_top.css';const p = "_drawerBottom_7a0635a", f = { drawerBottom: p }, l = c.forwardRef(function({ children: r, className: o, ...t }, a) {
5
+ import '../../../drawer_top.css';const p = "_drawerBottom_7a0635a", f = { drawerBottom: p }, T = c.forwardRef(function({ children: r, className: o, ...t }, a) {
6
6
  return /* @__PURE__ */ e(
7
7
  m,
8
8
  {
@@ -15,6 +15,6 @@ import '../../../drawer_top.css';const p = "_drawerBottom_7a0635a", f = { drawer
15
15
  );
16
16
  });
17
17
  export {
18
- l as DrawerTop
18
+ T as DrawerTop
19
19
  };
20
20
  //# sourceMappingURL=drawer_top.js.map
@@ -3,15 +3,15 @@ import { clsx as l } from "clsx";
3
3
  import s from "react";
4
4
  import { Frame as d } from "../../overlay/frame/frame.js";
5
5
  import { Scaffold as n } from "../../layouts/scaffold/scaffold.js";
6
- import '../../modal.css';const i = "_modal_473c6ef", p = { modal: i }, j = s.forwardRef(function({ children: r, className: m, isOpen: t, draggable: a = !1, veil: c = !0, ...f }, e) {
6
+ import '../../modal.css';const i = "_modal_473c6ef", p = { modal: i }, j = s.forwardRef(function({ children: r, className: t, isOpen: m, draggable: a = !1, veil: f = !0, ...c }, e) {
7
7
  return /* @__PURE__ */ o(
8
8
  d,
9
9
  {
10
- isOpen: t,
10
+ isOpen: m,
11
11
  draggable: a,
12
- veil: c,
13
- className: l(p.modal, "tcn-surface", "tcn-modal", m),
14
- children: /* @__PURE__ */ o(n, { ref: e, ...f, children: r })
12
+ veil: f,
13
+ className: l(p.modal, "tcn-surface", "tcn-modal", t),
14
+ children: /* @__PURE__ */ o(n, { ref: e, ...c, children: r })
15
15
  }
16
16
  );
17
17
  });
@@ -1,22 +1,22 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { clsx as s } from "clsx";
3
- import e from "react";
2
+ import { clsx as e } from "clsx";
3
+ import s from "react";
4
4
  import { s as f } from "../../page.module-DXhph-u6.js";
5
5
  import { HStack as i } from "../../stacks/h_stack.js";
6
- const H = e.forwardRef(function({ children: r, className: o, ...t }, a) {
6
+ const x = s.forwardRef(function({ children: r, className: t, ...a }, o) {
7
7
  return /* @__PURE__ */ m(
8
8
  i,
9
9
  {
10
- ref: a,
10
+ ref: o,
11
11
  as: "main",
12
- className: s(f.page, o, "page"),
12
+ className: e(f.page, t, "page"),
13
13
  vAlign: "start",
14
- ...t,
14
+ ...a,
15
15
  children: r
16
16
  }
17
17
  );
18
18
  });
19
19
  export {
20
- H as HPage
20
+ x as HPage
21
21
  };
22
22
  //# sourceMappingURL=h_page.js.map
@@ -1,13 +1,13 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as m } from "react/jsx-runtime";
2
2
  import { VStack as e } from "../../stacks/v_stack.js";
3
3
  import { clsx as s } from "clsx";
4
4
  import f from "react";
5
5
  import { s as p } from "../../page.module-DXhph-u6.js";
6
- const V = f.forwardRef(function({ children: r, className: o, ...a }, m) {
7
- return /* @__PURE__ */ t(
6
+ const x = f.forwardRef(function({ children: r, className: o, ...a }, t) {
7
+ return /* @__PURE__ */ m(
8
8
  e,
9
9
  {
10
- ref: m,
10
+ ref: t,
11
11
  as: "main",
12
12
  className: s(p.page, o, "page"),
13
13
  ...a,
@@ -16,6 +16,6 @@ const V = f.forwardRef(function({ children: r, className: o, ...a }, m) {
16
16
  );
17
17
  });
18
18
  export {
19
- V as VPage
19
+ x as VPage
20
20
  };
21
21
  //# sourceMappingURL=v_page.js.map
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import i from "react";
2
+ import u from "react";
3
3
  import { clsx as r } from "clsx";
4
- import { Box as u } from "../../stacks/box/box.js";
5
- import { HStack as P } from "../../stacks/h_stack.js";
6
- import '../../h_panel.css';const R = "_panel-stack_f1896f3", f = { "panel-stack": R }, B = i.forwardRef(function({
4
+ import { Box as x } from "../../stacks/box/box.js";
5
+ import { HStack as i } from "../../stacks/h_stack.js";
6
+ import '../../h_panel.css';const P = "_panel-stack_f1896f3", f = { "panel-stack": P }, B = u.forwardRef(function({
7
7
  children: m,
8
8
  width: k,
9
9
  height: d,
@@ -13,13 +13,13 @@ import '../../h_panel.css';const R = "_panel-stack_f1896f3", f = { "panel-stack"
13
13
  maxHeight: e,
14
14
  hAlign: c,
15
15
  vAlign: o = "start",
16
- className: s,
17
- ...x
18
- }, l) {
16
+ className: l,
17
+ ..._
18
+ }, s) {
19
19
  return /* @__PURE__ */ p(
20
- u,
20
+ x,
21
21
  {
22
- ref: l,
22
+ ref: s,
23
23
  width: k,
24
24
  height: d,
25
25
  minWidth: a,
@@ -28,10 +28,10 @@ import '../../h_panel.css';const R = "_panel-stack_f1896f3", f = { "panel-stack"
28
28
  maxHeight: e,
29
29
  "data-h-alignment": c,
30
30
  "data-v-alignment": o,
31
- className: r(f.panel, s, "panel", "tcn-panel", "tcn-h-panel"),
32
- ...x,
31
+ className: r(f.panel, l, "panel", "tcn-panel", "tcn-h-panel"),
32
+ ..._,
33
33
  children: /* @__PURE__ */ p(
34
- P,
34
+ i,
35
35
  {
36
36
  as: "section",
37
37
  minWidth: a,
@@ -40,10 +40,10 @@ import '../../h_panel.css';const R = "_panel-stack_f1896f3", f = { "panel-stack"
40
40
  maxHeight: e,
41
41
  hAlign: c,
42
42
  vAlign: o,
43
- ref: l,
43
+ ref: s,
44
44
  className: r(
45
45
  f["panel-stack"],
46
- s,
46
+ l,
47
47
  "panel-stack",
48
48
  "tcn-panel-stack"
49
49
  ),
@@ -1,13 +1,13 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import c from "react";
3
- import { Scaffold as e } from "../../layouts/scaffold/scaffold.js";
4
- import f from "clsx";
5
- const u = c.forwardRef(function({ children: r, className: o, ...t }, n) {
6
- return /* @__PURE__ */ a(
7
- e,
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import f from "react";
3
+ import { Scaffold as n } from "../../layouts/scaffold/scaffold.js";
4
+ import c from "clsx";
5
+ const u = f.forwardRef(function({ children: r, className: o, ...t }, a) {
6
+ return /* @__PURE__ */ e(
7
+ n,
8
8
  {
9
- ref: n,
10
- className: f("tcn-surface", "tcn-panel", "tcn-v-panel", o),
9
+ ref: a,
10
+ className: c("tcn-surface", "tcn-panel", "tcn-v-panel", o),
11
11
  ...t,
12
12
  children: r
13
13
  }
@@ -17,21 +17,21 @@ import "../../layouts/footer/footer.js";
17
17
  import "../../layouts/header/header.js";
18
18
  import "../../layouts/utility_bar/utility_bar.js";
19
19
  import { PopperDismissal as s } from "../../overlay/popper/base/dismissal_decorator.js";
20
- const W = f.forwardRef(
21
- function({ children: r, className: m, dismissals: i = [s.CLICK_AWAY], ...p }, t) {
20
+ const S = f.forwardRef(
21
+ function({ children: r, className: m, dismissals: t = [s.CLICK_AWAY], ...i }, p) {
22
22
  return /* @__PURE__ */ o(
23
23
  n,
24
24
  {
25
- ref: t,
25
+ ref: p,
26
26
  className: e(m, "tcn-pop-confirm"),
27
- dismissals: i,
28
- ...p,
27
+ dismissals: t,
28
+ ...i,
29
29
  children: /* @__PURE__ */ o(c, { width: "100%", height: "100%", children: r })
30
30
  }
31
31
  );
32
32
  }
33
33
  );
34
34
  export {
35
- W as PopConfirm
35
+ S as PopConfirm
36
36
  };
37
37
  //# sourceMappingURL=pop_confirm.js.map
@@ -1,13 +1,13 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import f from "react";
3
- import { clsx as n } from "clsx";
4
- import { ElementPopper as e } from "../../overlay/popper/element_popper.js";
5
- const x = f.forwardRef(
6
- function({ children: o, className: r, ...m }, p) {
7
- return /* @__PURE__ */ t(e, { ref: p, className: n(r, "tcn-popconfirm"), ...m, children: o });
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import p from "react";
3
+ import { clsx as e } from "clsx";
4
+ import { ElementPopper as n } from "../../overlay/popper/element_popper.js";
5
+ const u = p.forwardRef(
6
+ function({ children: o, className: r, ...m }, t) {
7
+ return /* @__PURE__ */ f(n, { ref: t, className: e(r, "tcn-popconfirm"), ...m, children: o });
8
8
  }
9
9
  );
10
10
  export {
11
- x as PopConfirm
11
+ u as PopConfirm
12
12
  };
13
13
  //# sourceMappingURL=pop_confirm.js.map
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as f, Fragment as u } from "react/jsx-runtime";
2
- import { clsx as x } from "clsx";
3
- import R, { useRef as d, isValidElement as h, cloneElement as E } from "react";
4
- import { PreviewPopper as b } from "../../overlay/popper/preview_popper.js";
5
- import { HStack as j } from "../../stacks/h_stack.js";
6
- import '../../tooltip.css';const w = "_tooltip_b8c58d5", P = { tooltip: w }, F = R.forwardRef(function({
2
+ import { clsx as d } from "clsx";
3
+ import x, { useRef as R, isValidElement as _, cloneElement as h } from "react";
4
+ import { PreviewPopper as E } from "../../overlay/popper/preview_popper.js";
5
+ import { HStack as b } from "../../stacks/h_stack.js";
6
+ import '../../tooltip.css';const j = "_tooltip_b8c58d5", w = { tooltip: j }, F = x.forwardRef(function({
7
7
  children: o,
8
8
  className: r,
9
9
  verticalAnchor: n = "top",
@@ -13,11 +13,11 @@ import '../../tooltip.css';const w = "_tooltip_b8c58d5", P = { tooltip: w }, F =
13
13
  label: m,
14
14
  ...p
15
15
  }, i) {
16
- const t = d(null), a = h(o) ? E(o, { ref: t }) : /* @__PURE__ */ e(j, { as: "span", ref: t, children: o });
16
+ const t = R(null), a = _(o) ? h(o, { ref: t }) : /* @__PURE__ */ e(b, { as: "span", ref: t, children: o });
17
17
  return /* @__PURE__ */ f(u, { children: [
18
18
  a,
19
19
  /* @__PURE__ */ e(
20
- b,
20
+ E,
21
21
  {
22
22
  ref: i,
23
23
  anchorElement: t,
@@ -25,7 +25,7 @@ import '../../tooltip.css';const w = "_tooltip_b8c58d5", P = { tooltip: w }, F =
25
25
  verticalOrigin: c,
26
26
  horizontalAnchor: s,
27
27
  horizontalOrigin: l,
28
- className: x(r, P.tooltip, "tcn-surface", "tcn-tooltip"),
28
+ className: d(r, w.tooltip, "tcn-surface", "tcn-tooltip"),
29
29
  ...p,
30
30
  children: m
31
31
  }
@@ -1,23 +1,23 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { clsx as m } from "clsx";
3
- import w from "react";
4
- import { Frame as d } from "../../overlay/frame/frame.js";
5
- import { Scaffold as s } from "../../layouts/scaffold/scaffold.js";
6
- import '../../window.css';const a = "_window_7610fdb", l = { window: a }, _ = w.forwardRef(function({ children: t, className: r, isOpen: i, draggable: n = !0, veil: f = !1, ...c }, e) {
2
+ import { clsx as d } from "clsx";
3
+ import m from "react";
4
+ import { Frame as w } from "../../overlay/frame/frame.js";
5
+ import { Scaffold as a } from "../../layouts/scaffold/scaffold.js";
6
+ import '../../window.css';const s = "_window_7610fdb", l = { window: s }, W = m.forwardRef(function({ children: t, className: r, isOpen: i, draggable: n = !0, veil: f = !1, ...e }, c) {
7
7
  return /* @__PURE__ */ o(
8
- d,
8
+ w,
9
9
  {
10
10
  isOpen: i,
11
11
  draggable: n,
12
12
  veil: f,
13
- className: m(l.window, "tcn-surface", "tcn-window", r),
13
+ className: d(l.window, "tcn-surface", "tcn-window", r),
14
14
  width: "auto",
15
15
  height: "auto",
16
- children: /* @__PURE__ */ o(s, { ref: e, ...c, children: t })
16
+ children: /* @__PURE__ */ o(a, { ref: c, ...e, children: t })
17
17
  }
18
18
  );
19
19
  });
20
20
  export {
21
- _ as Window
21
+ W as Window
22
22
  };
23
23
  //# sourceMappingURL=window.js.map