@schematichq/schematic-components 1.1.2 → 1.1.4
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/schematic-components.cjs.js +401 -302
- package/dist/schematic-components.d.ts +179 -0
- package/dist/schematic-components.esm.js +408 -303
- package/package.json +4 -4
|
@@ -3,6 +3,7 @@ import { Context } from 'react';
|
|
|
3
3
|
import { DetailedHTMLProps } from 'react';
|
|
4
4
|
import { FastOmit } from 'styled-components';
|
|
5
5
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
|
+
import { HTMLAttributeAnchorTarget } from 'react';
|
|
6
7
|
import { HTMLAttributes } from 'react';
|
|
7
8
|
import { IconNames } from '@schematichq/schematic-icons';
|
|
8
9
|
import { IconProps as IconProps_2 } from '@schematichq/schematic-icons';
|
|
@@ -20,6 +21,12 @@ import { Substitute } from 'styled-components/dist/types';
|
|
|
20
21
|
* @interface BillingCreditBundleView
|
|
21
22
|
*/
|
|
22
23
|
declare interface BillingCreditBundleView {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingCreditBundleView
|
|
28
|
+
*/
|
|
29
|
+
billingInvoiceId?: string | null;
|
|
23
30
|
/**
|
|
24
31
|
*
|
|
25
32
|
* @type {string}
|
|
@@ -32,12 +39,30 @@ declare interface BillingCreditBundleView {
|
|
|
32
39
|
* @memberof BillingCreditBundleView
|
|
33
40
|
*/
|
|
34
41
|
createdAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingCreditBundleView
|
|
46
|
+
*/
|
|
47
|
+
creditDescription?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BillingCreditBundleView
|
|
52
|
+
*/
|
|
53
|
+
creditIcon?: string | null;
|
|
35
54
|
/**
|
|
36
55
|
*
|
|
37
56
|
* @type {string}
|
|
38
57
|
* @memberof BillingCreditBundleView
|
|
39
58
|
*/
|
|
40
59
|
creditId: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BillingCreditBundleView
|
|
64
|
+
*/
|
|
65
|
+
creditName: string;
|
|
41
66
|
/**
|
|
42
67
|
*
|
|
43
68
|
* @type {string}
|
|
@@ -68,6 +93,12 @@ declare interface BillingCreditBundleView {
|
|
|
68
93
|
* @memberof BillingCreditBundleView
|
|
69
94
|
*/
|
|
70
95
|
name: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BillingCreditBundleView
|
|
100
|
+
*/
|
|
101
|
+
pluralName?: string | null;
|
|
71
102
|
/**
|
|
72
103
|
*
|
|
73
104
|
* @type {BillingProductPriceResponseData}
|
|
@@ -80,12 +111,24 @@ declare interface BillingCreditBundleView {
|
|
|
80
111
|
* @memberof BillingCreditBundleView
|
|
81
112
|
*/
|
|
82
113
|
quantity?: number | null;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof BillingCreditBundleView
|
|
118
|
+
*/
|
|
119
|
+
singularName?: string | null;
|
|
83
120
|
/**
|
|
84
121
|
*
|
|
85
122
|
* @type {string}
|
|
86
123
|
* @memberof BillingCreditBundleView
|
|
87
124
|
*/
|
|
88
125
|
status: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {BillingProductPriceResponseData}
|
|
129
|
+
* @memberof BillingCreditBundleView
|
|
130
|
+
*/
|
|
131
|
+
unitPrice?: BillingProductPriceResponseData;
|
|
89
132
|
/**
|
|
90
133
|
*
|
|
91
134
|
* @type {Date}
|
|
@@ -2325,6 +2368,12 @@ declare interface CompanyPlanDetailResponseData {
|
|
|
2325
2368
|
* @memberof CompanyPlanDetailResponseData
|
|
2326
2369
|
*/
|
|
2327
2370
|
id: string;
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @type {Array<PlanCreditGrantView>}
|
|
2374
|
+
* @memberof CompanyPlanDetailResponseData
|
|
2375
|
+
*/
|
|
2376
|
+
includedCreditGrants: Array<PlanCreditGrantView>;
|
|
2328
2377
|
/**
|
|
2329
2378
|
*
|
|
2330
2379
|
* @type {boolean}
|
|
@@ -2906,6 +2955,18 @@ declare interface CreditCompanyGrantView {
|
|
|
2906
2955
|
* @memberof CreditCompanyGrantView
|
|
2907
2956
|
*/
|
|
2908
2957
|
createdAt: Date;
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @type {string}
|
|
2961
|
+
* @memberof CreditCompanyGrantView
|
|
2962
|
+
*/
|
|
2963
|
+
creditDescription: string;
|
|
2964
|
+
/**
|
|
2965
|
+
*
|
|
2966
|
+
* @type {string}
|
|
2967
|
+
* @memberof CreditCompanyGrantView
|
|
2968
|
+
*/
|
|
2969
|
+
creditIcon?: string | null;
|
|
2909
2970
|
/**
|
|
2910
2971
|
*
|
|
2911
2972
|
* @type {string}
|
|
@@ -2942,6 +3003,12 @@ declare interface CreditCompanyGrantView {
|
|
|
2942
3003
|
* @memberof CreditCompanyGrantView
|
|
2943
3004
|
*/
|
|
2944
3005
|
planName?: string | null;
|
|
3006
|
+
/**
|
|
3007
|
+
*
|
|
3008
|
+
* @type {string}
|
|
3009
|
+
* @memberof CreditCompanyGrantView
|
|
3010
|
+
*/
|
|
3011
|
+
pluralName?: string | null;
|
|
2945
3012
|
/**
|
|
2946
3013
|
*
|
|
2947
3014
|
* @type {BillingProductPriceResponseData}
|
|
@@ -2966,6 +3033,12 @@ declare interface CreditCompanyGrantView {
|
|
|
2966
3033
|
* @memberof CreditCompanyGrantView
|
|
2967
3034
|
*/
|
|
2968
3035
|
quantityUsed: number;
|
|
3036
|
+
/**
|
|
3037
|
+
*
|
|
3038
|
+
* @type {string}
|
|
3039
|
+
* @memberof CreditCompanyGrantView
|
|
3040
|
+
*/
|
|
3041
|
+
singularName?: string | null;
|
|
2969
3042
|
/**
|
|
2970
3043
|
*
|
|
2971
3044
|
* @type {string}
|
|
@@ -3285,12 +3358,14 @@ declare interface DesignProps_7 {
|
|
|
3285
3358
|
};
|
|
3286
3359
|
showInclusionText: boolean;
|
|
3287
3360
|
showFeatureIcons: boolean;
|
|
3361
|
+
showFeatureDescriptions: boolean;
|
|
3288
3362
|
showEntitlements: boolean;
|
|
3289
3363
|
};
|
|
3290
3364
|
addOns: {
|
|
3291
3365
|
isVisible: boolean;
|
|
3292
3366
|
showDescription: boolean;
|
|
3293
3367
|
showFeatureIcons: boolean;
|
|
3368
|
+
showFeatureDescriptions: boolean;
|
|
3294
3369
|
showEntitlements: boolean;
|
|
3295
3370
|
};
|
|
3296
3371
|
upgrade: {
|
|
@@ -5086,6 +5161,109 @@ declare interface PaymentMethodResponseData {
|
|
|
5086
5161
|
updatedAt: Date;
|
|
5087
5162
|
}
|
|
5088
5163
|
|
|
5164
|
+
/**
|
|
5165
|
+
* Schematic API
|
|
5166
|
+
* Schematic API
|
|
5167
|
+
*
|
|
5168
|
+
* The version of the OpenAPI document: 0.1
|
|
5169
|
+
*
|
|
5170
|
+
*
|
|
5171
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5172
|
+
* https://openapi-generator.tech
|
|
5173
|
+
* Do not edit the class manually.
|
|
5174
|
+
*/
|
|
5175
|
+
/**
|
|
5176
|
+
*
|
|
5177
|
+
* @export
|
|
5178
|
+
* @interface PlanCreditGrantView
|
|
5179
|
+
*/
|
|
5180
|
+
declare interface PlanCreditGrantView {
|
|
5181
|
+
/**
|
|
5182
|
+
*
|
|
5183
|
+
* @type {Date}
|
|
5184
|
+
* @memberof PlanCreditGrantView
|
|
5185
|
+
*/
|
|
5186
|
+
createdAt: Date;
|
|
5187
|
+
/**
|
|
5188
|
+
*
|
|
5189
|
+
* @type {number}
|
|
5190
|
+
* @memberof PlanCreditGrantView
|
|
5191
|
+
*/
|
|
5192
|
+
creditAmount: number;
|
|
5193
|
+
/**
|
|
5194
|
+
*
|
|
5195
|
+
* @type {string}
|
|
5196
|
+
* @memberof PlanCreditGrantView
|
|
5197
|
+
*/
|
|
5198
|
+
creditDescription: string;
|
|
5199
|
+
/**
|
|
5200
|
+
*
|
|
5201
|
+
* @type {string}
|
|
5202
|
+
* @memberof PlanCreditGrantView
|
|
5203
|
+
*/
|
|
5204
|
+
creditIcon?: string | null;
|
|
5205
|
+
/**
|
|
5206
|
+
*
|
|
5207
|
+
* @type {string}
|
|
5208
|
+
* @memberof PlanCreditGrantView
|
|
5209
|
+
*/
|
|
5210
|
+
creditId: string;
|
|
5211
|
+
/**
|
|
5212
|
+
*
|
|
5213
|
+
* @type {string}
|
|
5214
|
+
* @memberof PlanCreditGrantView
|
|
5215
|
+
*/
|
|
5216
|
+
creditName: string;
|
|
5217
|
+
/**
|
|
5218
|
+
*
|
|
5219
|
+
* @type {string}
|
|
5220
|
+
* @memberof PlanCreditGrantView
|
|
5221
|
+
*/
|
|
5222
|
+
id: string;
|
|
5223
|
+
/**
|
|
5224
|
+
*
|
|
5225
|
+
* @type {string}
|
|
5226
|
+
* @memberof PlanCreditGrantView
|
|
5227
|
+
*/
|
|
5228
|
+
planId: string;
|
|
5229
|
+
/**
|
|
5230
|
+
*
|
|
5231
|
+
* @type {string}
|
|
5232
|
+
* @memberof PlanCreditGrantView
|
|
5233
|
+
*/
|
|
5234
|
+
planName: string;
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @type {string}
|
|
5238
|
+
* @memberof PlanCreditGrantView
|
|
5239
|
+
*/
|
|
5240
|
+
pluralName?: string | null;
|
|
5241
|
+
/**
|
|
5242
|
+
*
|
|
5243
|
+
* @type {string}
|
|
5244
|
+
* @memberof PlanCreditGrantView
|
|
5245
|
+
*/
|
|
5246
|
+
resetCadence: string;
|
|
5247
|
+
/**
|
|
5248
|
+
*
|
|
5249
|
+
* @type {string}
|
|
5250
|
+
* @memberof PlanCreditGrantView
|
|
5251
|
+
*/
|
|
5252
|
+
resetStart: string;
|
|
5253
|
+
/**
|
|
5254
|
+
*
|
|
5255
|
+
* @type {string}
|
|
5256
|
+
* @memberof PlanCreditGrantView
|
|
5257
|
+
*/
|
|
5258
|
+
singularName?: string | null;
|
|
5259
|
+
/**
|
|
5260
|
+
*
|
|
5261
|
+
* @type {Date}
|
|
5262
|
+
* @memberof PlanCreditGrantView
|
|
5263
|
+
*/
|
|
5264
|
+
updatedAt: Date;
|
|
5265
|
+
}
|
|
5266
|
+
|
|
5089
5267
|
/**
|
|
5090
5268
|
*
|
|
5091
5269
|
* @export
|
|
@@ -6207,6 +6385,7 @@ export declare const PricingTable: ForwardRefExoticComponent<ElementProps & Deep
|
|
|
6207
6385
|
|
|
6208
6386
|
export declare type PricingTableOptions = {
|
|
6209
6387
|
callToActionUrl?: string;
|
|
6388
|
+
callToActionTarget?: HTMLAttributeAnchorTarget;
|
|
6210
6389
|
onCallToAction?: (plan: PlanViewPublicResponseData | CompanyPlanDetailResponseData) => unknown;
|
|
6211
6390
|
};
|
|
6212
6391
|
|