@altimateai/ui-components 0.0.1-beta.3 → 0.0.1-beta.4

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 (55) hide show
  1. package/dist/Accordion.js +43 -114
  2. package/dist/Badge.js +1 -1
  3. package/dist/CoachForm.js +7112 -7241
  4. package/dist/DbtDocsRenderer.js +833 -2651
  5. package/dist/Tooltip.js +115 -0
  6. package/dist/chatbot/index.js +100 -96
  7. package/dist/flowchart-elk-definition-170a3958.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index2.js +1 -5
  10. package/dist/lineage/index.js +2284 -2710
  11. package/dist/main.js +49 -184
  12. package/dist/mindmap-definition-44684416.js +1 -1
  13. package/dist/redux-toolkit.modern.js +1 -1
  14. package/dist/shadcn/index.js +352 -382
  15. package/dist/v4.js +524 -514
  16. package/package.json +2 -2
  17. package/dist/Stack.js +0 -132
  18. package/dist/assets/icons/index.d.ts +0 -96
  19. package/dist/chatbot/index.d.ts +0 -39
  20. package/dist/chatbotV2/index.d.ts +0 -176
  21. package/dist/index.d.ts +0 -217
  22. package/dist/lineage/index.d.ts +0 -183
  23. package/dist/shadcn/index.d.ts +0 -517
  24. package/dist/storybook/Accordion.stories.tsx +0 -61
  25. package/dist/storybook/Alert.stories.tsx +0 -65
  26. package/dist/storybook/AlertDialog.stories.tsx +0 -166
  27. package/dist/storybook/Avatar.stories.tsx +0 -58
  28. package/dist/storybook/Badge.stories.tsx +0 -36
  29. package/dist/storybook/Button.stories.tsx +0 -129
  30. package/dist/storybook/Card.stories.tsx +0 -76
  31. package/dist/storybook/Checkbox.stories.tsx +0 -74
  32. package/dist/storybook/Command.stories.tsx +0 -35
  33. package/dist/storybook/DropdownMenu.stories.tsx +0 -36
  34. package/dist/storybook/Form.stories.tsx +0 -120
  35. package/dist/storybook/HoverCard.stories.tsx +0 -105
  36. package/dist/storybook/Input.stories.tsx +0 -53
  37. package/dist/storybook/Label.stories.tsx +0 -42
  38. package/dist/storybook/Menubar.stories.tsx +0 -159
  39. package/dist/storybook/Pagination.stories.tsx +0 -155
  40. package/dist/storybook/Popover.stories.tsx +0 -25
  41. package/dist/storybook/Progress.stories.tsx +0 -89
  42. package/dist/storybook/RadioGroup.stories.tsx +0 -61
  43. package/dist/storybook/Resizable.stories.tsx +0 -119
  44. package/dist/storybook/ScrollArea.stories.tsx +0 -120
  45. package/dist/storybook/Select.stories.tsx +0 -95
  46. package/dist/storybook/Sheet.stories.tsx +0 -75
  47. package/dist/storybook/Sidebar.stories.tsx +0 -97
  48. package/dist/storybook/Slider.stories.tsx +0 -81
  49. package/dist/storybook/Switch.stories.tsx +0 -99
  50. package/dist/storybook/Textarea.stories.tsx +0 -50
  51. package/dist/storybook/Toast.stories.tsx +0 -111
  52. package/dist/storybook/Tooltip.stories.tsx +0 -33
  53. package/dist/storybook/Typography.stories.tsx +0 -178
  54. package/dist/types-PVxbm0tZ.d.ts +0 -99
  55. /package/dist/{Stack.css → v4.css} +0 -0
package/dist/Accordion.js CHANGED
@@ -2399,14 +2399,7 @@ const Ki = Zr(
2399
2399
  ), Hi = l.forwardRef(
2400
2400
  ({ className: e, variant: t, size: n, asChild: r = !1, ...o }, a) => {
2401
2401
  const s = r ? Pe : "button";
2402
- return /* @__PURE__ */ p.jsx(
2403
- s,
2404
- {
2405
- className: G(Ki({ variant: t, size: n, className: e })),
2406
- ref: a,
2407
- ...o
2408
- }
2409
- );
2402
+ return /* @__PURE__ */ p.jsx(s, { className: G(Ki({ variant: t, size: n, className: e })), ref: a, ...o });
2410
2403
  }
2411
2404
  );
2412
2405
  Hi.displayName = "Button";
