@photoroom/ui 0.1.335 → 0.1.336
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/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.d.ts +2 -1
- package/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.d.ts.map +1 -1
- package/components/input/SearchableSelect/SearchableSelect.d.ts +3 -3
- package/components/input/SearchableSelect/SearchableSelect.d.ts.map +1 -1
- package/components/input/SearchableSelect/SearchableSelectItem.d.ts +2 -1
- package/components/input/SearchableSelect/SearchableSelectItem.d.ts.map +1 -1
- package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts +2 -1
- package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts.map +1 -1
- package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts +2 -1
- package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts +3 -2
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts +6 -5
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts +5 -2
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts +0 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts +4 -6
- package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts.map +1 -1
- package/index.mjs +8174 -9790
- package/package.json +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts +0 -27
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts.map +0 -1
|
@@ -7,9 +7,10 @@ export type DropdownMenuSingleSelectionItemProps = {
|
|
|
7
7
|
};
|
|
8
8
|
thumbnail?: string;
|
|
9
9
|
icon?: React.ComponentType<React.ComponentProps<"svg">>;
|
|
10
|
+
multiline?: boolean;
|
|
10
11
|
} & Omit<React.ComponentPropsWithoutRef<"div">, "children"> & React.RefAttributes<HTMLDivElement>;
|
|
11
12
|
export declare const DropdownMenuSingleSelectionItem: {
|
|
12
|
-
({ label, selected, badge, thumbnail, icon: Icon, ref, ...props }: DropdownMenuSingleSelectionItemProps): import("react").JSX.Element;
|
|
13
|
+
({ label, selected, badge, thumbnail, icon: Icon, multiline, ref, ...props }: DropdownMenuSingleSelectionItemProps): import("react").JSX.Element;
|
|
13
14
|
displayName: string;
|
|
14
15
|
};
|
|
15
16
|
//# sourceMappingURL=DropdownMenuSingleSelectionItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuSingleSelectionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,oCAAoC,GAAG;IACjD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;KAC7B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownMenuSingleSelectionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,oCAAoC,GAAG;IACjD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;KAC7B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GACzD,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAEtC,eAAO,MAAM,+BAA+B;kFASzC,oCAAoC;;CAuDtC,CAAC"}
|
|
@@ -29,14 +29,14 @@ export type SearchableSelectProps = Omit<SearchableSelectPrimitiveProps, "search
|
|
|
29
29
|
virtualizedListHeight?: string | number;
|
|
30
30
|
}> & React.RefAttributes<HTMLButtonElement>;
|
|
31
31
|
export declare const SearchableSelect: {
|
|
32
|
-
({ isSearchable, value: outerValue, defaultValue, onValueChange, searchPlaceholder, searchNoResultLabel, options, rawOption, renderOption, renderValue, fuseOptions, clearLabel, listMinHeight, virtualized, virtualizedListHeight, side, ref, ...props }: SearchableSelectProps): import("react").JSX.Element;
|
|
32
|
+
({ isSearchable, value: outerValue, defaultValue, onValueChange, searchPlaceholder, searchNoResultLabel, options, rawOption, renderOption, renderValue, fuseOptions, clearLabel, listMinHeight, virtualized, virtualizedListHeight, multiline, side, ref, ...props }: SearchableSelectProps): import("react").JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
Primitive: {
|
|
35
|
-
({ className, placeholder, search: searchProps, onOpenChange, children, isSearchable, renderValue, filterComponent, listMinHeight, contentClassName, withPortal, size, side, ref, ...props }: SearchableSelectPrimitiveProps): import("react").JSX.Element;
|
|
35
|
+
({ className, placeholder, search: searchProps, onOpenChange, children, isSearchable, renderValue, filterComponent, listMinHeight, contentClassName, withPortal, multiline, size, side, ref, ...props }: SearchableSelectPrimitiveProps): import("react").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
Item: {
|
|
39
|
-
({ className, selected, badge, children, rawChildren, ref, ...props }: SearchableSelectItemProps): import("react").JSX.Element;
|
|
39
|
+
({ className, selected, badge, children, rawChildren, multiline, ref, ...props }: SearchableSelectItemProps): import("react").JSX.Element;
|
|
40
40
|
displayName: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAW,cAAc,EAAsB,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAwB,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAEL,8BAA8B,EAC/B,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,8BAA8B,EAAE,QAAQ,CAAC,GAChF,QAAQ,CAAC;IACP,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IACnE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,IAAI,CAChB,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,GAAG,mBAAmB,CAC7C,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzC,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAW,cAAc,EAAsB,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAwB,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAEL,8BAA8B,EAC/B,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,8BAA8B,EAAE,QAAQ,CAAC,GAChF,QAAQ,CAAC;IACP,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC;IACnE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,IAAI,CAChB,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,GAAG,mBAAmB,CAC7C,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzC,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,gBAAgB;0QAoB1B,qBAAqB;;;;;;;;;;CA6IvB,CAAC"}
|
|
@@ -4,9 +4,10 @@ export type SearchableSelectItemProps = {
|
|
|
4
4
|
selected?: boolean;
|
|
5
5
|
badge?: DropdownMenuSingleSelectionItemProps["badge"];
|
|
6
6
|
rawChildren?: boolean;
|
|
7
|
+
multiline?: boolean;
|
|
7
8
|
} & RadixSelect.SelectItemProps & React.RefAttributes<HTMLDivElement>;
|
|
8
9
|
export declare const SearchableSelectItem: {
|
|
9
|
-
({ className, selected, badge, children, rawChildren, ref, ...props }: SearchableSelectItemProps): import("react").JSX.Element;
|
|
10
|
+
({ className, selected, badge, children, rawChildren, multiline, ref, ...props }: SearchableSelectItemProps): import("react").JSX.Element;
|
|
10
11
|
displayName: string;
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=SearchableSelectItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableSelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAGtD,OAAO,EAEL,oCAAoC,EACrC,MAAM,gEAAgE,CAAC;AAExE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,oCAAoC,CAAC,OAAO,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchableSelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAGtD,OAAO,EAEL,oCAAoC,EACrC,MAAM,gEAAgE,CAAC;AAExE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,oCAAoC,CAAC,OAAO,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC,eAAe,GAC7B,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAEtC,eAAO,MAAM,oBAAoB;sFAS9B,yBAAyB;;CAsB3B,CAAC"}
|
|
@@ -11,10 +11,11 @@ export type SearchableSelectPrimitiveProps = RadixSelect.SelectProps & Readonly<
|
|
|
11
11
|
listMinHeight?: string;
|
|
12
12
|
contentClassName?: string;
|
|
13
13
|
withPortal?: boolean;
|
|
14
|
+
multiline?: boolean;
|
|
14
15
|
size?: SearchableSelectSize;
|
|
15
16
|
}> & Pick<RadixSelect.SelectContentProps, "side"> & React.RefAttributes<HTMLButtonElement>;
|
|
16
17
|
export declare const SearchableSelectPrimitive: {
|
|
17
|
-
({ className, placeholder, search: searchProps, onOpenChange, children, isSearchable, renderValue, filterComponent, listMinHeight, contentClassName, withPortal, size, side, ref, ...props }: SearchableSelectPrimitiveProps): import("react").JSX.Element;
|
|
18
|
+
({ className, placeholder, search: searchProps, onOpenChange, children, isSearchable, renderValue, filterComponent, listMinHeight, contentClassName, withPortal, multiline, size, side, ref, ...props }: SearchableSelectPrimitiveProps): import("react").JSX.Element;
|
|
18
19
|
displayName: string;
|
|
19
20
|
};
|
|
20
21
|
//# sourceMappingURL=SearchableSelectPrimitive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableSelectPrimitive.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectPrimitive.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAMtD,OAAO,EAAuB,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAEnG,OAAO,EAA2B,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE1F,MAAM,MAAM,8BAA8B,GAAG,WAAW,CAAC,WAAW,GAClE,QAAQ,CAAC;IACP,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B,CAAC,GACF,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC5C,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,yBAAyB;
|
|
1
|
+
{"version":3,"file":"SearchableSelectPrimitive.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectPrimitive.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAMtD,OAAO,EAAuB,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAEnG,OAAO,EAA2B,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE1F,MAAM,MAAM,8BAA8B,GAAG,WAAW,CAAC,WAAW,GAClE,QAAQ,CAAC;IACP,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B,CAAC,GACF,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC5C,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,yBAAyB;6MAiBnC,8BAA8B;;CAyGhC,CAAC"}
|
|
@@ -5,10 +5,11 @@ export type SearchableSelectTriggerProps = RadixSelect.SelectTriggerProps & Omit
|
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
renderValue?: (value: string) => React.ReactNode;
|
|
7
7
|
value?: string;
|
|
8
|
+
multiline?: boolean;
|
|
8
9
|
size?: SearchableSelectSize;
|
|
9
10
|
}>;
|
|
10
11
|
export declare const SearchableSelectTrigger: {
|
|
11
|
-
({ className, placeholder, renderValue, value, size, ref, ...props }: SearchableSelectTriggerProps): import("react").JSX.Element;
|
|
12
|
+
({ className, placeholder, renderValue, value, multiline, size, ref, ...props }: SearchableSelectTriggerProps): import("react").JSX.Element;
|
|
12
13
|
displayName: string;
|
|
13
14
|
};
|
|
14
15
|
//# sourceMappingURL=SearchableSelectTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableSelectTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchableSelectTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SearchableSelect/SearchableSelectTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AAItD,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,SAAS,CAAC;AAmCzD,MAAM,MAAM,4BAA4B,GAAG,WAAW,CAAC,kBAAkB,GACvE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAClE,QAAQ,CAAC;IACP,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B,CAAC,CAAC;AAEL,eAAO,MAAM,uBAAuB;qFASjC,4BAA4B;;CAkB9B,CAAC"}
|
|
@@ -3,7 +3,8 @@ export type AppPricingCardsContainerProps = Readonly<{
|
|
|
3
3
|
lang: string;
|
|
4
4
|
billingPeriod?: AppPricingBillingPeriod;
|
|
5
5
|
items?: React.ReactNode;
|
|
6
|
-
|
|
6
|
+
/** `[currency, countryCode]` for the price footnote, resolved by the caller. */
|
|
7
|
+
localizedPriceInfo?: string[];
|
|
7
8
|
billingPeriodLabels: {
|
|
8
9
|
monthly: string;
|
|
9
10
|
yearly: string;
|
|
@@ -18,5 +19,5 @@ export type AppPricingCardsContainerProps = Readonly<{
|
|
|
18
19
|
footnoteCurrencyLabel: (currencyName: string, countryName: string) => string;
|
|
19
20
|
onBillingPeriodChange?: (billingPeriod: AppPricingBillingPeriod) => void;
|
|
20
21
|
}>;
|
|
21
|
-
export declare const AppPricingCardsContainer: ({ lang, billingPeriod, items,
|
|
22
|
+
export declare const AppPricingCardsContainer: ({ lang, billingPeriod, items, localizedPriceInfo, billingPeriodLabels, billingPeriodSubtitles, footnoteLabels, footnoteCurrencyLabel, onBillingPeriodChange, ...rest }: AppPricingCardsContainerProps) => import("react").JSX.Element;
|
|
22
23
|
//# sourceMappingURL=AppPricingCardsContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingCardsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppPricingCardsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,mBAAmB,EAAE;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,sBAAsB,CAAC,EAAE;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,qBAAqB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7E,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAC1E,CAAC,CAAC;AAEH,eAAO,MAAM,wBAAwB,GAAI,wKAWtC,6BAA6B,gCAuD/B,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { SubscriptionType } from "@photoroom/shared/utils/pricing";
|
|
2
|
+
import type { AppPricingPlanType, ResolvedPrice } from "@photoroom/shared/utils/pricing/app-pricing";
|
|
2
3
|
import { AppPricingBillingPeriod } from "./AppPricingCardsContainer";
|
|
3
4
|
import { AppPricingSubscriptionTypeSelectorProps } from "./AppPricingSubscriptionTypeSelector";
|
|
4
|
-
import { AppPricingPlanType } from "./utils";
|
|
5
5
|
export type AppPricingCardsItemV2Props = Readonly<{
|
|
6
|
-
lang: string;
|
|
7
6
|
planType?: AppPricingPlanType;
|
|
8
7
|
description?: React.ReactNode;
|
|
9
8
|
cta?: React.ReactElement[];
|
|
10
9
|
propLists?: React.ReactNode[];
|
|
11
10
|
billingPeriod?: AppPricingBillingPeriod;
|
|
12
|
-
userCountryCode?: string;
|
|
13
11
|
specialOfferLabel?: string;
|
|
14
12
|
clientLogos?: React.ReactNode[];
|
|
15
13
|
planPriceLabelOverride?: string;
|
|
16
14
|
planPriceSubLabel?: string;
|
|
17
|
-
|
|
15
|
+
planName?: string;
|
|
18
16
|
showYearlyPriceAsMonthly?: boolean;
|
|
19
17
|
tagLabel?: string;
|
|
20
18
|
tagVariant?: "accent" | "neutral";
|
|
@@ -28,6 +26,9 @@ export type AppPricingCardsItemV2Props = Readonly<{
|
|
|
28
26
|
subscriptionOptions?: AppPricingSubscriptionTypeSelectorProps["options"];
|
|
29
27
|
subscriptionType?: SubscriptionType;
|
|
30
28
|
onSubscriptionTypeChange?: (subscriptionType: SubscriptionType) => void;
|
|
29
|
+
subscriptionTypeSelectorVariant?: AppPricingSubscriptionTypeSelectorProps["variant"];
|
|
30
|
+
/** The localized display price; when omitted the price area shows a skeleton. */
|
|
31
|
+
resolvedPrice?: ResolvedPrice;
|
|
31
32
|
}>;
|
|
32
|
-
export declare const AppPricingCardsItemV2: ({
|
|
33
|
+
export declare const AppPricingCardsItemV2: ({ planType, description, cta, propLists, billingPeriod, specialOfferLabel, clientLogos, planPriceLabelOverride, planPriceSubLabel, planName, showYearlyPriceAsMonthly, tagLabel, tagVariant, variant, freePlanLabel, perMonthLabel, perYearLabel, billedAnnuallyLabel, subscriptionOptions, isUnavailable, unavailableLabel, subscriptionType: controlledSubscriptionType, onSubscriptionTypeChange, subscriptionTypeSelectorVariant, resolvedPrice, ...rest }: AppPricingCardsItemV2Props) => import("react").JSX.Element;
|
|
33
34
|
//# sourceMappingURL=AppPricingCardsItemV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingCardsItemV2.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"AppPricingCardsItemV2.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACd,MAAM,6CAA6C,CAAC;AAIrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,EAEL,uCAAuC,EACxC,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAChD,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,uCAAuC,CAAC,SAAS,CAAC,CAAC;IACzE,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,wBAAwB,CAAC,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACxE,+BAA+B,CAAC,EAAE,uCAAuC,CAAC,SAAS,CAAC,CAAC;IACrF,iFAAiF;IACjF,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC,CAAC;AAGH,eAAO,MAAM,qBAAqB,GAAI,gcA2BnC,0BAA0B,gCAgN5B,CAAC"}
|
|
@@ -3,10 +3,13 @@ export type AppPricingSubscriptionTypeSelectorProps = Readonly<{
|
|
|
3
3
|
options?: Array<{
|
|
4
4
|
label: string;
|
|
5
5
|
value: SubscriptionType;
|
|
6
|
-
description
|
|
6
|
+
description?: React.ReactNode;
|
|
7
7
|
}>;
|
|
8
8
|
value?: SubscriptionType;
|
|
9
9
|
onValueChange?: (value: SubscriptionType) => void;
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
variant?: "radio" | "select";
|
|
12
|
+
isDark?: boolean;
|
|
10
13
|
}>;
|
|
11
|
-
export declare const AppPricingSubscriptionTypeSelector: ({ options, value, onValueChange, }: AppPricingSubscriptionTypeSelectorProps) => import("react").JSX.Element | null;
|
|
14
|
+
export declare const AppPricingSubscriptionTypeSelector: ({ options, value, onValueChange, ariaLabel, variant, isDark, }: AppPricingSubscriptionTypeSelectorProps) => import("react").JSX.Element | null;
|
|
12
15
|
//# sourceMappingURL=AppPricingSubscriptionTypeSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingSubscriptionTypeSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"AppPricingSubscriptionTypeSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAMnE,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,OAAO,CAAC,EAAE,KAAK,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,gBAAgB,CAAC;QACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC/B,CAAC,CAAC;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,gEAOhD,uCAAuC,uCAiEzC,CAAC"}
|
package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
+
import type { AppPricingPlanType, ResolvedPrice } from "@photoroom/shared/utils/pricing/app-pricing";
|
|
1
2
|
import { AppPricingBillingPeriod } from "./AppPricingCardsContainer/AppPricingCardsContainer";
|
|
2
|
-
import { AppPricingPlanType } from "./AppPricingCardsContainer/utils";
|
|
3
3
|
export type AppPricingFeaturesPlanHeaderProps = Readonly<{
|
|
4
|
-
lang: string;
|
|
5
4
|
planName?: string;
|
|
6
5
|
planType?: AppPricingPlanType;
|
|
7
|
-
/** Plan type used for price lookup; defaults to planType (Ultra passes its credit tier). */
|
|
8
|
-
pricePlanType?: AppPricingPlanType;
|
|
9
6
|
billingPeriod?: AppPricingBillingPeriod;
|
|
10
|
-
userCountryCode?: string;
|
|
11
7
|
showYearlyPriceAsMonthly?: boolean;
|
|
12
8
|
/** Enterprise price label, e.g. "Custom". */
|
|
13
9
|
planPriceLabelOverride?: string;
|
|
@@ -16,10 +12,12 @@ export type AppPricingFeaturesPlanHeaderProps = Readonly<{
|
|
|
16
12
|
perMonthLabel: string;
|
|
17
13
|
perYearLabel: string;
|
|
18
14
|
billedAnnuallyLabel?: string;
|
|
15
|
+
/** The localized display price (ignored for Enterprise, which shows the override). */
|
|
16
|
+
resolvedPrice?: ResolvedPrice;
|
|
19
17
|
}>;
|
|
20
18
|
/**
|
|
21
19
|
* A comparison-table column header: plan name, price + period, and the plan's
|
|
22
20
|
* CTA — single-sourced from the matching pricing card so the two stay in sync.
|
|
23
21
|
*/
|
|
24
|
-
export declare const AppPricingFeaturesPlanHeader: ({
|
|
22
|
+
export declare const AppPricingFeaturesPlanHeader: ({ planName, planType, billingPeriod, showYearlyPriceAsMonthly, planPriceLabelOverride, cta, perMonthLabel, perYearLabel, billedAnnuallyLabel, resolvedPrice, }: AppPricingFeaturesPlanHeaderProps) => import("react").JSX.Element;
|
|
25
23
|
//# sourceMappingURL=AppPricingFeaturesPlanHeader.d.ts.map
|
package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingFeaturesPlanHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppPricingFeaturesPlanHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACd,MAAM,6CAA6C,CAAC;AAIrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAE9F,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,6CAA6C;IAC7C,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,6DAA6D;IAC7D,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sFAAsF;IACtF,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,gKAW1C,iCAAiC,gCA6BnC,CAAC"}
|