@opensite/ui 3.5.0 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -817,8 +817,8 @@ var NavbarPlatformResources = ({
817
817
  }
818
818
  ) }),
819
819
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 overflow-hidden", children: [
820
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
821
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
820
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium truncate", children: item.label }),
821
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
822
822
  ] })
823
823
  ]
824
824
  },
@@ -845,8 +845,8 @@ var NavbarPlatformResources = ({
845
845
  }
846
846
  ) }),
847
847
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
848
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
849
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
848
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium truncate", children: item.label }),
849
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
850
850
  ] })
851
851
  ]
852
852
  }
@@ -875,8 +875,8 @@ var NavbarPlatformResources = ({
875
875
  }
876
876
  ) }),
877
877
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5 xl:p-8", children: [
878
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: featuredItem.label }),
879
- featuredItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: featuredItem.description })
878
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base truncate", children: featuredItem.label }),
879
+ featuredItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: featuredItem.description })
880
880
  ] })
881
881
  ] })
882
882
  }
@@ -896,8 +896,8 @@ var NavbarPlatformResources = ({
896
896
  size: 20
897
897
  }
898
898
  ) }),
899
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 break-words text-base", children: item.label }),
900
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
899
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 truncate text-base", children: item.label }),
900
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
901
901
  ]
902
902
  },
903
903
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -923,7 +923,7 @@ var NavbarPlatformResources = ({
923
923
  size: 16
924
924
  }
925
925
  ) }),
926
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
926
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 truncate text-base", children: item.label })
927
927
  ]
928
928
  },
929
929
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -947,8 +947,8 @@ var NavbarPlatformResources = ({
947
947
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-col p-5 xl:p-8", children: [
948
948
  ctaItem.background && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: ctaItem.background }),
949
949
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
950
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 break-words text-xl", children: ctaItem.label }),
951
- ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
950
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 truncate text-xl", children: ctaItem.label }),
951
+ ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: ctaItem.description })
952
952
  ] })
953
953
  ] })
954
954
  ] })
@@ -976,7 +976,7 @@ var NavbarPlatformResources = ({
976
976
  size: 16
977
977
  }
978
978
  ),
979
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
979
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 truncate text-base", children: item.label })
980
980
  ]
981
981
  },
982
982
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -989,8 +989,8 @@ var NavbarPlatformResources = ({
989
989
  className: "!flex !w-full min-w-0 flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
990
990
  children: [
991
991
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
992
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: showcase.label }),
993
- showcase.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: showcase.description })
992
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 truncate text-base", children: showcase.label }),
993
+ showcase.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: showcase.description })
994
994
  ] }),
995
995
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
996
996
  img.Img,
@@ -1022,8 +1022,8 @@ var NavbarPlatformResources = ({
1022
1022
  href: getLinkUrl(item),
1023
1023
  className: "!flex h-full w-full min-w-0 flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
1024
1024
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
1025
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: item.label }),
1026
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
1025
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 truncate text-base", children: item.label }),
1026
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
1027
1027
  ] })
1028
1028
  },
1029
1029
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -1040,8 +1040,8 @@ var NavbarPlatformResources = ({
1040
1040
  className: "mb-6 !flex !w-full min-w-0 flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
1041
1041
  children: [
1042
1042
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
1043
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 break-words text-base", children: ctaItem.label }),
1044
- ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
1043
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 truncate text-base", children: ctaItem.label }),
1044
+ ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: ctaItem.description })
1045
1045
  ] }),
1046
1046
  ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1047
1047
  img.Img,
@@ -1057,7 +1057,7 @@ var NavbarPlatformResources = ({
1057
1057
  ),
1058
1058
  ctaItem.background && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row items-center gap-3 rounded-lg bg-secondary/30 p-3 hover:bg-secondary/80 focus:bg-secondary/80", children: [
1059
1059
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-md bg-secondary px-2 py-1 text-xs font-semibold text-secondary-foreground", children: ctaItem.background }),
1060
- ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-ellipsis text-secondary-foreground", children: ctaItem.description })
1060
+ ctaItem.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-sm text-secondary-foreground", children: ctaItem.description })
1061
1061
  ] })
