@bunnyapp/components 1.8.0-beta.26 → 1.8.0-beta.27
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/dist/cjs/index.js +124 -96
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +7 -1
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +1 -0
- package/dist/esm/index.js +124 -96
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +7 -1
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PriceList from '@/types/PriceList';
|
|
2
2
|
import Product from '@/types/Product';
|
|
3
|
-
declare const EverythingPlanFeatures: ({ displayPriceLists, selectedProduct, plansToDisplay, hideBorder, }: {
|
|
3
|
+
declare const EverythingPlanFeatures: ({ displayPriceLists, selectedProduct, plansToDisplay, hideBorder, className, }: {
|
|
4
4
|
displayPriceLists: PriceList[];
|
|
5
5
|
plansToDisplay: number;
|
|
6
6
|
selectedProduct?: Product;
|
|
7
7
|
hideBorder?: boolean;
|
|
8
|
+
className?: string;
|
|
8
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default EverythingPlanFeatures;
|
package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import PriceList from '@/types/PriceList';
|
|
2
|
+
import Feature from '@/types/Feature';
|
|
2
3
|
import { PlanFeature } from '@/types/frontendTypes';
|
|
4
|
+
export type FeatureGroup = {
|
|
5
|
+
groupFeature?: Feature;
|
|
6
|
+
features: Feature[];
|
|
7
|
+
};
|
|
8
|
+
export declare const organizeFeaturesIntoGroups: (features: Feature[]) => FeatureGroup[];
|
|
3
9
|
export declare const filterUniqueFeatures: ({ availablePriceLists, }: {
|
|
4
10
|
availablePriceLists: PriceList[];
|
|
5
11
|
}) => {
|
|
@@ -16,7 +22,7 @@ export declare const filterUniqueFeatures: ({ availablePriceLists, }: {
|
|
|
16
22
|
contactUsUrl?: string;
|
|
17
23
|
createdAt: string;
|
|
18
24
|
description?: string;
|
|
19
|
-
features?:
|
|
25
|
+
features?: Feature[];
|
|
20
26
|
id: string;
|
|
21
27
|
internalNotes?: string;
|
|
22
28
|
isAvailableNow?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FragmentOf } from 'gql.tada';
|
|
2
2
|
export declare const BillingPeriodDescription_PriceListFragment: import("gql.tada").TadaDocumentNode<{
|
|
3
3
|
periodMonths: number | null;
|
|
4
|
+
basePrice: number | null;
|
|
4
5
|
}, {}, {
|
|
5
6
|
fragment: "BillingPeriodDescription_PriceListFragment";
|
|
6
7
|
on: "PriceList";
|
package/package.json
CHANGED