@photoroom/ui 0.1.319 → 0.1.320
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/content/PropList/PropListItem.d.ts +2 -2
- package/components/content/PropList/PropListItem.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts +1 -4
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsGroup.d.ts +8 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsGroup.d.ts.map +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts +5 -5
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts +4 -2
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts +1 -0
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts +0 -22
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +11730 -12790
- package/package.json +2 -2
|
@@ -3,13 +3,13 @@ declare const propListItemCva: (props?: ({
|
|
|
3
3
|
size?: "small" | "large" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
5
|
declare const propListItemIconWrapperCva: (props?: ({
|
|
6
|
-
variant?: "default" | "accent" | null | undefined;
|
|
6
|
+
variant?: "default" | "accent" | "muted" | null | undefined;
|
|
7
7
|
withFootnote?: boolean | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type PropListItemCvaProps = VariantProps<typeof propListItemCva> & VariantProps<typeof propListItemIconWrapperCva>;
|
|
10
10
|
export type PropListItemProps = Readonly<{
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
icon?: React.ComponentType<React.ComponentPropsWithoutRef<"svg"
|
|
12
|
+
icon?: React.ComponentType<React.ComponentPropsWithoutRef<"svg">> | null;
|
|
13
13
|
footnote?: React.ReactNode;
|
|
14
14
|
} & Omit<PropListItemCvaProps, "withFootnote">>;
|
|
15
15
|
export declare const PropListItem: ({ children, icon: Icon, size, variant, footnote, ...rest }: PropListItemProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/content/PropList/PropListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"PropListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/content/PropList/PropListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,QAAA,MAAM,eAAe;;8EAUnB,CAAC;AAcH,QAAA,MAAM,0BAA0B;;;8EAe9B,CAAC;AAoDH,KAAK,oBAAoB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,GAC9D,YAAY,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC;IACE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;IACzE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,IAAI,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAC/C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,4DAO1B,iBAAiB,gCA4BnB,CAAC"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
export type AppPricingBillingPeriod = "
|
|
1
|
+
export type AppPricingBillingPeriod = "monthly" | "yearly";
|
|
2
2
|
export type AppPricingCardsContainerProps = Readonly<{
|
|
3
3
|
lang: string;
|
|
4
4
|
billingPeriod?: AppPricingBillingPeriod;
|
|
5
5
|
items?: React.ReactNode;
|
|
6
6
|
userCountryCode?: string;
|
|
7
7
|
billingPeriodLabels: {
|
|
8
|
-
weekly: string;
|
|
9
8
|
monthly: string;
|
|
10
9
|
yearly: string;
|
|
11
10
|
};
|
|
12
11
|
billingPeriodSubtitles?: {
|
|
13
|
-
weekly?: string;
|
|
14
12
|
monthly?: string;
|
|
15
13
|
yearly?: string;
|
|
16
14
|
};
|
|
17
15
|
footnoteLabels: {
|
|
18
|
-
weekly: string;
|
|
19
16
|
monthly: string;
|
|
20
17
|
};
|
|
21
18
|
footnoteCurrencyLabel: (currencyName: string, countryName: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingCardsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,uBAAuB,GAAG,
|
|
1
|
+
{"version":3,"file":"AppPricingCardsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.tsx"],"names":[],"mappings":"AAOA,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,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,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,qKAWtC,6BAA6B,gCA8D/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type AppPricingCardsGroupVariant = "accent" | "neutral";
|
|
2
|
+
export type AppPricingCardsGroupProps = Readonly<{
|
|
3
|
+
label: string;
|
|
4
|
+
variant?: AppPricingCardsGroupVariant;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const AppPricingCardsGroup: ({ label, variant, children, ...rest }: AppPricingCardsGroupProps) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=AppPricingCardsGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppPricingCardsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsGroup.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,2BAA2B,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,uCAKlC,yBAAyB,gCAsB3B,CAAC"}
|
|
@@ -12,19 +12,19 @@ export type AppPricingCardsItemV2Props = Readonly<{
|
|
|
12
12
|
specialOfferLabel?: string;
|
|
13
13
|
clientLogos?: React.ReactNode[];
|
|
14
14
|
planPriceLabelOverride?: string;
|
|
15
|
+
planPriceSubLabel?: string;
|
|
15
16
|
planNameOverride?: string;
|
|
16
|
-
isHighlighted?: boolean;
|
|
17
17
|
showYearlyPriceAsMonthly?: boolean;
|
|
18
|
+
tagLabel?: string;
|
|
19
|
+
tagVariant?: "accent" | "neutral";
|
|
20
|
+
variant?: "default" | "dark";
|
|
18
21
|
freePlanLabel: string;
|
|
19
22
|
perMonthLabel: string;
|
|
20
|
-
perWeekLabel: string;
|
|
21
23
|
perYearLabel: string;
|
|
22
24
|
billedAnnuallyLabel: string;
|
|
23
|
-
moreInfoLabel: string;
|
|
24
|
-
getStartedLabel: string;
|
|
25
25
|
isUnavailable?: boolean;
|
|
26
26
|
unavailableLabel: string;
|
|
27
27
|
subscriptionOptions?: AppPricingSubscriptionTypeSelectorProps["options"];
|
|
28
28
|
}>;
|
|
29
|
-
export declare const AppPricingCardsItemV2: ({ lang, planType, description, cta, propLists, billingPeriod, userCountryCode, specialOfferLabel, clientLogos, planPriceLabelOverride,
|
|
29
|
+
export declare const AppPricingCardsItemV2: ({ lang, planType, description, cta, propLists, billingPeriod, userCountryCode, specialOfferLabel, clientLogos, planPriceLabelOverride, planPriceSubLabel, planNameOverride, showYearlyPriceAsMonthly, tagLabel, tagVariant, variant, freePlanLabel, perMonthLabel, perYearLabel, billedAnnuallyLabel, subscriptionOptions, isUnavailable, unavailableLabel, ...rest }: AppPricingCardsItemV2Props) => import("react").JSX.Element;
|
|
30
30
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"AppPricingCardsItemV2.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,EAEL,uCAAuC,EACxC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAoD,MAAM,SAAS,CAAC;AAI/F,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,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,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,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,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,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;CAC1E,CAAC,CAAC;AAGH,eAAO,MAAM,qBAAqB,GAAI,uWAyBnC,0BAA0B,gCAmR5B,CAAC"}
|
package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { AppPricingBillingPeriod } from "./AppPricingCardsContainer";
|
|
2
2
|
export type AppPricingPriceProps = Readonly<{
|
|
3
3
|
value?: string;
|
|
4
|
+
originalValue?: string;
|
|
5
|
+
priceSubLabel?: string;
|
|
4
6
|
billingPeriod?: AppPricingBillingPeriod | undefined;
|
|
5
7
|
perMonthLabel?: string;
|
|
6
|
-
perWeekLabel?: string;
|
|
7
8
|
perYearLabel?: string;
|
|
8
9
|
billedAnnuallyLabel?: string;
|
|
9
10
|
showYearlyPriceAsMonthly?: boolean;
|
|
10
11
|
disabled?: boolean;
|
|
12
|
+
variant?: "default" | "dark";
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
|
-
export declare const AppPricingPrice: ({ value, billingPeriod, perMonthLabel,
|
|
15
|
+
export declare const AppPricingPrice: ({ value, originalValue, priceSubLabel, billingPeriod, perMonthLabel, perYearLabel, billedAnnuallyLabel, showYearlyPriceAsMonthly, disabled, variant, children, }: AppPricingPriceProps) => import("react").JSX.Element;
|
|
14
16
|
//# sourceMappingURL=AppPricingPrice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPricingPrice.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppPricingPrice.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,kKAY7B,oBAAoB,gCAoCtB,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,yBAAyB,CAAC;AACxC,cAAc,SAAS,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;AACxC,cAAc,SAAS,CAAC"}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
import { SubscriptionType } from "@photoroom/shared/utils/pricing";
|
|
2
2
|
export type AppPricingPlanType = SubscriptionType | "free" | "enterprise" | undefined;
|
|
3
|
-
export declare function getWeeklyPriceDetails(planType: AppPricingPlanType): ({
|
|
4
|
-
countryName: string;
|
|
5
|
-
currency: string;
|
|
6
|
-
price: number;
|
|
7
|
-
countryCode: string;
|
|
8
|
-
} | {
|
|
9
|
-
countryName: string;
|
|
10
|
-
currency: string;
|
|
11
|
-
price: null;
|
|
12
|
-
countryCode: string;
|
|
13
|
-
})[] | undefined;
|
|
14
3
|
export declare function getMonthlyPriceDetails(planType: AppPricingPlanType, countryCode: string): import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
|
|
15
4
|
export declare function getYearlyPriceDetails(planType: AppPricingPlanType, countryCode: string): import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
|
|
16
5
|
export declare function useBillingPeriodPrices(planType: AppPricingPlanType, userCountryCode: string | undefined): {
|
|
17
|
-
weekly: ({
|
|
18
|
-
countryName: string;
|
|
19
|
-
currency: string;
|
|
20
|
-
price: number;
|
|
21
|
-
countryCode: string;
|
|
22
|
-
} | {
|
|
23
|
-
countryName: string;
|
|
24
|
-
currency: string;
|
|
25
|
-
price: null;
|
|
26
|
-
countryCode: string;
|
|
27
|
-
})[] | undefined;
|
|
28
6
|
monthly: import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
|
|
29
7
|
yearly: import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
|
|
30
8
|
} | undefined;
|
package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AAKzC,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;AAEtF,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,uEAyBvF;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,uEAyBtF;AACD,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,kBAAkB,EAC5B,eAAe,EAAE,MAAM,GAAG,SAAS;;;cAYpC;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,kBAAkB,EAC5B,eAAe,EAAE,MAAM,GAAG,SAAS,wBA6BpC"}
|