@photoroom/ui 0.1.335 → 0.1.337

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.
Files changed (24) hide show
  1. package/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.d.ts +2 -1
  2. package/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.d.ts.map +1 -1
  3. package/components/input/SearchableSelect/SearchableSelect.d.ts +3 -3
  4. package/components/input/SearchableSelect/SearchableSelect.d.ts.map +1 -1
  5. package/components/input/SearchableSelect/SearchableSelectItem.d.ts +2 -1
  6. package/components/input/SearchableSelect/SearchableSelectItem.d.ts.map +1 -1
  7. package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts +2 -1
  8. package/components/input/SearchableSelect/SearchableSelectPrimitive.d.ts.map +1 -1
  9. package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts +2 -1
  10. package/components/input/SearchableSelect/SearchableSelectTrigger.d.ts.map +1 -1
  11. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts +3 -2
  12. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.d.ts.map +1 -1
  13. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts +6 -5
  14. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts.map +1 -1
  15. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts +5 -2
  16. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts.map +1 -1
  17. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts +0 -1
  18. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/index.d.ts.map +1 -1
  19. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts +4 -6
  20. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts.map +1 -1
  21. package/index.mjs +11273 -13092
  22. package/package.json +1 -1
  23. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts +0 -27
  24. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.335",
3
+ "version": "0.1.337",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
@@ -1,27 +0,0 @@
1
- import { SubscriptionType } from "@photoroom/shared/utils/pricing";
2
- import type { AppPricingBillingPeriod } from "./AppPricingCardsContainer";
3
- export type AppPricingPlanType = SubscriptionType | "free" | "enterprise" | undefined;
4
- export declare function getMonthlyPriceDetails(planType: AppPricingPlanType, countryCode: string): import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
5
- export declare function getYearlyPriceDetails(planType: AppPricingPlanType, countryCode: string): import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
6
- export declare function useBillingPeriodPrices(planType: AppPricingPlanType, userCountryCode: string | undefined): {
7
- monthly: import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
8
- yearly: import("@photoroom/shared/utils/pricing").PriceMetadata | undefined;
9
- } | undefined;
10
- /**
11
- * Formats the localized display price for a plan, plus the struck-through full
12
- * monthly price when a yearly-billing discount applies. Shared by the plan cards
13
- * and the comparison-table header so both show identical prices.
14
- */
15
- export declare function useAppLocalizedPrice({ lang, planType, subscriptionType, billingPeriod, userCountryCode, showYearlyPriceAsMonthly, }: {
16
- lang: string;
17
- planType: AppPricingPlanType;
18
- subscriptionType?: AppPricingPlanType;
19
- billingPeriod: AppPricingBillingPeriod | undefined;
20
- userCountryCode: string | undefined;
21
- showYearlyPriceAsMonthly?: boolean;
22
- }): {
23
- value?: string;
24
- originalValue?: string;
25
- };
26
- export declare function useLocalizedAppPriceInfo(planType: AppPricingPlanType, userCountryCode: string | undefined): string[] | undefined;
27
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,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;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,wBAAwB,GACzB,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,kBAAkB,CAAC;IACtC,aAAa,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACnD,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CAsD7C;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,kBAAkB,EAC5B,eAAe,EAAE,MAAM,GAAG,SAAS,wBA6BpC"}