1062
1062
  ] })
1063
1063
  ] }) });
@@ -1079,8 +1079,8 @@ var NavbarPlatformResources = ({
1079
1079
  ) }),
1080
1080
  !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon || item.iconName, size: 18 }) }),
1081
1081
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
1082
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
1083
- item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
1082
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: item.label }),
1083
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
1084
1084
  ] })
1085
1085
  ]
1086
1086
  },
@@ -69,16 +69,16 @@ interface IMenuLink {
69
69
  */
70
70
  interface NavbarPlatformResourcesProps {
71
71
  /**
72
- * Logo configuration
73
- */
72
+ * Logo configuration
73
+ */
74
74
  logo?: LogoConfig;
75
75
  /**
76
- * Navigation menu links with optional dropdown groups
77
- */
76
+ * Navigation menu links with optional dropdown groups
77
+ */
78
78
  menuLinks?: IMenuLink[];
79
79
  /**
80
- * Actions rendered on the right side (desktop) and bottom (mobile)
81
- */
80
+ * Actions rendered on the right side (desktop) and bottom (mobile)
81
+ */
82
82
  actions?: ActionConfig[];
83
83
  }
84
84
  interface NavbarPlatformResourcesRuntimeProps {
@@ -69,16 +69,16 @@ interface IMenuLink {
69
69
  */
70
70
  interface NavbarPlatformResourcesProps {
71
71
  /**
72
- * Logo configuration
73
- */
72
+ * Logo configuration
73
+ */
74
74
  logo?: LogoConfig;
75
75
  /**
76
- * Navigation menu links with optional dropdown groups
77
- */
76
+ * Navigation menu links with optional dropdown groups
77
+ */
78
78
  menuLinks?: IMenuLink[];
79
79
  /**
80
- * Actions rendered on the right side (desktop) and bottom (mobile)
81
- */
80
+ * Actions rendered on the right side (desktop) and bottom (mobile)
81
+ */
82
82
  actions?: ActionConfig[];
83
83
  }
84
84
  interface NavbarPlatformResourcesRuntimeProps {
@@ -794,8 +794,8 @@ var NavbarPlatformResources = ({
794
794
  }
795
795
  ) }),
796
796
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 overflow-hidden", children: [
797
- /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
798
- item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
797
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium truncate", children: item.label }),
798
+ item.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
799
799
  ] })
800
800
  ]
801
801
  },
@@ -822,8 +822,8 @@ var NavbarPlatformResources = ({
822
822
  }
823
823
  ) }),
824
824
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
825
- /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
826
- item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
825
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium truncate", children: item.label }),
826
+ item.description && /* @__PURE__ */ jsx("div", { className: "truncate text-xs text-muted-foreground group-hover/link:text-foreground", children: item.description })
827
827
  ] })
828
828
  ]
829
829
  }
@@ -852,8 +852,8 @@ var NavbarPlatformResources = ({
852
852
  }
853
853
  ) }),
854
854
  /* @__PURE__ */ jsxs("div", { className: "p-5 xl:p-8", children: [
855
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: featuredItem.label }),
856
- featuredItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: featuredItem.description })
855
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-base truncate", children: featuredItem.label }),
856
+ featuredItem.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: featuredItem.description })
857
857
  ] })
858
858
  ] })
859
859
  }
@@ -873,8 +873,8 @@ var NavbarPlatformResources = ({
873
873
  size: 20
874
874
  }
875
875
  ) }),
876
- /* @__PURE__ */ jsx("div", { className: "mb-1 break-words text-base", children: item.label }),
877
- item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
876
+ /* @__PURE__ */ jsx("div", { className: "mb-1 truncate text-base", children: item.label }),
877
+ item.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
878
878
  ]
879
879
  },
880
880
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -900,7 +900,7 @@ var NavbarPlatformResources = ({
900
900
  size: 16
901
901
  }
902
902
  ) }),
903
- /* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
903
+ /* @__PURE__ */ jsx("div", { className: "min-w-0 truncate text-base", children: item.label })
904
904
  ]
905
905
  },