@@ -3896,50 +3889,37 @@ const Mc = X(
3896
3889
  "div",
3897
3890
  {
3898
3891
  ref: n,
3899
- className: G(
3900
- "al-text-2xl al-font-semibold al-leading-none al-tracking-tight",
3901
- e
3902
- ),
3892
+ className: G("al-text-2xl al-font-semibold al-leading-none al-tracking-tight", e),
3903
3893
  ...t
3904
3894
  }
3905
3895
  )
3906
3896
  );
3907
3897
  Mc.displayName = "CardTitle";
3908
- const Nc = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
3909
- "div",
3910
- {
3911
- ref: n,
3912
- className: G("al-text-sm al-text-muted-foreground", e),
3913
- ...t
3914
- }
3915
- ));
3898
+ const Nc = X(
3899
+ ({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx("div", { ref: n, className: G("al-text-sm al-text-muted-foreground", e), ...t })
3900
+ );
3916
3901
  Nc.displayName = "CardDescription";
3917
3902
  const _c = X(
3918
3903
  ({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx("div", { ref: n, className: G("al-p-6 al-pt-0", e), ...t })
3919
3904
  );
3920
3905
  _c.displayName = "CardContent";
3921
3906
  const Oc = X(
3907
+ ({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx("div", { ref: n, className: G("al-flex al-items-center al-p-6 al-pt-0", e), ...t })
3908
+ );
3909
+ Oc.displayName = "CardFooter";
3910
+ const Ic = l.forwardRef(
3922
3911
  ({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
3923
- "div",
3912
+ "textarea",
3924
3913
  {
3914
+ className: G(
3915
+ "al-flex al-min-h-[80px] al-w-full al-rounded-md al-border al-border-input al-bg-background al-px-3 al-py-2 al-text-base al-ring-offset-background placeholder:al-text-muted-foreground focus-visible:al-outline-none focus-visible:al-ring-2 focus-visible:al-ring-ring focus-visible:al-ring-offset-2 disabled:al-cursor-not-allowed disabled:al-opacity-50 md:al-text-sm",
3916
+ e
3917
+ ),
3925
3918
  ref: n,
3926
- className: G("al-flex al-items-center al-p-6 al-pt-0", e),
3927
3919
  ...t
3928
3920
  }
3929
3921
  )
3930
3922
  );
3931
- Oc.displayName = "CardFooter";
3932
- const Ic = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
3933
- "textarea",
3934
- {
3935
- className: G(
3936
- "al-flex al-min-h-[80px] al-w-full al-rounded-md al-border al-border-input al-bg-background al-px-3 al-py-2 al-text-base al-ring-offset-background placeholder:al-text-muted-foreground focus-visible:al-outline-none focus-visible:al-ring-2 focus-visible:al-ring-ring focus-visible:al-ring-offset-2 disabled:al-cursor-not-allowed disabled:al-opacity-50 md:al-text-sm",
3937
- e
3938
- ),
3939
- ref: n,
3940
- ...t
3941
- }
3942
- ));
3943
3923
  Ic.displayName = "Textarea";
3944
3924
  const Dc = ["top", "right", "bottom", "left"], Ne = Math.min, ae = Math.max, Pt = Math.round, Ct = Math.floor, _e = (e) => ({
3945
3925
  x: e,
@@ -6309,11 +6289,7 @@ const Jd = X(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ p.jsx(
6309
6289
  ts,
6310
6290
  {
6311
6291
  ref: r,
6312
- className: G(
6313
- "al-px-2 al-py-1.5 al-text-sm al-font-semibold",
6314
- t && "al-pl-8",
6315
- e
6316
- ),
6292
+ className: G("al-px-2 al-py-1.5 al-text-sm al-font-semibold", t && "al-pl-8", e),
6317
6293
  ...n
6318
6294
  }
6319
6295
  ));
@@ -6327,16 +6303,10 @@ const ef = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6327
6303
  }
6328
6304
  ));
6329
6305
  ef.displayName = ss.displayName;
6330
- const tf = ({
6331
- className: e,
6332
- ...t
6333
- }) => /* @__PURE__ */ p.jsx(
6306
+ const tf = ({ className: e, ...t }) => /* @__PURE__ */ p.jsx(
6334
6307
  "span",
6335
6308
  {
6336
- className: G(
6337
- "al-ml-auto al-text-xs al-tracking-widest al-opacity-60",
6338
- e
6339
- ),
6309
+ className: G("al-ml-auto al-text-xs al-tracking-widest al-opacity-60", e),
6340
6310
  ...t
6341
6311
  }
6342
6312
  );
@@ -6797,24 +6767,15 @@ const vs = X(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p.jsxs(
6797
6767
  )
6798
6768
  ] }));
6799
6769
  vs.displayName = kn.displayName;
6800
- const If = ({
6801
- className: e,
6802
- ...t
6803
- }) => /* @__PURE__ */ p.jsx(
6770
+ const If = ({ className: e, ...t }) => /* @__PURE__ */ p.jsx(
6804
6771
  "div",
6805
6772
  {
6806
- className: G(
6807
- "al-flex al-flex-col al-space-y-1.5 al-text-center sm:al-text-left",
6808
- e
6809
- ),
6773
+ className: G("al-flex al-flex-col al-space-y-1.5 al-text-center sm:al-text-left", e),
6810
6774
  ...t
6811
6775
  }
6812
6776
  );
6813
6777
  If.displayName = "DialogHeader";
6814
- const Df = ({
6815
- className: e,
6816
- ...t
6817
- }) => /* @__PURE__ */ p.jsx(
6778
+ const Df = ({ className: e, ...t }) => /* @__PURE__ */ p.jsx(
6818
6779
  "div",
6819
6780
  {
6820
6781
  className: G(
@@ -6829,10 +6790,7 @@ const kf = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6829
6790
  To,
6830
6791
  {
6831
6792
  ref: n,
6832
- className: G(
6833
- "al-text-lg al-font-semibold al-leading-none al-tracking-tight",
6834
- e
6835
- ),
6793
+ className: G("al-text-lg al-font-semibold al-leading-none al-tracking-tight", e),
6836
6794
  ...t
6837
6795
  }
6838
6796
  ));
@@ -6858,48 +6816,34 @@ const bs = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6858
6816
  }
6859
6817
  ));
6860
6818
  bs.displayName = oe.displayName;
6861
- const qp = ({ children: e, ...t }) => /* @__PURE__ */ p.jsx(_f, { ...t, children: /* @__PURE__ */ p.jsx(vs, { className: "al-overflow-hidden al-p-0 al-shadow-lg", children: /* @__PURE__ */ p.jsx(bs, { className: "[&_[cmdk-group-heading]]:al-px-2 [&_[cmdk-group-heading]]:al-font-medium [&_[cmdk-group-heading]]:al-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:al-pt-0 [&_[cmdk-group]]:al-px-2 [&_[cmdk-input-wrapper]_svg]:al-h-5 [&_[cmdk-input-wrapper]_svg]:al-w-5 [&_[cmdk-input]]:al-h-12 [&_[cmdk-item]]:al-px-2 [&_[cmdk-item]]:al-py-3 [&_[cmdk-item]_svg]:al-h-5 [&_[cmdk-item]_svg]:al-w-5", children: e }) }) }), jf = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsxs(
6862
- "div",
6863
- {
6864
- className: "al-flex al-items-center al-border-b al-px-3",
6865
- "cmdk-input-wrapper": "",
6866
- children: [
6867
- /* @__PURE__ */ p.jsx(oi, { className: "al-mr-2 al-h-4 al-w-4 al-shrink-0 al-opacity-50" }),
6868
- /* @__PURE__ */ p.jsx(
6869
- oe.Input,
6870
- {
6871
- ref: n,
6872
- className: G(
6873
- "al-flex al-h-11 al-w-full al-rounded-md al-bg-transparent al-py-3 al-text-sm al-outline-none placeholder:al-text-muted-foreground disabled:al-cursor-not-allowed disabled:al-opacity-50",
6874
- e
6875
- ),
6876
- ...t
6877
- }
6878
- )
6879
- ]
6880
- }
6819
+ const qp = ({ children: e, ...t }) => /* @__PURE__ */ p.jsx(_f, { ...t, children: /* @__PURE__ */ p.jsx(vs, { className: "al-overflow-hidden al-p-0 al-shadow-lg", children: /* @__PURE__ */ p.jsx(bs, { className: "[&_[cmdk-group-heading]]:al-px-2 [&_[cmdk-group-heading]]:al-font-medium [&_[cmdk-group-heading]]:al-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:al-pt-0 [&_[cmdk-group]]:al-px-2 [&_[cmdk-input-wrapper]_svg]:al-h-5 [&_[cmdk-input-wrapper]_svg]:al-w-5 [&_[cmdk-input]]:al-h-12 [&_[cmdk-item]]:al-px-2 [&_[cmdk-item]]:al-py-3 [&_[cmdk-item]_svg]:al-h-5 [&_[cmdk-item]_svg]:al-w-5", children: e }) }) }), jf = X(({ className: e, ...t }, n) => (
6820
+ // eslint-disable-next-line react/no-unknown-property
6821
+ /* @__PURE__ */ p.jsxs("div", { className: "al-flex al-items-center al-border-b al-px-3", "cmdk-input-wrapper": "", children: [
6822
+ /* @__PURE__ */ p.jsx(oi, { className: "al-mr-2 al-h-4 al-w-4 al-shrink-0 al-opacity-50" }),
6823
+ /* @__PURE__ */ p.jsx(
6824
+ oe.Input,
6825
+ {
6826
+ ref: n,
6827
+ className: G(
6828
+ "al-flex al-h-11 al-w-full al-rounded-md al-bg-transparent al-py-3 al-text-sm al-outline-none placeholder:al-text-muted-foreground disabled:al-cursor-not-allowed disabled:al-opacity-50",
6829
+ e
6830
+ ),
6831
+ ...t
6832
+ }
6833
+ )
6834
+ ] })
6881
6835
  ));
6882
6836
  jf.displayName = oe.Input.displayName;
6883
6837
  const Lf = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6884
6838
  oe.List,
6885
6839
  {
6886
6840
  ref: n,
6887
- className: G(
6888
- "al-max-h-[300px] al-overflow-y-auto al-overflow-x-hidden",
6889
- e
6890
- ),
6841
+ className: G("al-max-h-[300px] al-overflow-y-auto al-overflow-x-hidden", e),
6891
6842
  ...t
6892
6843
  }
6893
6844
  ));
6894
6845
  Lf.displayName = oe.List.displayName;
6895
- const Ff = X((e, t) => /* @__PURE__ */ p.jsx(
6896
- oe.Empty,
6897
- {
6898
- ref: t,
6899
- className: "al-py-6 al-text-center al-text-sm",
6900
- ...e
6901
- }
6902
- ));
6846
+ const Ff = X((e, t) => /* @__PURE__ */ p.jsx(oe.Empty, { ref: t, className: "al-py-6 al-text-center al-text-sm", ...e }));
6903
6847
  Ff.displayName = oe.Empty.displayName;
6904
6848
  const $f = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6905
6849
  oe.Group,
@@ -6934,16 +6878,10 @@ const Wf = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
6934
6878
  }
