analytica-frontend-lib 1.1.60 → 1.1.62
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/Accordation/index.js +230 -211
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +199 -180
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.js +220 -201
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +193 -174
- package/dist/Card/index.mjs.map +1 -1
- package/dist/DropdownMenu/index.js.map +1 -1
- package/dist/DropdownMenu/index.mjs.map +1 -1
- package/dist/IconRender/index.d.mts +2 -2
- package/dist/IconRender/index.d.ts +2 -2
- package/dist/IconRender/index.js +37 -18
- package/dist/IconRender/index.js.map +1 -1
- package/dist/IconRender/index.mjs +37 -18
- package/dist/IconRender/index.mjs.map +1 -1
- package/dist/NotificationCard/index.d.mts +1 -1
- package/dist/NotificationCard/index.d.ts +1 -1
- package/dist/NotificationCard/index.js +76 -62
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs +76 -62
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/{NotificationCard-DpSGkWEa.d.mts → NotificationCard-4GgB0Nsf.d.mts} +5 -0
- package/dist/{NotificationCard-DpSGkWEa.d.ts → NotificationCard-4GgB0Nsf.d.ts} +5 -0
- package/dist/Quiz/index.js +495 -476
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +412 -393
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Search/index.js.map +1 -1
- package/dist/Search/index.mjs.map +1 -1
- package/dist/SubjectInfo/index.d.mts +1 -1
- package/dist/SubjectInfo/index.d.ts +1 -1
- package/dist/SubjectInfo/index.js +24 -20
- package/dist/SubjectInfo/index.js.map +1 -1
- package/dist/SubjectInfo/index.mjs +24 -19
- package/dist/SubjectInfo/index.mjs.map +1 -1
- package/dist/{SubjectInfo-DZvZ5alE.d.mts → SubjectInfo-Dvt0OodP.d.mts} +2 -2
- package/dist/{SubjectInfo-DZvZ5alE.d.ts → SubjectInfo-Dvt0OodP.d.ts} +2 -2
- package/dist/ThemeToggle/index.js.map +1 -1
- package/dist/ThemeToggle/index.mjs.map +1 -1
- package/dist/index.css +15 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +562 -633
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +477 -547
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +15 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
|
@@ -367,6 +367,10 @@ interface NotificationCenterMode extends BaseNotificationProps {
|
|
|
367
367
|
* Function to get action label for a notification
|
|
368
368
|
*/
|
|
369
369
|
getActionLabel?: (entityType?: NotificationEntityType) => string | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Callback when dropdown open state changes (for synchronization with parent)
|
|
372
|
+
*/
|
|
373
|
+
onOpenChange?: (open: boolean) => void;
|
|
370
374
|
}
|
|
371
375
|
type NotificationCardProps = SingleNotificationCardMode | NotificationListMode | NotificationCenterMode;
|
|
372
376
|
interface LegacyNotificationCardProps extends BaseNotificationProps {
|
|
@@ -395,6 +399,7 @@ interface LegacyNotificationCardProps extends BaseNotificationProps {
|
|
|
395
399
|
unreadCount?: number;
|
|
396
400
|
onMarkAllAsRead?: () => void;
|
|
397
401
|
onFetchNotifications?: () => void;
|
|
402
|
+
onOpenChange?: (open: boolean) => void;
|
|
398
403
|
}
|
|
399
404
|
/**
|
|
400
405
|
* NotificationCard component - can display single notification, list of notifications, or center mode
|
|
@@ -367,6 +367,10 @@ interface NotificationCenterMode extends BaseNotificationProps {
|
|
|
367
367
|
* Function to get action label for a notification
|
|
368
368
|
*/
|
|
369
369
|
getActionLabel?: (entityType?: NotificationEntityType) => string | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Callback when dropdown open state changes (for synchronization with parent)
|
|
372
|
+
*/
|
|
373
|
+
onOpenChange?: (open: boolean) => void;
|
|
370
374
|
}
|
|
371
375
|
type NotificationCardProps = SingleNotificationCardMode | NotificationListMode | NotificationCenterMode;
|
|
372
376
|
interface LegacyNotificationCardProps extends BaseNotificationProps {
|
|
@@ -395,6 +399,7 @@ interface LegacyNotificationCardProps extends BaseNotificationProps {
|
|
|
395
399
|
unreadCount?: number;
|
|
396
400
|
onMarkAllAsRead?: () => void;
|
|
397
401
|
onFetchNotifications?: () => void;
|
|
402
|
+
onOpenChange?: (open: boolean) => void;
|
|
398
403
|
}
|
|
399
404
|
/**
|
|
400
405
|
* NotificationCard component - can display single notification, list of notifications, or center mode
|