@nice2dev/licensing 1.0.21 → 1.0.22

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.
Files changed (2) hide show
  1. package/dist/react.d.ts +10 -10
  2. package/package.json +1 -1
package/dist/react.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { CSSProperties } from 'react';
2
- import { JSX as JSX_2 } from 'react/jsx-runtime';
2
+ import { default as default_2 } from 'react';
3
3
  import { ReactNode } from 'react';
4
4
 
5
5
  /**
6
6
  * Feature Gate Component — conditionally render based on license
7
7
  */
8
- export declare function FeatureGate({ feature, children, fallback, showUpgradePrompt, renderUpgradePrompt, }: FeatureGateProps): JSX_2.Element | null;
8
+ export declare function FeatureGate({ feature, children, fallback, showUpgradePrompt, renderUpgradePrompt, }: FeatureGateProps): default_2.JSX.Element | null;
9
9
 
10
10
  export declare interface FeatureGateProps {
11
11
  /** Feature ID to check */
@@ -29,7 +29,7 @@ declare type HardwareFingerprint = string;
29
29
  /**
30
30
  * License Activator Form
31
31
  */
32
- export declare function LicenseActivator({ onActivated, onError, style, className, }: LicenseActivatorProps): JSX_2.Element;
32
+ export declare function LicenseActivator({ onActivated, onError, style, className, }: LicenseActivatorProps): default_2.JSX.Element;
33
33
 
34
34
  export declare interface LicenseActivatorProps {
35
35
  /** On successful activation */
@@ -45,7 +45,7 @@ export declare interface LicenseActivatorProps {
45
45
  /**
46
46
  * License Comparison Table
47
47
  */
48
- export declare function LicenseComparison({ plans: customPlans, currentTier, onSelect, showPrices, }: LicenseComparisonProps): JSX_2.Element;
48
+ export declare function LicenseComparison({ plans: customPlans, currentTier, onSelect, showPrices, }: LicenseComparisonProps): default_2.JSX.Element;
49
49
 
50
50
  export declare interface LicenseComparisonProps {
51
51
  /** Plans to show (default: all) */
@@ -133,7 +133,7 @@ declare interface LicensePlan {
133
133
  * License Portal — self-service dashboard for customers to manage
134
134
  * their license (activation, seat overview, feature list, plan comparison).
135
135
  */
136
- export declare function LicensePortal({ tabs, defaultTab, onUpgrade, onDeactivate, style, className, }: LicensePortalProps): JSX_2.Element;
136
+ export declare function LicensePortal({ tabs, defaultTab, onUpgrade, onDeactivate, style, className, }: LicensePortalProps): default_2.JSX.Element;
137
137
 
138
138
  export declare interface LicensePortalProps {
139
139
  /** Tabs to display (default: all) */
@@ -157,7 +157,7 @@ export declare type LicensePortalTab = 'overview' | 'activation' | 'seats' | 'fe
157
157
  * License Provider Component
158
158
  */
159
159
  export declare function LicenseProvider({ serverUrl, apiKey, initialKey, storageKey, autoValidate, validationInterval, // 1 hour
160
- onLicenseChange, children, }: LicenseProviderProps): JSX_2.Element;
160
+ onLicenseChange, children, }: LicenseProviderProps): default_2.JSX.Element;
161
161
 
162
162
  /**
163
163
  * License Provider Props
@@ -199,7 +199,7 @@ declare interface LicenseState {
199
199
  /**
200
200
  * License Status Widget
201
201
  */
202
- export declare function LicenseStatus({ detailed, style, className }: LicenseStatusProps): JSX_2.Element;
202
+ export declare function LicenseStatus({ detailed, style, className }: LicenseStatusProps): default_2.JSX.Element;
203
203
 
204
204
  /** License status */
205
205
  declare type LicenseStatus_2 = 'valid' | 'expired' | 'revoked' | 'invalid' | 'grace' | 'pending';
@@ -257,7 +257,7 @@ export declare interface ManagedLicense {
257
257
  * NiceLicenseManager — Admin panel for managing all issued licenses.
258
258
  * Shows a searchable table/list with inline actions (revoke, extend, change tier, manage seats).
259
259
  */
260
- export declare function NiceLicenseManager({ licenses, onRevoke, onExtend, onChangeTier, onAddSeats, onGenerate, onSearchChange, style, className, }: NiceLicenseManagerProps): JSX_2.Element;
260
+ export declare function NiceLicenseManager({ licenses, onRevoke, onExtend, onChangeTier, onAddSeats, onGenerate, onSearchChange, style, className, }: NiceLicenseManagerProps): default_2.JSX.Element;
261
261
 
262
262
  export declare interface NiceLicenseManagerProps {
263
263
  /** Licenses to display */
@@ -283,7 +283,7 @@ export declare interface NiceLicenseManagerProps {
283
283
  /**
284
284
  * Trial Watermark — shows for trial licenses
285
285
  */
286
- export declare function TrialWatermark({ position, text, }: TrialWatermarkProps): JSX_2.Element | null;
286
+ export declare function TrialWatermark({ position, text, }: TrialWatermarkProps): default_2.JSX.Element | null;
287
287
 
288
288
  export declare interface TrialWatermarkProps {
289
289
  /** Position */
@@ -295,7 +295,7 @@ export declare interface TrialWatermarkProps {
295
295
  /**
296
296
  * Upgrade Prompt Component
297
297
  */
298
- export declare function UpgradePrompt({ targetTier, feature: _feature, onUpgrade, style, compact, }: UpgradePromptProps): JSX_2.Element;
298
+ export declare function UpgradePrompt({ targetTier, feature: _feature, onUpgrade, style, compact, }: UpgradePromptProps): default_2.JSX.Element;
299
299
 
300
300
  export declare interface UpgradePromptProps {
301
301
  /** Target tier for upgrade */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/licensing",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Nice2Dev Enterprise Licensing System — license key generation, validation, hardware fingerprinting, seat management and feature gating",
5
5
  "author": "NiceToDev <contact@nicetodev.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",