@photoroom/ui 0.1.493 → 0.1.495

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 (17) hide show
  1. package/components/content/BatchTile/BatchTile.d.ts +2 -1
  2. package/components/content/BatchTile/BatchTile.d.ts.map +1 -1
  3. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts +6 -3
  4. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsItemV2.d.ts.map +1 -1
  5. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts +5 -1
  6. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.d.ts.map +1 -1
  7. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts +4 -3
  8. package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts.map +1 -1
  9. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts +3 -1
  10. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesPlanHeader.d.ts.map +1 -1
  11. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.d.ts +2 -1
  12. package/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.d.ts.map +1 -1
  13. package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.d.ts +3 -1
  14. package/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.d.ts.map +1 -1
  15. package/index.css +1 -1
  16. package/index.mjs +62 -67
  17. package/package.json +1 -1
@@ -5,6 +5,7 @@ declare const containerCva: (props?: ({
5
5
  isSelected?: boolean | null | undefined;
6
6
  autoRatio?: boolean | null | undefined;
7
7
  isDragSelecting?: boolean | null | undefined;
8
+ isSharedCanvas?: boolean | null | undefined;
8
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
10
  type ContainerVariants = VariantProps<typeof containerCva>;
10
11
  export type BatchTileProps<TId extends string = string> = ContainerVariants & {
@@ -39,7 +40,7 @@ export type BatchTileProps<TId extends string = string> = ContainerVariants & {
39
40
  tileOverlay?: React.ReactElement;
40
41
  } & Omit<React.ComponentPropsWithoutRef<"div">, "onClick" | "onSelect"> & React.RefAttributes<HTMLDivElement>;
41
42
  export declare const BatchTile: {
42
- <TId extends string = string>({ id, fileName, name, size, status, isLoading, hasError, isSelected, autoRatio, isDragSelecting, onSelect, onClick, onDelete, onDuplicate, onRename, onSaveAsTemplate, onRefresh, onSelectAll, onDownload, isSelectAllDisabled, formatShortcut, menuLabels, onCopy, onPaste, onCopyEdits, onPasteEdits, isPasteEditsDisabled, hideOverlayActions, children, visualRef, tileOverlay, className, style, ref, ...restProps }: BatchTileProps<TId>): import("react").JSX.Element;
43
+ <TId extends string = string>({ id, fileName, name, size, status, isLoading, hasError, isSelected, autoRatio, isDragSelecting, isSharedCanvas, onSelect, onClick, onDelete, onDuplicate, onRename, onSaveAsTemplate, onRefresh, onSelectAll, onDownload, isSelectAllDisabled, formatShortcut, menuLabels, onCopy, onPaste, onCopyEdits, onPasteEdits, isPasteEditsDisabled, hideOverlayActions, children, visualRef, tileOverlay, className, style, ref, ...restProps }: BatchTileProps<TId>): import("react").JSX.Element;
43
44
  displayName: string;
44
45
  };
45
46
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"BatchTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BatchTile/BatchTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,WAAW,EACjB,MAAM,wBAAwB,CAAC;AAEhC,QAAA,MAAM,YAAY;;;;8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CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAClC,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,GACrE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAEtC,eAAO,MAAM,SAAS;KAAI,GAAG,SAAS,MAAM,sbAqCzC,cAAc,CAAC,GAAG,CAAC;;CAiRrB,CAAC"}
@@ -26,9 +26,12 @@ export type AppPricingCardsItemV2Props = Readonly<{
26
26
  subscriptionOptions?: AppPricingSubscriptionTypeSelectorProps["options"];
27
27
  subscriptionType?: SubscriptionType;
28
28
  onSubscriptionTypeChange?: (subscriptionType: SubscriptionType) => void;
29
- subscriptionTypeSelectorVariant?: AppPricingSubscriptionTypeSelectorProps["variant"];
30
- /** The localized display price; when omitted the price area shows a skeleton. */
29
+ /** The localized display price; when omitted the price area shows a skeleton (or a dash on error). */
31
30
  resolvedPrice?: ResolvedPrice;
31
+ /** The catalog fetch settled with no price (endpoint failed) → show a dash instead of a skeleton. */
32
+ isError?: boolean;
33
+ /** Option labels are catalog-driven (tokenized) and unresolved → skeleton the tier selector. */
34
+ isSelectorLoading?: boolean;
32
35
  }>;
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;
36
+ 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, resolvedPrice, isError, isSelectorLoading, ...rest }: AppPricingCardsItemV2Props) => import("react").JSX.Element;
34
37
  //# 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;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,gCA2N5B,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,sGAAsG;IACtG,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,qGAAqG;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC,CAAC;AAGH,eAAO,MAAM,qBAAqB,GAAI,2bA4BnC,0BAA0B,gCA2N5B,CAAC"}
@@ -9,8 +9,12 @@ export type AppPricingPriceProps = Readonly<{
9
9
  billedAnnuallyLabel?: string;
10
10
  showYearlyPriceAsMonthly?: boolean;
11
11
  disabled?: boolean;
12
+ /** Show a skeleton in place of the price while it resolves (children — e.g. the selector — still render). */
13
+ isLoading?: boolean;
14
+ /** The catalog fetch settled with no price (endpoint failed) → show a dash, not a skeleton. */
15
+ isError?: boolean;
12
16
  variant?: "default" | "dark";
13
17
  children?: React.ReactNode;
14
18
  }>;
15
- export declare const AppPricingPrice: ({ value, originalValue, priceSubLabel, billingPeriod, perMonthLabel, perYearLabel, billedAnnuallyLabel, showYearlyPriceAsMonthly, disabled, variant, children, }: AppPricingPriceProps) => import("react").JSX.Element;
19
+ export declare const AppPricingPrice: ({ value, originalValue, priceSubLabel, billingPeriod, perMonthLabel, perYearLabel, billedAnnuallyLabel, showYearlyPriceAsMonthly, disabled, isLoading, isError, variant, children, }: AppPricingPriceProps) => import("react").JSX.Element;
16
20
  //# 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":"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"}
1
+ {"version":3,"file":"AppPricingPrice.d.ts","sourceRoot":"","sources":["../../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingPrice.tsx"],"names":[],"mappings":"AAIA,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,6GAA6G;IAC7G,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,sLAc7B,oBAAoB,gCA4CtB,CAAC"}
@@ -3,13 +3,14 @@ export type AppPricingSubscriptionTypeSelectorProps = Readonly<{
3
3
  options?: Array<{
4
4
  label: string;
5
5
  value: SubscriptionType;
6
- description?: React.ReactNode;
7
6
  }>;
8
7
  value?: SubscriptionType;
9
8
  onValueChange?: (value: SubscriptionType) => void;
10
9
  ariaLabel?: string;
11
- variant?: "radio" | "select";
12
10
  isDark?: boolean;
11
+ /** Option labels depend on the catalog (tokenized) and it hasn't resolved → skeleton the control
12
+ * instead of rendering placeholder-stripped, indistinguishable options. */
13
+ isLoading?: boolean;
13
14
  }>;
14
- export declare const AppPricingSubscriptionTypeSelector: ({ options, value, onValueChange, ariaLabel, variant, isDark, }: AppPricingSubscriptionTypeSelectorProps) => import("react").JSX.Element | null;
15
+ export declare const AppPricingSubscriptionTypeSelector: ({ options, value, onValueChange, ariaLabel, isDark, isLoading, }: AppPricingSubscriptionTypeSelectorProps) => import("react").JSX.Element | null;
15
16
  //# 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;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"}
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;KACzB,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,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;gFAC4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,kEAOhD,uCAAuC,uCAyCzC,CAAC"}
@@ -14,10 +14,12 @@ export type AppPricingFeaturesPlanHeaderProps = Readonly<{
14
14
  billedAnnuallyLabel?: string;
15
15
  /** The localized display price (ignored for Enterprise, which shows the override). */
16
16
  resolvedPrice?: ResolvedPrice;
17
+ /** The catalog fetch settled with no price (endpoint failed) → show a dash, not a skeleton. */
18
+ isError?: boolean;
17
19
  }>;
18
20
  /**
19
21
  * A comparison-table column header: plan name, price + period, and the plan's
20
22
  * CTA — single-sourced from the matching pricing card so the two stay in sync.
21
23
  */
22
- export declare const AppPricingFeaturesPlanHeader: ({ planName, planType, billingPeriod, showYearlyPriceAsMonthly, planPriceLabelOverride, cta, perMonthLabel, perYearLabel, billedAnnuallyLabel, resolvedPrice, }: AppPricingFeaturesPlanHeaderProps) => import("react").JSX.Element;
24
+ export declare const AppPricingFeaturesPlanHeader: ({ planName, planType, billingPeriod, showYearlyPriceAsMonthly, planPriceLabelOverride, cta, perMonthLabel, perYearLabel, billedAnnuallyLabel, resolvedPrice, isError, }: AppPricingFeaturesPlanHeaderProps) => import("react").JSX.Element;
23
25
  //# sourceMappingURL=AppPricingFeaturesPlanHeader.d.ts.map
@@ -1 +1 @@
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"}
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;AAKrD,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;IAC9B,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,yKAY1C,iCAAiC,gCAqCnC,CAAC"}
@@ -4,6 +4,7 @@ export type AppPricingFeaturesSectionItemBadgeProps = Readonly<{
4
4
  planName?: string;
5
5
  includedLabel: string;
6
6
  excludedLabel: string;
7
+ isLoading?: boolean;
7
8
  }>;
8
- export declare const AppPricingFeaturesSectionItemBadge: ({ isChecked, description, planName, includedLabel, excludedLabel, }: AppPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
9
+ export declare const AppPricingFeaturesSectionItemBadge: ({ isChecked, description, planName, includedLabel, excludedLabel, isLoading, }: AppPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
9
10
  //# sourceMappingURL=AppPricingFeaturesSectionItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,qEAMhD,uCAAuC,gCAUzC,CAAC"}
1
+ {"version":3,"file":"AppPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,gFAOhD,uCAAuC,gCAWzC,CAAC"}
@@ -4,6 +4,8 @@ export type PricingFeaturesSectionItemBadgeProps = Readonly<{
4
4
  description?: string;
5
5
  includedLabel: string;
6
6
  excludedLabel: string;
7
+ /** Skeleton the cell while a backend-sourced value resolves (never show stripped copy in its place). */
8
+ isLoading?: boolean;
7
9
  }>;
8
- export declare const PricingFeaturesSectionItemBadge: ({ isChecked, planName, description, includedLabel, excludedLabel, }: PricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
10
+ export declare const PricingFeaturesSectionItemBadge: ({ isChecked, planName, description, includedLabel, excludedLabel, isLoading, }: PricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
9
11
  //# sourceMappingURL=PricingFeaturesSectionItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,+BAA+B,GAAI,qEAM7C,oCAAoC,gCAmCtC,CAAC"}
1
+ {"version":3,"file":"PricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,wGAAwG;IACxG,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,+BAA+B,GAAI,gFAO7C,oCAAoC,gCAyCtC,CAAC"}