@hilum/ui 3.6.8 → 3.6.9

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/index.d.ts CHANGED
@@ -1826,9 +1826,10 @@ interface StackedListProps {
1826
1826
  children: React.ReactNode;
1827
1827
  divided?: boolean;
1828
1828
  bordered?: boolean;
1829
+ surface?: "card" | "responsive";
1829
1830
  className?: string;
1830
1831
  }
1831
- declare function StackedList({ children, divided, bordered, className }: StackedListProps): react_jsx_runtime.JSX.Element;
1832
+ declare function StackedList({ children, divided, bordered, surface, className, }: StackedListProps): react_jsx_runtime.JSX.Element;
1832
1833
  interface StackedListItemProps {
1833
1834
  children: React.ReactNode;
1834
1835
  href?: string;
package/dist/index.js CHANGED
@@ -13514,7 +13514,13 @@ function SectionHeading({
13514
13514
  }
13515
13515
  );
13516
13516
  }
13517
- function StackedList({ children, divided = true, bordered = true, className }) {
13517
+ function StackedList({
13518
+ children,
13519
+ divided = true,
13520
+ bordered = true,
13521
+ surface = "card",
13522
+ className
13523
+ }) {
13518
13524
  return /* @__PURE__ */ jsx(
13519
13525
  "ul",
13520
13526
  {
@@ -13523,6 +13529,7 @@ function StackedList({ children, divided = true, bordered = true, className }) {
13523
13529
  "overflow-hidden rounded-xl bg-card",
13524
13530
  bordered && "border border-border shadow-natural",
13525
13531
  divided && "divide-y divide-border",
13532
+ surface === "responsive" && "rounded-lg shadow-none max-sm:rounded-none max-sm:border-x-0 max-sm:bg-transparent",
13526
13533
  className
13527
13534
  ),
13528
13535
  children