@photoroom/ui 0.1.173 → 0.1.175
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/editor/ColorPicker/ColorPicker.d.ts +3 -1
- package/components/editor/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/website/EnterpriseGradeBlock/EnterpriseGradeCard.d.ts.map +1 -1
- package/components/website/ValuesBlock/ValueCard.d.ts +2 -1
- package/components/website/ValuesBlock/ValueCard.d.ts.map +1 -1
- package/components/website/ValuesBlock/ValueCard.figma.d.ts +2 -0
- package/components/website/ValuesBlock/ValueCard.figma.d.ts.map +1 -0
- package/components/website/ValuesBlock/ValuesBlock.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +38 -35
- package/package.json +1 -1
|
@@ -5,9 +5,11 @@ export type ColorPickerProps = Readonly<{
|
|
|
5
5
|
buttonLabel?: string;
|
|
6
6
|
color?: string;
|
|
7
7
|
className?: string;
|
|
8
|
+
/** Extra classes for the popover content -- e.g. raising z-index above a floating parent. */
|
|
9
|
+
popoverClassName?: string;
|
|
8
10
|
onChange: (newColor: string) => void;
|
|
9
11
|
onConfirm?: (newColor?: string) => void;
|
|
10
12
|
selected?: boolean;
|
|
11
13
|
} & Pick<PopoverProps, "side" | "align" | "sideOffset" | "alignOffset" | "collisionPadding">>;
|
|
12
|
-
export declare const ColorPicker: ({ label, buttonLabel, className, color, side, align, sideOffset, alignOffset, collisionPadding, onChange, onConfirm, selected, }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ColorPicker: ({ label, buttonLabel, className, popoverClassName, color, side, align, sideOffset, alignOffset, collisionPadding, onChange, onConfirm, selected, }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKlE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACrC;IACE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6FAA6F;IAC7F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,GAAG,YAAY,GAAG,aAAa,GAAG,kBAAkB,CAAC,CAC7F,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,oJAczB,gBAAgB,4CA0BlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnterpriseGradeCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/EnterpriseGradeBlock/EnterpriseGradeCard.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAClF,QAAQ,CAAC;IACP,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC,CAAC;AAEL,eAAO,MAAM,mBAAmB,GAAI,oDAMjC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"EnterpriseGradeCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/EnterpriseGradeBlock/EnterpriseGradeCard.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAClF,QAAQ,CAAC;IACP,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC,CAAC;AAEL,eAAO,MAAM,mBAAmB,GAAI,oDAMjC,wBAAwB,4CAkB1B,CAAC"}
|
|
@@ -2,6 +2,7 @@ export type ValueCardProps = Readonly<{
|
|
|
2
2
|
icon: React.ReactNode;
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
|
+
cardCount?: number;
|
|
5
6
|
}> & Omit<React.ComponentProps<"div">, "children">;
|
|
6
|
-
export declare const ValueCard: ({ icon, title, description, className, ...rest }: ValueCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const ValueCard: ({ icon, title, description, cardCount, className, ...rest }: ValueCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=ValueCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ValuesBlock/ValueCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ValueCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ValuesBlock/ValueCard.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;IACpC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,GACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAEhD,eAAO,MAAM,SAAS,GAAI,6DAOvB,cAAc,4CAwChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueCard.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ValuesBlock/ValueCard.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValuesBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ValuesBlock/ValuesBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ValuesBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ValuesBlock/ValuesBlock.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;IACtC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;CACpC,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAElC,eAAO,MAAM,WAAW,GAAI,0DAMzB,gBAAgB,4CAkClB,CAAC"}
|