@opensite/ui 3.7.7 → 3.7.8

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.
package/dist/badge.d.cts CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
7
+ variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
package/dist/badge.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
7
+ variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
@@ -534,7 +534,7 @@ function BlogHorizontalCards({
534
534
  {
535
535
  src: post.image,
536
536
  alt: postTitle,
537
- className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
537
+ className: "aspect-video md:aspect-square w-full rounded-lg object-cover object-center sm:w-[260px]",
538
538
  optixFlowConfig,
539
539
  loading: "eager"
540
540
  }
@@ -548,7 +548,7 @@ function BlogHorizontalCards({
548
548
  postDate && /* @__PURE__ */ jsxRuntime.jsx("span", { children: postDate })
549
549
  ] }),
550
550
  post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
551
- postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70", children: postSummary }),
551
+ postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
552
552
  readMoreText && /* @__PURE__ */ jsxRuntime.jsxs(pressable.Pressable, { href: postHref, variant: "outline", children: [
553
553
  readMoreText,
554
554
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -513,7 +513,7 @@ function BlogHorizontalCards({
513
513
  {
514
514
  src: post.image,
515
515
  alt: postTitle,
516
- className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
516
+ className: "aspect-video md:aspect-square w-full rounded-lg object-cover object-center sm:w-[260px]",
517
517
  optixFlowConfig,
518
518
  loading: "eager"
519
519
  }
@@ -527,7 +527,7 @@ function BlogHorizontalCards({
527
527
  postDate && /* @__PURE__ */ jsx("span", { children: postDate })
528
528
  ] }),
529
529
  post.title && /* @__PURE__ */ jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
530
- postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70", children: postSummary }),
530
+ postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
531
531
  readMoreText && /* @__PURE__ */ jsxs(Pressable, { href: postHref, variant: "outline", children: [
532
532
  readMoreText,
533
533
  /* @__PURE__ */ jsx(
package/dist/registry.cjs CHANGED
@@ -36903,7 +36903,7 @@ function BlogHorizontalCards({
36903
36903
  {
36904
36904
  src: post.image,
36905
36905
  alt: postTitle,
36906
- className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
36906
+ className: "aspect-video md:aspect-square w-full rounded-lg object-cover object-center sm:w-[260px]",
36907
36907
  optixFlowConfig,
36908
36908
  loading: "eager"
36909
36909
  }
@@ -36917,7 +36917,7 @@ function BlogHorizontalCards({
36917
36917
  postDate && /* @__PURE__ */ jsxRuntime.jsx("span", { children: postDate })
36918
36918
  ] }),
36919
36919
  post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
36920
- postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70", children: postSummary }),
36920
+ postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
36921
36921
  readMoreText && /* @__PURE__ */ jsxRuntime.jsxs(pressable.Pressable, { href: postHref, variant: "outline", children: [
36922
36922
  readMoreText,
36923
36923
  /* @__PURE__ */ jsxRuntime.jsx(
package/dist/registry.js CHANGED
@@ -36863,7 +36863,7 @@ function BlogHorizontalCards({
36863
36863
  {
36864
36864
  src: post.image,
36865
36865
  alt: postTitle,
36866
- className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
36866
+ className: "aspect-video md:aspect-square w-full rounded-lg object-cover object-center sm:w-[260px]",
36867
36867
  optixFlowConfig,
36868
36868
  loading: "eager"
36869
36869
  }
@@ -36877,7 +36877,7 @@ function BlogHorizontalCards({
36877
36877
  postDate && /* @__PURE__ */ jsx("span", { children: postDate })
36878
36878
  ] }),
36879
36879
  post.title && /* @__PURE__ */ jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
36880
- postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70", children: postSummary }),
36880
+ postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
36881
36881
  readMoreText && /* @__PURE__ */ jsxs(Pressable, { href: postHref, variant: "outline", children: [
36882
36882
  readMoreText,
36883
36883
  /* @__PURE__ */ jsx(
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
77
77
  * />
78
78
  * ```
79
79
  */
80
- declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
80
+ declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
81
81
 
82
82
  export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
77
77
  * />
78
78
  * ```
79
79
  */
80
- declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
80
+ declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
81
81
 
82
82
  export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "3.7.7",
3
+ "version": "3.7.8",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",