valtech-components 4.0.259 → 4.0.261

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.
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { PricingBillingCycle, PricingPlanCard, PricingTableMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PricingTableComponent {
5
+ props: PricingTableMetadata;
6
+ onSelect: EventEmitter<string>;
7
+ cycle(): PricingBillingCycle;
8
+ featuredLabel(): string;
9
+ currentLabel(): string;
10
+ customPriceLabel(): string;
11
+ defaultCtaLabel(): string;
12
+ periodLabel(): string;
13
+ priceLabel(plan: PricingPlanCard): string;
14
+ select(plan: PricingPlanCard): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<PricingTableComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<PricingTableComponent, "val-pricing-table", never, { "props": { "alias": "props"; "required": true; }; }, { "onSelect": "onSelect"; }, never, never, true, never>;
17
+ }
@@ -0,0 +1,40 @@
1
+ export type PricingBillingCycle = 'monthly' | 'annual';
2
+ export type PricingPlanFeature = {
3
+ label: string;
4
+ included?: boolean;
5
+ };
6
+ export type PricingPlanLimit = {
7
+ label: string;
8
+ value: string;
9
+ };
10
+ export type PricingPlanCard = {
11
+ tier: string;
12
+ name: string;
13
+ description?: string;
14
+ priceMonthly?: number;
15
+ priceAnnual?: number;
16
+ currency?: string;
17
+ highlighted?: boolean;
18
+ custom?: boolean;
19
+ current?: boolean;
20
+ disabled?: boolean;
21
+ badge?: string;
22
+ ctaLabel?: string;
23
+ summaryTitle?: string;
24
+ summary?: string[];
25
+ featuresTitle?: string;
26
+ features?: PricingPlanFeature[];
27
+ limits?: PricingPlanLimit[];
28
+ };
29
+ export type PricingTableMetadata = {
30
+ plans: PricingPlanCard[];
31
+ billingCycle?: PricingBillingCycle;
32
+ locale?: string;
33
+ emptyLabel?: string;
34
+ featuredLabel?: string;
35
+ currentLabel?: string;
36
+ customPriceLabel?: string;
37
+ monthlyPeriodLabel?: string;
38
+ annualPeriodLabel?: string;
39
+ defaultCtaLabel?: string;
40
+ };
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.259";
5
+ export declare const VERSION = "4.0.261";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.259",
3
+ "version": "4.0.261",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -344,6 +344,8 @@ export * from './lib/components/organisms/skeleton-layout/skeleton-layout.compon
344
344
  export * from './lib/components/organisms/skeleton-layout/types';
345
345
  export * from './lib/components/organisms/faq/faq.component';
346
346
  export * from './lib/components/organisms/faq/types';
347
+ export * from './lib/components/organisms/pricing-table/pricing-table.component';
348
+ export * from './lib/components/organisms/pricing-table/types';
347
349
  export * from './lib/components/templates/simple/simple.component';
348
350
  export * from './lib/components/templates/simple/types';
349
351
  export * from './lib/components/templates/page-template/page-template.component';