@photoroom/ui 0.1.69 → 0.1.70

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.
@@ -1,7 +1,7 @@
1
1
  export type InfoSnapshotItemProps = Readonly<{
2
2
  label: string;
3
- children: React.ReactNode;
3
+ children?: React.ReactNode;
4
4
  className?: string;
5
5
  }>;
6
- export declare const InfoSnapshotItem: ({ label, children, className, ...rest }: InfoSnapshotItemProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const InfoSnapshotItem: ({ label, children, className, ...rest }: InfoSnapshotItemProps) => import("react/jsx-runtime").JSX.Element | null;
7
7
  //# sourceMappingURL=InfoSnapshotItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoSnapshotItem.d.ts","sourceRoot":"","sources":["../../../../src/components/website/InfoSnapshot/InfoSnapshotItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAAI,yCAK9B,qBAAqB,4CAQvB,CAAC"}
1
+ {"version":3,"file":"InfoSnapshotItem.d.ts","sourceRoot":"","sources":["../../../../src/components/website/InfoSnapshot/InfoSnapshotItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAAI,yCAK9B,qBAAqB,mDAavB,CAAC"}
package/index.mjs CHANGED
@@ -53619,7 +53619,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53619
53619
  ...n,
53620
53620
  className: H("flex flex-col gap-6", t),
53621
53621
  children: e
53622
- }), mhe = ({ label: e, children: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
53622
+ }), mhe = ({ label: e, children: t, className: n, ...r }) => t ? /* @__PURE__ */ E("div", {
53623
53623
  ...r,
53624
53624
  className: H("flex flex-col gap-1 pt-4", "border-t border-misc-border", n),
53625
53625
  children: [/* @__PURE__ */ T("span", {
@@ -53629,7 +53629,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53629
53629
  className: "component-600 text-content-primary",
53630
53630
  children: t
53631
53631
  })]
53632
- }), hhe = ({ titleBlock: e, assets: t, className: n, ...r }) => /* @__PURE__ */ E("section", {
53632
+ }) : null, hhe = ({ titleBlock: e, assets: t, className: n, ...r }) => /* @__PURE__ */ E("section", {
53633
53633
  className: V("space-y-12 pt-e700 sm:space-y-16 lg:space-y-20", n),
53634
53634
  ...r,
53635
53635
  children: [!!e && /* @__PURE__ */ T("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [