@photoroom/ui 0.1.170 → 0.1.171
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/components/collections/CommonMenu/MenuItemButton.d.ts +1 -0
- package/components/collections/CommonMenu/MenuItemButton.d.ts.map +1 -1
- package/components/website/DataBlock/DataBlock.d.ts +2 -7
- package/components/website/DataBlock/DataBlock.d.ts.map +1 -1
- package/components/website/DataBlock/DataBlockItem.d.ts +7 -0
- package/components/website/DataBlock/DataBlockItem.d.ts.map +1 -0
- package/components/website/DataBlock/index.d.ts +1 -0
- package/components/website/DataBlock/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +189 -181
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export type MenuItemButtonProps = Readonly<{
|
|
|
12
12
|
leading?: React.ReactNode;
|
|
13
13
|
hideIcon?: boolean;
|
|
14
14
|
rightElement?: React.ReactNode;
|
|
15
|
+
trailingLabel?: string;
|
|
15
16
|
description?: string;
|
|
16
17
|
noWrap?: boolean;
|
|
17
18
|
}> & MenuItemCvaProps & React.ComponentProps<"button">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItemButton.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/CommonMenu/MenuItemButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAA4C,MAAM,OAAO,CAAC;AAEjE,QAAA,MAAM,WAAW;;;8EAuBhB,CAAC;AAYF,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,wBAAwB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sF1B,CAAC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export type DataBlockProps = Readonly<{
|
|
1
|
+
export type DataBlockProps = Omit<React.ComponentProps<"div">, "title"> & Readonly<{
|
|
2
2
|
title?: React.ReactNode;
|
|
3
3
|
background?: "white" | "lightgrey";
|
|
4
|
-
items: Array<{
|
|
5
|
-
data: string;
|
|
6
|
-
title: string;
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
}>;
|
|
9
4
|
}>;
|
|
10
|
-
export declare const DataBlock: ({ title,
|
|
5
|
+
export declare const DataBlock: ({ title, children, background, ...rest }: DataBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
6
|
//# sourceMappingURL=DataBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/DataBlock/DataBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/DataBlock/DataBlock.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,GACrE,QAAQ,CAAC;IACP,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;CACpC,CAAC,CAAC;AAEL,eAAO,MAAM,SAAS,GAAI,0CAAoD,cAAc,4CA0B3F,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type DataBlockItemProps = Omit<React.ComponentProps<"div">, "title"> & Readonly<{
|
|
2
|
+
data: React.ReactNode;
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
subtitle?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const DataBlockItem: ({ data, title, subtitle, className, ...rest }: DataBlockItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=DataBlockItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataBlockItem.d.ts","sourceRoot":"","sources":["../../../../src/components/website/DataBlock/DataBlockItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,GACzE,QAAQ,CAAC;IACP,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC,CAAC;AAEL,eAAO,MAAM,aAAa,GAAI,+CAM3B,kBAAkB,4CAUpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/website/DataBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/website/DataBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|