@anker-in/ui 0.1.9 → 0.1.11
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/demo-room.d.mts +3 -57
- package/dist/demo-room.d.ts +3 -57
- package/dist/demo-room.js +123 -303
- package/dist/demo-room.js.map +1 -1
- package/dist/demo-room.mjs +124 -302
- package/dist/demo-room.mjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +559 -359
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +559 -359
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/demo-room.d.mts
CHANGED
|
@@ -1,62 +1,6 @@
|
|
|
1
1
|
export { D as DemoRoom, b as DemoRoomPageData, a as DemoRoomProps } from './DemoRoom-YZ2To7p9.mjs';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
interface EventCardButton {
|
|
5
|
-
label: string;
|
|
6
|
-
variant?: 'primary' | 'secondary';
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
interface EventCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
/**
|
|
11
|
-
* Event title
|
|
12
|
-
*/
|
|
13
|
-
title: string;
|
|
14
|
-
/**
|
|
15
|
-
* Event description
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Background image URL
|
|
20
|
-
*/
|
|
21
|
-
backgroundImage?: string;
|
|
22
|
-
aspectRatio?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Card variant - determines styling
|
|
25
|
-
*/
|
|
26
|
-
variant?: 'large' | 'medium' | 'product';
|
|
27
|
-
/**
|
|
28
|
-
* Buttons/actions for the card
|
|
29
|
-
*/
|
|
30
|
-
buttons?: EventCardButton[];
|
|
31
|
-
/**
|
|
32
|
-
* Additional subtitle (for product variant)
|
|
33
|
-
*/
|
|
34
|
-
subtitle?: string;
|
|
35
|
-
}
|
|
36
|
-
declare const EventCard: React.FC<EventCardProps>;
|
|
37
|
-
|
|
38
|
-
interface UpcomingEventsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
-
/**
|
|
40
|
-
* Section title
|
|
41
|
-
* @default "Upcoming Events"
|
|
42
|
-
*/
|
|
43
|
-
title?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Array of event cards to display
|
|
46
|
-
*/
|
|
47
|
-
events?: EventCardProps[];
|
|
48
|
-
/**
|
|
49
|
-
* Show "View More" button
|
|
50
|
-
* @default true
|
|
51
|
-
*/
|
|
52
|
-
showViewMore?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Callback when "View More" is clicked
|
|
55
|
-
*/
|
|
56
|
-
onViewMore?: () => void;
|
|
57
|
-
}
|
|
58
|
-
declare const UpcomingEvents: React.FC<UpcomingEventsProps>;
|
|
59
|
-
|
|
60
4
|
interface StudioLocation {
|
|
61
5
|
id: string;
|
|
62
6
|
name: string;
|
|
@@ -111,6 +55,7 @@ interface StudioMapProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
111
55
|
loadingMap?: string;
|
|
112
56
|
scheduleNow?: string;
|
|
113
57
|
available?: string;
|
|
58
|
+
noAvailableTime?: string;
|
|
114
59
|
};
|
|
115
60
|
}
|
|
116
61
|
declare const StudioMap: React.FC<StudioMapProps>;
|
|
@@ -155,8 +100,9 @@ interface StudioCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
155
100
|
scheduleNow?: string;
|
|
156
101
|
available?: string;
|
|
157
102
|
away?: string;
|
|
103
|
+
noAvailableTime?: string;
|
|
158
104
|
};
|
|
159
105
|
}
|
|
160
106
|
declare const StudioCard: React.FC<StudioCardProps>;
|
|
161
107
|
|
|
162
|
-
export {
|
|
108
|
+
export { StudioCard, type StudioCardProps, type StudioLocation, StudioMap, type StudioMapProps };
|
package/dist/demo-room.d.ts
CHANGED
|
@@ -1,62 +1,6 @@
|
|
|
1
1
|
export { D as DemoRoom, b as DemoRoomPageData, a as DemoRoomProps } from './DemoRoom-YZ2To7p9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
interface EventCardButton {
|
|
5
|
-
label: string;
|
|
6
|
-
variant?: 'primary' | 'secondary';
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
interface EventCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
/**
|
|
11
|
-
* Event title
|
|
12
|
-
*/
|
|
13
|
-
title: string;
|
|
14
|
-
/**
|
|
15
|
-
* Event description
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Background image URL
|
|
20
|
-
*/
|
|
21
|
-
backgroundImage?: string;
|
|
22
|
-
aspectRatio?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Card variant - determines styling
|
|
25
|
-
*/
|
|
26
|
-
variant?: 'large' | 'medium' | 'product';
|
|
27
|
-
/**
|
|
28
|
-
* Buttons/actions for the card
|
|
29
|
-
*/
|
|
30
|
-
buttons?: EventCardButton[];
|
|
31
|
-
/**
|
|
32
|
-
* Additional subtitle (for product variant)
|
|
33
|
-
*/
|
|
34
|
-
subtitle?: string;
|
|
35
|
-
}
|
|
36
|
-
declare const EventCard: React.FC<EventCardProps>;
|
|
37
|
-
|
|
38
|
-
interface UpcomingEventsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
-
/**
|
|
40
|
-
* Section title
|
|
41
|
-
* @default "Upcoming Events"
|
|
42
|
-
*/
|
|
43
|
-
title?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Array of event cards to display
|
|
46
|
-
*/
|
|
47
|
-
events?: EventCardProps[];
|
|
48
|
-
/**
|
|
49
|
-
* Show "View More" button
|
|
50
|
-
* @default true
|
|
51
|
-
*/
|
|
52
|
-
showViewMore?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Callback when "View More" is clicked
|
|
55
|
-
*/
|
|
56
|
-
onViewMore?: () => void;
|
|
57
|
-
}
|
|
58
|
-
declare const UpcomingEvents: React.FC<UpcomingEventsProps>;
|
|
59
|
-
|
|
60
4
|
interface StudioLocation {
|
|
61
5
|
id: string;
|
|
62
6
|
name: string;
|
|
@@ -111,6 +55,7 @@ interface StudioMapProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
111
55
|
loadingMap?: string;
|
|
112
56
|
scheduleNow?: string;
|
|
113
57
|
available?: string;
|
|
58
|
+
noAvailableTime?: string;
|
|
114
59
|
};
|
|
115
60
|
}
|
|
116
61
|
declare const StudioMap: React.FC<StudioMapProps>;
|
|
@@ -155,8 +100,9 @@ interface StudioCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
155
100
|
scheduleNow?: string;
|
|
156
101
|
available?: string;
|
|
157
102
|
away?: string;
|
|
103
|
+
noAvailableTime?: string;
|
|
158
104
|
};
|
|
159
105
|
}
|
|
160
106
|
declare const StudioCard: React.FC<StudioCardProps>;
|
|
161
107
|
|
|
162
|
-
export {
|
|
108
|
+
export { StudioCard, type StudioCardProps, type StudioLocation, StudioMap, type StudioMapProps };
|