6935
6879
  ));
6936
6880
  Wf.displayName = oe.Item.displayName;
6937
- const Bf = ({
6938
- className: e,
6939
- ...t
6940
- }) => /* @__PURE__ */ p.jsx(
6881
+ const Bf = ({ className: e, ...t }) => /* @__PURE__ */ p.jsx(
6941
6882
  "span",
6942
6883
  {
6943
- className: G(
6944
- "al-ml-auto al-text-xs al-tracking-widest al-text-muted-foreground",
6945
- e
6946
- ),
6884
+ className: G("al-ml-auto al-text-xs al-tracking-widest al-text-muted-foreground", e),
6947
6885
  ...t
6948
6886
  }
6949
6887
  );
@@ -7303,9 +7241,7 @@ const ip = X(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
7303
7241
  children: /* @__PURE__ */ p.jsx(
7304
7242
  sp,
7305
7243
  {
7306
- className: G(
7307
- "al-flex al-items-center al-justify-center al-text-current"
7308
- ),
7244
+ className: G("al-flex al-items-center al-justify-center al-text-current"),
7309
7245
  children: /* @__PURE__ */ p.jsx(Yr, { className: "al-h-4 al-w-4" })
7310
7246
  }
7311
7247
  )
@@ -7695,14 +7631,7 @@ function qs(e) {
7695
7631
  return e ? "open" : "closed";
7696
7632
  }
7697
7633
  var Ap = Gs, Pp = Vs, Mp = Ks, Np = Hs, _p = Xs;
7698
- const om = Ap, Op = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
7699
- Pp,
7700
- {
7701
- ref: n,
7702
- className: G("al-border-b", e),
7703
- ...t
7704
- }
7705
- ));
7634
+ const om = Ap, Op = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(Pp, { ref: n, className: G("al-border-b", e), ...t }));
7706
7635
  Op.displayName = "AccordionItem";
7707
7636
  const Ip = l.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p.jsx(Mp, { className: "al-flex", children: /* @__PURE__ */ p.jsxs(
7708
7637
  Np,
package/dist/Badge.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { j as o } from "./index2.js";
2
2
  import { Badge as s } from "reactstrap";
3
- import { T as e } from "./Stack.js";
3
+ import { T as e } from "./Tooltip.js";
4
4
  const p = ({ tooltip: r, ...t }) => /* @__PURE__ */ o.jsx(e, { title: r, children: /* @__PURE__ */ o.jsx(s, { ...t }) });
5
5
  export {
6
6
  p as B