@plusrouter/ui 0.1.8 → 0.1.10
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/{SideNavigation-qz3aib86.js → SideNavigation-uaK5wkfX.js} +1876 -1811
- package/dist/components.js +1115 -1179
- package/dist/index.js +82 -81
- package/dist/styles.css +1 -1
- package/dist/types/components/Components/Effects/BackgroundDotted.d.ts +5 -1
- package/dist/types/components/Components/MonthlySubscription/MonthlySubscription.d.ts +19 -0
- package/dist/types/components/Components/MonthlySubscription/index.d.ts +1 -0
- package/dist/types/components/Components/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/components/Components/Effects/BackgroundCursor.d.ts +0 -16
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
export interface BackgroundDottedProps {
|
|
2
|
+
/** Any CSS background value painted behind the marks. Omit to use the parent's surface. */
|
|
3
|
+
background?: string;
|
|
4
|
+
}
|
|
1
5
|
/** Dots reveal a localized ripple in response to pointer movement and clicks. */
|
|
2
|
-
export declare function BackgroundDotted(): import("react").JSX.Element;
|
|
6
|
+
export declare function BackgroundDotted({ background }: BackgroundDottedProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marketing panel for one monthly offer. All copy and the destination are
|
|
3
|
+
* supplied by the consumer so the component stays independent of i18n and
|
|
4
|
+
* backend plans. No price or availability is invented here.
|
|
5
|
+
*/
|
|
6
|
+
export type MonthlySubscriptionProps = {
|
|
7
|
+
eyebrow: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
price: string;
|
|
11
|
+
periodLabel: string;
|
|
12
|
+
ctaLabel: string;
|
|
13
|
+
planLabel?: string;
|
|
14
|
+
note?: string;
|
|
15
|
+
href?: string;
|
|
16
|
+
onSubscribe?: () => void;
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare function MonthlySubscription({ eyebrow, title, description, price, periodLabel, ctaLabel, planLabel, note, href, onSubscribe, className, }: MonthlySubscriptionProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MonthlySubscription, type MonthlySubscriptionProps, } from './MonthlySubscription.js';
|
|
@@ -14,7 +14,6 @@ export * from './SessionShape/index.js';
|
|
|
14
14
|
export * from './UsageList/index.js';
|
|
15
15
|
export * from './Effects/BackgroundPlus.js';
|
|
16
16
|
export * from './Effects/PlusField.js';
|
|
17
|
-
export * from './Effects/BackgroundCursor.js';
|
|
18
17
|
export * from './Effects/BackgroundLineField.js';
|
|
19
18
|
export * from './Effects/BackgroundDotted.js';
|
|
20
19
|
export * from './Effects/BackgroundSquare.js';
|
|
@@ -24,6 +23,7 @@ export * from './Effects/ThemeTransition.js';
|
|
|
24
23
|
export * from './Effects/blast.js';
|
|
25
24
|
export * from './AlertDialog/index.js';
|
|
26
25
|
export * from './Shop/index.js';
|
|
26
|
+
export * from './MonthlySubscription/index.js';
|
|
27
27
|
export * from './AuthCard/index.js';
|
|
28
28
|
export * from './Footer/index.js';
|
|
29
29
|
export * from './Header/index.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ import "./tokens/fonts.css";
|
|
|
3
3
|
export * from "./components/ui/index.js";
|
|
4
4
|
export * from "./components/TokensAndAssets/ThemeContext.js";
|
|
5
5
|
export { Shop, type ShopProps, ShopCard, type ShopCardProps, ShopAccountCard, type ShopAccountCardProps, type ShopAccount, type ShopCategoryOption, type ShopSortOption, type MarketModel, type ModelCategory, type ModelPricing, type ModelSortOption, } from "./components/Components/Shop/index.js";
|
|
6
|
+
export { MonthlySubscription, type MonthlySubscriptionProps, } from "./components/Components/MonthlySubscription/index.js";
|
|
6
7
|
export { SupportDialog, type SupportDialogProps, type SupportTicket, type SupportMessage, type SupportDraft, } from "./components/Components/Support/index.js";
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface BackgroundCursorProps {
|
|
2
|
-
/** Radius in pixels around the pointer where marks are visible. */
|
|
3
|
-
radius?: number;
|
|
4
|
-
/** Grid spacing in pixels between marks. */
|
|
5
|
-
spacing?: number;
|
|
6
|
-
/** Peak opacity of the marks at the pointer. */
|
|
7
|
-
opacity?: number;
|
|
8
|
-
/** Optional CSS color override; defaults to the theme token. */
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A field of plus marks that only reveals near the pointer. Theme colors come
|
|
13
|
-
* from `--rp-cursor-plus-color`; touch pointers and reduced motion get a static
|
|
14
|
-
* reveal without the trailing animation.
|
|
15
|
-
*/
|
|
16
|
-
export declare function BackgroundCursor({ radius, spacing, opacity, color, }: BackgroundCursorProps): import("react").JSX.Element;
|