@sudobility/subscription-components 1.0.1 → 1.0.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/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +772 -606
- package/dist/index.umd.js +1 -1
- package/dist/segmented-control.d.ts +41 -0
- package/dist/segmented-control.d.ts.map +1 -0
- package/dist/subscription-layout.d.ts +18 -3
- package/dist/subscription-layout.d.ts.map +1 -1
- package/dist/subscription-tile.d.ts +3 -1
- package/dist/subscription-tile.d.ts.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
* All components support full localization - text labels are passed by the consumer.
|
|
6
6
|
*/
|
|
7
7
|
export { SubscriptionTile, type SubscriptionTileProps, } from './subscription-tile';
|
|
8
|
-
export { SubscriptionLayout, type SubscriptionLayoutProps, type SubscriptionStatusConfig, type ActionButtonConfig, } from './subscription-layout';
|
|
8
|
+
export { SubscriptionLayout, type SubscriptionLayoutProps, type SubscriptionLayoutVariant, type SubscriptionStatusConfig, type ActionButtonConfig, } from './subscription-layout';
|
|
9
|
+
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlOption, } from './segmented-control';
|
|
9
10
|
export { SubscriptionProvider, useSubscriptionContext, clearRevenueCatCheckoutSessions, closeRevenueCatInstance, type SubscriptionProviderProps, } from './subscription-provider';
|
|
10
|
-
export type { SubscriptionProduct, SubscriptionStatus, SubscriptionContextValue, SubscriptionProviderConfig, BadgeConfig, DiscountBadgeConfig, PremiumCalloutConfig, } from './types';
|
|
11
|
+
export type { SubscriptionProduct, SubscriptionStatus, SubscriptionContextValue, SubscriptionProviderConfig, BadgeConfig, CtaButtonConfig, DiscountBadgeConfig, PremiumCalloutConfig, } from './types';
|
|
11
12
|
export { cn } from './lib/cn';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC"}
|