906
906
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -924,8 +924,8 @@ var NavbarPlatformResources = ({
924
924
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col p-5 xl:p-8", children: [
925
925
  ctaItem.background && /* @__PURE__ */ jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: ctaItem.background }),
926
926
  /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
927
- /* @__PURE__ */ jsx("div", { className: "mb-4 break-words text-xl", children: ctaItem.label }),
928
- ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
927
+ /* @__PURE__ */ jsx("div", { className: "mb-4 truncate text-xl", children: ctaItem.label }),
928
+ ctaItem.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: ctaItem.description })
929
929
  ] })
930
930
  ] })
931
931
  ] })
@@ -953,7 +953,7 @@ var NavbarPlatformResources = ({
953
953
  size: 16
954
954
  }
955
955
  ),
956
- /* @__PURE__ */ jsx("div", { className: "min-w-0 break-words text-base", children: item.label })
956
+ /* @__PURE__ */ jsx("div", { className: "min-w-0 truncate text-base", children: item.label })
957
957
  ]
958
958
  },
959
959
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -966,8 +966,8 @@ var NavbarPlatformResources = ({
966
966
  className: "!flex !w-full min-w-0 flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
967
967
  children: [
968
968
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
969
- /* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: showcase.label }),
970
- showcase.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: showcase.description })
969
+ /* @__PURE__ */ jsx("div", { className: "mb-2 truncate text-base", children: showcase.label }),
970
+ showcase.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: showcase.description })
971
971
  ] }),
972
972
  /* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
973
973
  Img,
@@ -999,8 +999,8 @@ var NavbarPlatformResources = ({
999
999
  href: getLinkUrl(item),
1000
1000
  className: "!flex h-full w-full min-w-0 flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
1001
1001
  children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
1002
- /* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: item.label }),
1003
- item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
1002
+ /* @__PURE__ */ jsx("div", { className: "mb-2 truncate text-base", children: item.label }),
1003
+ item.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
1004
1004
  ] })
1005
1005
  },
1006
1006
  `${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
@@ -1017,8 +1017,8 @@ var NavbarPlatformResources = ({
1017
1017
  className: "mb-6 !flex !w-full min-w-0 flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
1018
1018
  children: [
1019
1019
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 p-5 xl:p-8", children: [
1020
- /* @__PURE__ */ jsx("div", { className: "mb-2 break-words text-base", children: ctaItem.label }),
1021
- ctaItem.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: ctaItem.description })
1020
+ /* @__PURE__ */ jsx("div", { className: "mb-2 truncate text-base", children: ctaItem.label }),
1021
+ ctaItem.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: ctaItem.description })
1022
1022
  ] }),
1023
1023
  ctaItem.image && /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsx(
1024
1024
  Img,
@@ -1034,7 +1034,7 @@ var NavbarPlatformResources = ({
1034
1034
  ),
1035
1035
  ctaItem.background && /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-3 rounded-lg bg-secondary/30 p-3 hover:bg-secondary/80 focus:bg-secondary/80", children: [
1036
1036
  /* @__PURE__ */ jsx("span", { className: "rounded-md bg-secondary px-2 py-1 text-xs font-semibold text-secondary-foreground", children: ctaItem.background }),
1037
- ctaItem.description && /* @__PURE__ */ jsx("span", { className: "text-sm text-ellipsis text-secondary-foreground", children: ctaItem.description })
1037
+ ctaItem.description && /* @__PURE__ */ jsx("span", { className: "truncate text-sm text-secondary-foreground", children: ctaItem.description })
1038
1038
  ] })
1039
1039
  ] })
1040
1040
  ] }) });
@@ -1056,8 +1056,8 @@ var NavbarPlatformResources = ({
1056
1056
  ) }),
1057
1057
  !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon || item.iconName, size: 18 }) }),
1058
1058
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
1059
- /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-medium text-foreground", children: item.label }),
1060
- item.description && /* @__PURE__ */ jsx("div", { className: "break-words text-sm font-normal text-muted-foreground", children: item.description })
1059
+ /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-medium text-foreground", children: item.label }),
1060
+ item.description && /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-normal text-muted-foreground", children: item.description })
1061
1061
  ] })
1062
1062
  ]
1063
1063
  },