@sudobility/subscription-components 1.0.0 → 1.0.3
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 +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +401 -332
- 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 +2 -0
- package/dist/subscription-layout.d.ts.map +1 -1
- package/dist/subscription-provider.d.ts.map +1 -1
- package/dist/subscription-tile.d.ts.map +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* Subscription UI components for React with RevenueCat integration.
|
|
5
5
|
* All components support full localization - text labels are passed by the consumer.
|
|
6
6
|
*/
|
|
7
|
-
export { SubscriptionTile, type SubscriptionTileProps } from './subscription-tile';
|
|
7
|
+
export { SubscriptionTile, type SubscriptionTileProps, } from './subscription-tile';
|
|
8
8
|
export { SubscriptionLayout, type SubscriptionLayoutProps, 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
11
|
export type { SubscriptionProduct, SubscriptionStatus, SubscriptionContextValue, SubscriptionProviderConfig, BadgeConfig, DiscountBadgeConfig, PremiumCalloutConfig, } from './types';
|
|
11
12
|
export { cn } from './lib/cn';
|
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,
|
|
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,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,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC"}
|