singularity-components 0.1.99 → 0.1.101

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/main.cjs CHANGED
@@ -21223,6 +21223,7 @@ function Layout({
21223
21223
  type,
21224
21224
  cols,
21225
21225
  bgcolor,
21226
+ as: Component2 = "div",
21226
21227
  ...props
21227
21228
  }) {
21228
21229
  const allowedInLayout = (content) => {
@@ -21249,7 +21250,7 @@ function Layout({
21249
21250
  return content;
21250
21251
  };
21251
21252
  return /* @__PURE__ */ jsxRuntime.jsx(
21252
- "div",
21253
+ Component2,
21253
21254
  {
21254
21255
  ...props,
21255
21256
  className: cn(bgColor[bgcolor ?? "transparent"], className),
@@ -21260,8 +21261,8 @@ function Layout({
21260
21261
  }
21261
21262
  );
21262
21263
  }
21263
- function Col({ children, hideDiv, className }) {
21264
- return hideDiv ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className, children });
21264
+ function Col({ children, hideDiv, className, as: Component2 = "div" }) {
21265
+ return hideDiv ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children }) : /* @__PURE__ */ jsxRuntime.jsx(Component2, { className, children });
21265
21266
  }
21266
21267
  Layout.Col1 = Col;
21267
21268
  Layout.Col2 = Col;
@@ -21518,6 +21519,7 @@ var textBodyVariants = classVarianceAuthority.cva("", {
21518
21519
  },
21519
21520
  foreground: {
21520
21521
  default: "sg:text-foreground",
21522
+ muted: "sg:text-muted-foreground",
21521
21523
  black: "sg:text-black",
21522
21524
  white: "sg:text-white",
21523
21525
  gray: "sg:text-gray",
@@ -21580,6 +21582,7 @@ var textDisplayVariants = classVarianceAuthority.cva("sg:block sg:tracking-tight
21580
21582
  },
21581
21583
  foreground: {
21582
21584
  default: "sg:text-foreground",
21585
+ muted: "sg:text-muted-foreground",
21583
21586
  black: "sg:text-black",
21584
21587
  white: "sg:text-white",
21585
21588
  gray: "sg:text-gray",
@@ -21620,12 +21623,13 @@ var textHeadingVariants = classVarianceAuthority.cva("", {
21620
21623
  variants: {
21621
21624
  variant: {
21622
21625
  h1: "sg:text-xl sg:font-bold sg:tracking-tight sg:lg:text-4xl",
21623
- h2: "sg:text-xl sg:font-semibold sg:tracking-tight sg:transition-colors sg:first:mt-0",
21624
- h3: "sg:text-xl sg:font-semibold sg:tracking-tight",
21626
+ h2: "sg:text-xl sg:font-semibold sg:tracking-tight sg:transition-colors sg:first:mt-0 sg:lg:text-3xl",
21627
+ h3: "sg:text-xl sg:font-semibold sg:tracking-tight sg:lg:text-2xl",
21625
21628
  h4: "sg:text-lg sg:font-semibold sg:tracking-tight"
21626
21629
  },
21627
21630
  foreground: {
21628
21631
  default: "sg:text-foreground",
21632
+ muted: "sg:text-muted-foreground",
21629
21633
  black: "sg:text-black",
21630
21634
  white: "sg:text-white",
21631
21635
  gray: "sg:text-gray",